axhlzy / Il2CppHookScripts

frida-based libil2cpp.so runtime parsing script
MIT License
519 stars 165 forks source link

breakPoints(filter)能不能增加不区分大小写 #1

Closed 350030173 closed 3 years ago

350030173 commented 3 years ago

breakPoints(filter)能不能增加不区分大小写,比如B("Click") 和 B("click")

axhlzy commented 3 years ago

感谢 350030173 的提问

您提出的这个问题可是可以这么做,但是不是很建议 如果你希望在一个终端页面hook这两个filter,可以考虑注释掉 breakPoints 函数第一行的 Interceptor.detachAll() 即可多次调用 B() 注册 hook,在这之前你可以手动去调用 d() 先取消掉多余的 hook

350030173 commented 3 years ago

我的意思是,如果有个函数是这样的,比如:Showxxxxx      showxxxxxx     SHOWxxxxx     SHowxxxxx     sHowxxxxxx    大小写不一定在什么哪个字母上,如果只是在breakPoints函数上把Interceptor.detachAll(),那要写 的B()还是很多

------------------ 原始邮件 ------------------ 发件人: "axhlzy/Il2CppDumperTool" <notifications@github.com>; 发送时间: 2021年2月27日(星期六) 上午10:31 收件人: "axhlzy/Il2CppDumperTool"<Il2CppDumperTool@noreply.github.com>; 抄送: "XA27许江渭"<350030173@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [axhlzy/Il2CppDumperTool] breakPoints(filter)能不能增加不区分大小写 (#1)

感谢 350030173 的提问

您提出的这个问题可是可以这么做,但是不是很建议 如果你希望在一个终端页面hook这两个filter,可以考虑注释掉 breakPoints 函数第一行的 Interceptor.detachAll() 即可多次调用 B() 注册 hook,在这之前你可以手动去调用 d() 先取消掉多余的 hook

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

350030173 commented 3 years ago

我的意思是,如果有个函数是这样的,比如:Showxxxxx      showxxxxxx     SHOWxxxxx     SHowxxxxx     sHowxxxxxx    大小写不一定在什么哪个字母上,如果只是在breakPoints函数上把Interceptor.detachAll(),那要写 的B()还是很多

能不能做个开关,在B()方法上做个参数开关,更灵活些

------------------ 原始邮件 ------------------ 发件人: "axhlzy/Il2CppDumperTool" <notifications@github.com>; 发送时间: 2021年2月27日(星期六) 上午10:31 收件人: "axhlzy/Il2CppDumperTool"<Il2CppDumperTool@noreply.github.com>; 抄送: "XA27许江渭"<350030173@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [axhlzy/Il2CppDumperTool] breakPoints(filter)能不能增加不区分大小写 (#1)

感谢 350030173 的提问

您提出的这个问题可是可以这么做,但是不是很建议 如果你希望在一个终端页面hook这两个filter,可以考虑注释掉 breakPoints 函数第一行的 Interceptor.detachAll() 即可多次调用 B() 注册 hook,在这之前你可以手动去调用 d() 先取消掉多余的 hook

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.