Closed w296488320 closed 6 months ago
fp hook means replace function pointer, system-call table is a function pointer table hook wrap is inline hook, and fp-hook and hook-wrap both support hook function multiple times, just like xposed, so that multiple modules can hook one function at the same times
Thanks again for your reply. If I can improve the document, I believe more people will learn and use apatch 。
Can you provide an annotated, detailed syscall hook demo? In syscall-hook.md is a blank file, and can I use hook_wrap3 to do hook syscall? The code is similar to that of the one as follows.
What I don't quite understand is some difference between fp hook syscalln and hook_wrap3, better if you could write the difference in the method header file or some more notes in the demo.