|
[求助]Android ART 模式下 DEX 内存加载
随便找了两个6.0的手机,一个华为的,一个小米的,直接参照你的demo代码,加上api23的处理,调用libart.so中的DexFile::OpenMemory(const uint8_t* base,...)函数,两台手机都崩来在openmemory函数内部,似乎是地址出错了,比如小米MAX: 11-30 15:35:54.195 533-533/? A/DEBUG: pid: 11195, tid: 11224, name: Thread-153 >>> com.test.shellapp <<< 11-30 15:35:54.195 533-533/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfe9cec1e 11-30 15:35:54.209 533-533/? A/DEBUG: r0 f5418ed0 r1 00000000 r2 00000000 r3 00000002 11-30 15:35:54.209 533-533/? A/DEBUG: r4 e042e424 r5 ab5f73d0 r6 12d1bfa0 r7 e042e410 11-30 15:35:54.209 533-533/? A/DEBUG: r8 001839f0 r9 df5ee00c sl 716d0c18 fp fe9cec1e 11-30 15:35:54.209 533-533/? A/DEBUG: ip f74c45dc sp e042e3c0 lr f7495e89 pc f513509c cpsr 80030030 11-30 15:35:54.213 533-533/? A/DEBUG: backtrace: 11-30 15:35:54.213 533-533/? A/DEBUG: #00 pc 0016109c /system/lib/libart.so (_ZN3art7DexFile10OpenMemoryEPKhjRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEjPNS_6MemMapEPKNS_10OatDexFileEPS9_+43) |
|
[求助]Android ART 模式下 DEX 内存加载
崩在opemmemory函数里面 |
|
[求助]Android ART 模式下 DEX 内存加载
楼主,你试过6.0么,照着你的试了下6.0,,崩了 |
|
[求助]Android ART 模式下 DEX 内存加载
他这个是三星的rom,没源码都不知道hoot那个函数,原生的没有这个检查的 |
|
[求助]Art下用hook实现dex快速动态加载的问题
楼主,请问为啥我在验证的时候,内存加载A extends B,这样的类A,就找不到啊了?你有碰到这样的问题么 |
|
[求助]有谁参考众多4.*内存加载DEX文章并验证实现了?
更新一下,似乎是有继承的类就找不到,比如mainactivity extends activity ,没有继承的类就能找到 |
|
[原创]分享一个快速加载dex文件的方法
楼主不见了。唉。。。。。 |
|
[求助]Art下用hook实现dex快速动态加载的问题
请问楼主,在2.X版本上你实现了么?分享一下吧 |
|
[求助]Android ART 模式下 DEX 内存加载
请问作者你解决问题了么?内存加载dex不是主要用在加密dex文件内从中解密得到byte[]直接内存中加载么,怎么传到进这个DexFile::OpenMemory里面啊。。看你的demo是mmap一个class.dex文件做的。 |
|
[求助]dex内存加载的问题
请问楼主解决问题了嘛?能共享下嘛,谢谢 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值