Files
rea/tests/fixtures/wasm
b777e5d4d8 fix(wasm): preserve debug module names in WABT output (#1967)
* fix(wasm): preserve debug module names in WABT output

* fix(native): accept otool dylib-use options

Preserve modern dylib options while requiring one encoding metadata row and retaining duplicate and multiline-output checks. Share field parsing between preservation and validation.

Verify delayed dylibs through real macOS CLI/MCP workflows and refresh the high-address golden with the provider's -h -l capture. Validated 85 focused native tests, npm run check, and verify:macos-bundle on macOS arm64.

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-10-12 05:44:15 +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 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 and embedded section markers in custom names; objdump displays those names without escaping.