Skip to content

fuzz_opt fail due to parsing / validating issue in wasm2c #4723

@MaxGraey

Description

@MaxGraey
wasm2c b.wasm -o wasm.c
000000d: error: unexpected type form (got 0x4f)
!
-----------------------------------------
Exception:
  File "./scripts/fuzz_opt.py", line 1322, in <module>
  File "./scripts/fuzz_opt.py", line 1118, in test_one
  File "./scripts/fuzz_opt.py", line 775, in handle_pair
  File "./scripts/fuzz_opt.py", line 784, in run_vms
  File "./scripts/fuzz_opt.py", line 705, in run
  File "./scripts/fuzz_opt.py", line 80, in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
-----------------------------------------
!
1
['wasm2c', 'b.wasm', '-o', 'wasm.c']

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