给Detours(Microsoft.Detours、KNSoft.SlimDetours)封装一层类似Frida-Gum的OnEnter_OnLeave功能。
用法:
将Hgl_InlineHook_MD.c、Hgl_InlineHook_MD.h源码文件放到Microsoft.Detours源码目录下即可!
将Hgl_InlineHook_KD.c、Hgl_InlineHook_KD.h源码文件放到KNSoft.SlimDetours源码目录下即可!
回复或点赞可查看完整内容
---
来源: 看雪论坛
原文链接: https://bbs.kanxue.com/thread-290504.htm