Releases: hookforge/zighook
Releases · hookforge/zighook
zighook v0.3.0
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..xmm15views plusmxcsr. - 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-zigZig package and removed the vendored third-party C payload fromzighookhistory.
zighook v0.2.0
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
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