Skip to content

wasm-split fuzz bug #8510

Description

@tlively

bin/wasm-split -all test.wast --split --split-funcs=1 --export-prefix=__fuzz_split_ -o1 /dev/null -o2 /dev/null

(module
 (type $0 (func))
 (rec
  (type $1 (sub (func (param (ref null $3) (ref eq) i32 f64 v128) (result (ref extern)))))
  (type $2 (array (ref null $1)))
  (type $3 (sub (struct (field (mut i16)) (field (mut f64)))))
  (type $4 (func (result f32)))
  (type $5 (sub (func (result i32))))
  (type $6 (sub $1 (func (param structref eqref i32 f64 v128) (result (ref extern)))))
 )
 (rec
  (type $7 (sub (func (result i64))))
  (type $8 (sub (array f64)))
  (type $9 (sub final $3 (struct (field (mut i16)) (field (mut f64)) (field (mut i64)))))
  (type $10 (sub final $5 (func (result i32))))
  (type $11 (array (mut v128)))
 )
 (global $global$0 (mut (ref $7)) (ref.func $1))
 (export "global$_4" (global $global$0))
 (@binaryen.js.called)
 (func $0
 )
 (func $1 (type $7) (result i64)
  (unreachable)
 )
)

@aheejin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions