工具
WasmLens:探索性 WebAssembly 检查
WasmLens:探索性 WebAssembly 检查是工具,来源复核于 2026-10-20。
提供 WebAssembly 区段与函数签名检查、WAT 风格指令列表和有限 C 风格伪代码重建的 Python CLI。所收录的是面向受支持模块的探索性静态分析路径。
- 目标
- 二进制
- 类别
- WebAssembly 工具
- 关联
- 基础工具
- 来源复核于
- 证据档位
- L2 无法用作环境的复现
- 星标
- 1
- 最近提交
- 2026-10-14
- 主要语言
- Python
- 许可(GitHub 识别)
- MIT
GitHub 数据,截至 2026-12-05
证据
- 观察到
- 有代码、文档和演示;未发现下载方式。
- 检查于
- 2026-11-07
使用条件与局限
- 所审阅的包声明版本 0.1.0、Python >=3.10,依赖 Typer、Rich、FastAPI、Uvicorn、Pydantic、NetworkX 与 python-multipart;pytest/httpx 属于开发依赖。源码包含 MIT LICENSE。依赖声明了版本下限。
- info、disasm 和 decompile 命令通过同一解析器读取用户提供的 .wasm 文件。解析器没有 0xFD SIMD 解码分支,可能将不支持的操作码标记为 unknown。
- WAT 风格模块列表不是无损重汇编格式:数据段仅保留最多 32 字节的预览,活动数据段的偏移使用占位符。C 风格重建器对未处理指令没有通用后备处理,仅取首个返回类型,并以注释表达分支标签。
- 分派代码缺少浮点算术、间接调用等操作的处理器,遇到未处理指令时可能推进程序计数器而不实现其效果。
- 只应提供有权分析的模块。
引用
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/zh/resources/wasmlens/}}
}纯文本
WasmLens: exploratory WebAssembly inspection。https://github.com/alexandrmotologa/wasmlens(访问于 2026-10-20)。Awesome REA 条目:https://awesomerea.org/zh/resources/wasmlens/
有帮助?在 GitHub 上为 Awesome REA 加星4.0k
关于此条目
说明已依据一手来源复核。
一手来源
- README.md GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- pyproject.toml GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- LICENSE GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/cli/main.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/parser/module.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/parser/section_parser.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/parser/opcodes.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/disassembler/wat_formatter.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/decompiler/reconstructor.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/decompiler/ast.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- src/wasmlens/emulator/vm.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- tests/test_decompiler.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc
- tests/test_parser.py GitHub · alexandrmotologa/wasmlens · 修订 2351ccc