Skip to content

Releases: hookforge/zighook

zighook v0.3.0

19 Mar 18:45

Choose a tag to compare

Released: 2026-03-20

Highlights:

  • Added the initial public x86_64 hook backend for macOS and Linux, including entry hooks, trap-based instruction hooks, and execute-original replay through out-of-line trampolines.
  • Added Zydis-backed x86_64 instruction decoding and relocation metadata handling for replayable direct calls, indirect calls, direct jumps, indirect jumps, conditional branches, and RIP-relative memory operands.
  • Added x86_64 callback-visible FP register access, including indexed and named xmm0..xmm15 views plus mxcsr.
  • Added Linux x86_64 runtime smoke coverage in CI and expanded integration coverage for execute-original replay, including direct-call and stack-pointer indirect-call paths.
  • Moved the Zydis bridge into the standalone hookforge/zydis-zig Zig package and removed the vendored third-party C payload from zighook history.

zighook v0.2.0

19 Mar 00:44

Choose a tag to compare

Highlights:

  • Added strict AArch64 execute-original replay for common PC-relative instructions, including adr/adrp, literal ldr*, b/bl, b.cond, cbz/cbnz, and tbz/tbnz.
  • Added public FP/SIMD callback state access with both indexed and named v0..v31 views plus fpsr/fpcr.
  • Refactored AArch64 replay decoding around packed bitfield layouts and @bitcast so opcode parsers map directly to in-memory instruction layout.
  • Split AArch64 context backends into dedicated Darwin and Linux-family modules for macOS, iOS, Linux, and Android backend targets.
  • Restructured examples into standalone mini-projects with per-example documentation and exact expected outputs.
  • Added Linux AArch64 runtime smoke coverage in CI alongside macOS runtime smoke coverage.

Verification:

  • CI passed on the release commit for both zig-macos-aarch64 and zig-linux-aarch64.

Full Changelog: v0.1.0...v0.2.0

zighook v0.1.0

18 Mar 18:30

Choose a tag to compare

Initial public release.

Included in this release:

  • macOS Apple Silicon backend
  • patchcode / patch_bytes / instrument / instrument_no_original
  • inline_hook / inline_hook_jump / unhook / original_opcode
  • prepatched APIs
  • executable examples and DYLD preload smoke payloads
  • GitHub Actions CI for the current supported target