Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

liufeigit/hook

Open more actions menu

Repository files navigation

hook

macOS and iOS hook

hook的原理就是基于Mach_O文件格式修改stub的相应的跳转表

api

int fastHook(char *name,void *fn); 参数说明 name:要hook函数名称字符串;fn:新的替换方法

example

hook math库中的abs方法 编译运行 clang -g fastHook/fastHook.c example/test2.c test2

About

macOS and iOS hook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.