Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于ASM修改敏感函数 #4

Closed
lhjandroid opened this issue Jan 6, 2022 · 1 comment
Closed

关于ASM修改敏感函数 #4

lhjandroid opened this issue Jan 6, 2022 · 1 comment

Comments

@lhjandroid
Copy link

之前尝试过通过动态代理hook一些敏感函数来减少频次等,但通过asm字节码插桩的话,是怎么个修改法呢?扫描出所有的java文件,发现含有调用getRunningAppProcesses这个代码时,做下插桩逻辑?

@allenymt
Copy link
Owner

allenymt commented Jan 6, 2022

现在的二期代码就是用asm修改字节码的,不是插桩,直接拦截方法,可以参考下源码里的实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants