Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

CPunch/QuickHook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickHook

small x86 detour library for Windows applications

Example

int hooked_gettop(int lua_S)
{
	hook_gettop.removeHook(); // remove hook
	int i = lua_gettop_d(lua_S); // call original sub
	hook_gettop.installHook(); // install detour
	return i;
}

C_Hook hook_gettop;
hook_gettop.setSubs((void *)lua_gettop_d, (void *)hooked_gettop);
hook_gettop.installHook();

About

small x86 detour library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages