wasm-trace:仪器wasm文件并使用Binaryen.js和Wasmer.js跟踪执行

时间:2021-05-05 12:17:08
【文件属性】:
文件名称:wasm-trace:仪器wasm文件并使用Binaryen.js和Wasmer.js跟踪执行
文件大小:91KB
文件格式:ZIP
更新时间:2021-05-05 12:17:08
debugging webassembly trace tracer wasi wasm-trace 使用Binaryen.js仪器wasm文件,运行它们并跟踪执行 应用领域 Wasm / WASI调试 Wasm引擎和运行时调试 质量保证与维护 安全研究 逆向工程 安装 npm install -g wasm-trace 例子 $ wasm-trace -ELM ./test/hello.wasm [tracer] Instrumenting and optimizing... [tracer] Running WASI... Hello WebAssembly ! [tracer] Processing... 可以在trace.log找到该跟踪: 2 | | enter _start { 0 | i32 | set 0 70784 43 | | enter __wasilibc_init_preopen
【文件预览】:
wasm-trace-main
----package.json(476B)
----test()
--------hello.c(159B)
--------hello.instrumented.wasm(77KB)
--------fib32.wasm(62B)
--------hello.instrumented.csv(109KB)
--------fib32.wat(378B)
--------hello.wasm(34KB)
--------hello.instrumented.log(205KB)
----LICENSE(1KB)
----wasm-trace.js(13KB)
----.gitignore(53B)
----README.md(4KB)

网友评论