.wasm QA Fixtures
DevTools, Captures & Bundles
CC0 Public Domain · CI/CD Safe
Sample .wasm (WASM) Test Files & Edge Cases
Deterministic WebAssembly Binary Module fixtures engineered for automated unit tests, parser fuzzing, and upload validation pipelines. Pull directly in GitHub Actions with immutable SHA-256 verification.
minimalexpect: valid
minimal-add.wasm
41-byte valid WASM v1 binary exporting `add(i32, i32) -> i32`, directly instantiable via `WebAssembly.instantiate()`.
SHA-256: f61fd62f57c41269c3c23f360eeaf1090b1db9c38651106674d48bc65dba88ba
Exact: 41 bytes
curl -fsSL https://fileformat.co/fixtures/v1/wasm/minimal-add.wasm -o minimal-add.wasm \
&& echo "f61fd62f57c41269c3c23f360eeaf1090b1db9c38651106674d48bc65dba88ba minimal-add.wasm" | shasum -a 256 -crealisticexpect: valid
env-import-memory.wasm
Contains Type, Import, Function, Memory, Export, and Code sections for symbol scanner tests.
SHA-256: f6462abef751b355d056c266a6e5d376afb018bd445477af9d9df333fa0f4f47
Exact: 80 bytes
curl -fsSL https://fileformat.co/fixtures/v1/wasm/env-import-memory.wasm -o env-import-memory.wasm \
&& echo "f6462abef751b355d056c266a6e5d376afb018bd445477af9d9df333fa0f4f47 env-import-memory.wasm" | shasum -a 256 -cedge-caseTruncated Code Sectionexpect: parser_error
truncated-code-section.wasm
WASM binary whose Code section LEB128 byte length exceeds remaining file bytes.
SHA-256: a43778279d60ece37b28759e01fc505e73e18e6274db914e148bd8bfdd8b295d
Exact: 75 bytes
curl -fsSL https://fileformat.co/fixtures/v1/wasm/truncated-code-section.wasm -o truncated-code-section.wasm \
&& echo "a43778279d60ece37b28759e01fc505e73e18e6274db914e148bd8bfdd8b295d truncated-code-section.wasm" | shasum -a 256 -cSafe-by-Design Client-Side Synthesizer
Zero Upload · Generated in RAMIn-Browser Edge-Case & Malformed Fixture Mutator
Need negative test fixtures for parser fuzzing or upload gateway validation? Mutate minimal-add.wasm directly in your browser without hosting unsafe payloads on public URLs.
Default Fixture: minimal-add.wasm
Tests graceful EOF / footer corruption handling without process panic or OOM.