-
Notifications
You must be signed in to change notification settings - Fork 87
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
无效 #4
Comments
log显示 offset问题但fart提供的替换是能够成功的 |
|
有的 用fart.py是可以复原出smali的 |
方便提供一下dex和bin吗,不想在这里发可以私发我邮箱:eWFud2VuZHJlYW1AMTYzLmNvbQ== |
已发送 |
收到了,也想到了一种更好的方案,后续会把这个代码给写出来 |
大佬🐂 |
尽力了...你导出的bin有问题,字节码比原本的区段长 |
确实用的原版frida脚本导出的,原版复原脚本可以还原出来,具体是什么问题还没有对dex仔细研究过 |
现在是能合进去,但是不能完全合进去,还得继续研究 |
您好,
可见除了insns还有padding tries handlers 这三部分 您的解析方式是通过dex.offset+16作为插入位置, (而fart存入bin的ins似乎是整个codeitem)dex.readCode(method).getInstructions().length作为插入长度 这部分长度是不是会包含tries部分呢? 谢谢 |
dex.readCode(method).getInstructions()得到的字节码是包含tries部分的,强行插入导致class被破坏的原因是bin中的ins的长度比dex中的insns_size要长 |
重新试了下 用dex.readCode(method).getInstructions().length作为插入位置, bin 中长度作为插入长度之后 修复的文件还原出了很多函数 不知道您用您自己的数据试验过后如何 |
瞬间执行完成all done, 并没有merge进去
The text was updated successfully, but these errors were encountered: