A pure-MoonBit workbench that composes five ecosystem tools (moonbin, moonpe, moonseek, moonplist, moonbit-wasm-inspect) into one reverse-engineering workflow: scan a corpus of binaries, cross-reference imported APIs against call sites, profile app bundles, and inspect WebAssembly modules — from one CLI or one browser tab.
# 1. inventory a corpus: format, size, sha256, section/import counts
moon run cmd/main -- scan examples --out manifest.json
# 2. which imported API is called from where (PE)
moon run cmd/main -- xref examples/notepad.exe --out xref.json
# 3. search the extracted text of every file at once
moon run cmd/main -- search examples HeapAlloc| Check | Result |
|---|---|
| scan on notepad.exe | 7 sections, 315 imports — matches objdump |
| xref on notepad.exe | 340 IAT slots (import + delay-import), 1606 call sites, 295 distinct APIs |
| attribution false positives | 0 — every attributed address exists in the import table |
| wasm workbench | 15/15 node assertions on the real web.wasm, numbers identical to the CLI |
| tests | 26 unit tests, --deny-warn clean |
| Package | Version | Role | License |
|---|---|---|---|
| NaIWaniubi/moonbin | 0.6.0 | container parsing, x86-64 disassembly, CFG, call graph | Apache-2.0 |
| Rz-coder8848/moonpe | 0.8.1 | PE supplementary views (resources, .NET, certificates) | Apache-2.0 |
| NaIWaniubi/moonseek | 0.17.5 | full-text index and ranking | Apache-2.0 |
| Han-Wentao/moonplist | 0.1.1 | Apple property lists (bundle profiling) | Apache-2.0 |
| clbbbb/moonbit-wasm-inspect | 0.1.0 | WebAssembly module inspection | Apache-2.0 |
Install
Download zipA pure-MoonBit workbench that composes five ecosystem tools (moonbin, moonpe, moonseek, moonplist, moonbit-wasm-inspect) into one reverse-engineering workflow: scan a corpus of binaries, cross-reference imported APIs against call sites, profile app bundles, and inspect WebAssembly modules — from one CLI or one browser tab.