Skip to content

v0.1.6

Choose a tag to compare

@Anthony-Bondu Anthony-Bondu released this 07 Jul 14:01
df5c3e6

Adds TUI cross-reference navigation and a round of decompiler output-quality fixes on top of v0.01.5. First release using standard SemVer tags.

What's new

  • TUI xref navigation: press g on any function to open a picker of its callees and callers, then Enter to jump to the target (Go to Definition / Find All References for the TUI). Thanks to @aancw (#10).
  • Loop reconstruction: array for loops (such as Babel's _defineProperties) that previously decompiled to invalid JavaScript (an orphan break, an undefined counter, a misplaced merge block) are now recovered as valid for (let i = 0; i < n; i++) loops. Bottom-tested while (true) loops are recovered as do/while.
  • Function-name recovery: variables assigned a named function value now keep that name (for example _typeof, _getPrototypeOf, _interopRequireDefault) instead of the generic fn. Names come from the bytecode function headers, so they are exact.

Everything from v0.01.5 is included: HBC >=97 support, Metro/ESM module reconstruction, the on-disk analysis cache, the CLI/MCP analyst tooling, TUI content search, and text selection/copy.

Downloads

Each archive contains the hermes-decomp and hermes-mcp binaries. Verify with shasum -a 256 -c SHA256SUMS.

File SHA256
hermes-decomp-v0.1.6-linux-x86_64.tar.gz 4bf05af194bc067890ce718663b67c5d59fa1e61183142c4686edfb8b3bc03de
hermes-decomp-v0.1.6-macos-arm64.tar.gz 6c3f9c3b33ab180926681393a581a102680704961d385bb05f74d5620b0fe4a0
hermes-decomp-v0.1.6-windows-x86_64.zip 559252a7821cc50e536b152a8923bdbdbf2867c93b051ca12f9c6f045caa086f