Skip to content

It's very smali to Substrate. But I give you three methods to do HOOK.

Notifications You must be signed in to change notification settings

zihao2015/ELF-ARM-HOOK-Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

ELF-ARM-HOOK-Library

It's very smali to Substrate. But I give you three methods to do HOOK.

In the utils directory, it includes a TKHooklib.h header file and libTKHooklib.so library.

TK_HookImportFunction: This function is used to hook Import symbol.

TK_HookExportFunction: This function is used to hook Export symbol. It's based on the process of Android linker. So it just supports Android platform.

TK_InlineHookFunction: This function is used to Inline hook any function.

If you find any bugs, please send an email to me([email protected]). You'd better give the assembly and opcode of the function which you wanna hook. I'll appreciate it.

About

It's very smali to Substrate. But I give you three methods to do HOOK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%