LSPosed / LSPlant

A hook framework for Android Runtime (ART)
https://lsposed.org/LSPlant/
GNU Lesser General Public License v3.0
890 stars 220 forks source link

最新安卓15机型的libart.so缺少3个必要的符号 #119

Closed lbwengineer closed 3 weeks ago

lbwengineer commented 3 weeks ago

先看完我写的东西啊,不要直接关闭

这三个符号都是确确实实被去掉了,我反编译libart.so后可以通过其它符号推断出目标地址,你看看这个问题要怎么更好地解决

1 1 1 1 2 1 3 2 1

这是安卓15的libart.so下载链接:https://yaole.lanzouo.com/iQFDd2ejg2cb

vvb2060 commented 3 weeks ago

既然你不愿意点过去看,我再发一遍

llvm-objcopy libart.so --dump-section .gnu_debugdata=dbg.xz
unxz dbg.xz
llvm-readelf -sW dbg | grep GetMethodShorty
llvm-readelf -sW dbg | grep art_quick_to_interpreter_bridge
llvm-readelf -sW dbg | grep art_quick_generic_jni_trampoline

先看完我写的东西啊,不要直接关闭

先动手照着做一遍,不要再开issue

ELF: .gnu_debugdata (MiniDebugInfo) sections are now recognized and parsed

https://docs.hex-rays.com/release-notes/7_6 IDA 7.6.210319 March 22, 2021 另外ida该更新了