[DD]nForce
2nd April 2006, 21:52
The Linux platform has not seen much activity in the game hacking community, I hope to see this change over time. I have decided to make this small contribution to start people on their way.
Project: Linux Hooking Engine
This is a binary release of the shared library Linux Hooking Engine.
Description:
This is a shared object library which implementors can link to in order to perform detour hooking in linux applications.
Exports:
bool CreateHook ( IHook ** hHook, void * pTarget, void * pDestination );
bool FreeHook ( IHook ** hHook );
std::string GetVersion ();
Features:
Detour hooking is done by overwriting the beginning of the target function with a relative jump to your desired target location. Furthermore a dynamic trampoline is created with the instructions the jump overwrote and a relative jump back to the original function.
Library Dependencies:
- libopcodes
- libbfd
An example implementing the Linux Hooking Engine is provided. If you have any further questions on its use please ask them in this thread.
Project: Linux Hooking Engine
This is a binary release of the shared library Linux Hooking Engine.
Description:
This is a shared object library which implementors can link to in order to perform detour hooking in linux applications.
Exports:
bool CreateHook ( IHook ** hHook, void * pTarget, void * pDestination );
bool FreeHook ( IHook ** hHook );
std::string GetVersion ();
Features:
Detour hooking is done by overwriting the beginning of the target function with a relative jump to your desired target location. Furthermore a dynamic trampoline is created with the instructions the jump overwrote and a relative jump back to the original function.
Library Dependencies:
- libopcodes
- libbfd
An example implementing the Linux Hooking Engine is provided. If you have any further questions on its use please ask them in this thread.