A tiny inline hook framework for Windows, support x86, x64 and ARM64 now.
Thanks to oblique, the insn_len.h is copied from https://github.com/oblique/insn_len with some modification.
This framework was created for learning and testing purposes, and to keep simple, so it does not provide some common features, one need to implement by self.
If you need fully functional hook framework, please choose a complete implementation like Detours.
tinyhook 是一个微型的 inline hook 框架,适用于 Windows 操作系统,目前支持 x86、x64 和 ARM64 处理器架构。
感谢 oblique,insn_len.h 是从 https://github.com/oblique/insn_len 复制过来的,并进行了一些修改。
该框架是出于学习和测试的目的创建的,同时为了确保简单,因此不提供一些常见功能,如果需要请自行实现。
如果你需要完整功能的 hook 框架,请使用 Detours 等完善的实现。