N-CodeHook is a small template based C++ library which allows you to hook into functions via inline patching. For some background info see the blog post or read the paper from the detours website on how inline patching works. Detours uses the same mechanism as N-CodeHook, but requires you to buy a license for the X64 version. Besides the IA32 version must not be used for commercial purposes. N-CodeHook however is completely free and you can use it for whatever you like.
About N-CodeHook
N-CodeHook is a small template based C++ library which allows you to hook into functions via inline patching.
For some background info see the blog post or read the paper from the detours website on how inline patching works. Detours uses the same mechanism as N-CodeHook, but requires you to buy a license for the X64 version. Besides the IA32 version must not be used for commercial purposes.
N-CodeHook however is completely free and you can use it for whatever you like.
The distorm disassembly library is used to disassemble the first bytes of the function to be hooked.
Changelog
07/07/2008 - v1.0.1
Minor bugfixes in hook cleanup code
Minor bugfixes in code for creating hooks
06/27/2008 - v1.0
First release
IA32 and X64 architectures are currently supported