Files
rea/tests/fixtures/wasm
morluto 6c6e2ad62b fix(wasm): preserve core inspection with optional metadata warnings
Retain warnings from validator, objdump and decoder through one diagnostic owner. Keep uninterpretable name bytes and explicit name-metadata coverage in complete results and summaries.

Fixes #6812
2026-10-24 00:30:34 +08:00
..

WABT producer fixtures

module.wat is source-owned. WABT 1.0.42 wat2wasm module.wat -o module.wasm produced the binary used for wasm-objdump -h -x module.wasm (objdump.txt) and wasm2wat --enable-all --ignore-custom-section-errors module.wasm (decoded.wat). No binary is checked in. The module has an imported function, exported memory/function and a test custom section. The custom payload is retained as an @custom annotation in decoded WAT.

Upstream tag commit: ff0ef7e0009402740c805a9744c09b05be063e48. The separate real-tool verifier generates its own fixtures with caller-supplied WABT and compares exact producer output against the public CLI/MCP surfaces. custom-names.wat covers newlines, quotes, Unicode, backslashes, embedded section markers and NUL in custom names; objdump displays those names without escaping and ends each at its first NUL. It also covers leading U+FEFF, including a name distinct from the special name section, and distinguishes a U+FEFF-only name from an empty name.