Tool
WasmLens: exploratory WebAssembly inspection
Python CLI with static paths for inspecting WebAssembly sections and function signatures, producing WAT-style instruction listings, and reconstructing limited C-like pseudocode. These are exploratory analysis aids for supported modules.
- Targets
- Binary
- Category
- WebAssembly tools
- Relationship
- Foundation tool
- Sources reviewed
- Evidence level
- L2 reproduction without a usable environment
- Stars
- 1
- Last commit
- 2026-10-14
- Language
- Python
- License (GitHub)
- MIT
GitHub data as of 2026-12-05
Evidence
- Observed
- Code, documentation and a demo observed; no download method found.
- Checked
- 2026-11-07
Requirements & limits
- The reviewed package declares version 0.1.0 and Python >=3.10, with Typer, Rich, FastAPI, Uvicorn, Pydantic, NetworkX and python-multipart dependencies; pytest/httpx are development extras. The source includes an MIT LICENSE. Dependency lower bounds are declared.
- The info, disasm and decompile commands read a supplied .wasm file through the same parser. That parser has no 0xFD SIMD decoding branch and may label unsupported opcodes as unknown.
- The WAT-style module listing is a lossy representation unsuitable for reassembly: data segments are reduced to previews of up to 32 bytes and active offsets use a placeholder. The C-like reconstructor has no general fallback for unhandled instructions, uses only the first result type, and expresses branch labels in comments.
- Its dispatch lacks handlers for operations including floating-point arithmetic and indirect calls, and an unhandled instruction can advance the program counter without implementing its effect.
- Supply only modules you are permitted to analyze.
Cite
BibTeX
@misc{wasmlens,
title = {{WasmLens: exploratory WebAssembly inspection}},
howpublished = {\url{https://github.com/alexandrmotologa/wasmlens}},
url = {https://github.com/alexandrmotologa/wasmlens},
urldate = {2026-10-20},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/wasmlens/}}
}Plain text
WasmLens: exploratory WebAssembly inspection. https://github.com/alexandrmotologa/wasmlens (accessed 2026-10-20). Awesome REA entry: https://awesomerea.org/resources/wasmlens/
Useful? Star Awesome REA on GitHub4.0k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- pyproject.toml GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- LICENSE GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/cli/main.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/parser/module.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/parser/section_parser.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/parser/opcodes.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/disassembler/wat_formatter.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/decompiler/reconstructor.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/decompiler/ast.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- src/wasmlens/emulator/vm.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- tests/test_decompiler.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
- tests/test_parser.py GitHub · alexandrmotologa/wasmlens · Revision 2351ccc
More in Websites
- synchrony · Tool
- sourcemapper · Tool
- ngrev · Tool
- jsluice · Tool
- REstringer · Tool
- Chrome extension source viewer (CRX Viewer) · Tool