Awesome Open Source
Awesome Open Source

fbhookfork

从 fb 的 profilo 项目里提取出来的plt hook 库,自己用

支持armeabi-v7a,arm64-v8a,x86

Use

#include "linker.h"

ssize_t write_hook(int fd, const void *buf, size_t count) {
    return CALL_PREV(write_hook, fd, buf, count);
}

hook_plt_method("libc.so", "write", (hook_func) &write_hook);


Thanks

Profilo Facebook 的性能分析工具,里面黑科技很多,可以学到很多东西


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c (14,520
android (6,097
hook (120
elf (47

Find Open Source By Browsing 7,000 Topics Across 59 Categories