|
[原创]dalvik解释器阅读笔记
这也不是说Indroid代码呀,只是说了最简单的dvm执行流程。 |
|
[求助]关于Android加壳之内存加载dex的几点疑问
public DexClassLoader(String dexPath, String optimizedDirectory, String libraryPath, ClassLoader parent) { super(dexPath, new File(optimizedDirectory), libraryPath, parent); } 继续执行 public BaseDexClassLoader(String dexPath, File optimizedDirectory, String libraryPath, ClassLoader parent) { super(parent); this.pathList = new DexPathList(this, dexPath, libraryPath, optimizedDirectory); } 继续执行 在DexPathList构造函数中调用了makeDexElements,makeDexElements又调用了loadDexFile,loadDexFile调用了 DexFile.loadDex,这个方法走进了native方法里面,先优化,再形成Dexfile结构。 |
|
[求助]关于Android加壳之内存加载dex的几点疑问
1、defineClass就是加载对应的classObject,每次只加载自己对应的类就ok,所以我觉得不需要else后面的代码。 2、因为继承了DexClassLoader,在调用了super(oriPath, fakePath, libraryPath, parent);继续跟踪代码发现,还是执行了优化dex,所以还是耗时。不耗时,就得直接加载dex,参考http://bbs.pediy.com/showthread.php?t=205577。 3、因为4.4已经把java层的openDexFile移除了,在这个版本就不能通过反射获取这个方法了,为了通用型,所以才这么大费周折。 |
|
[原创]Dex动态加载的C语言部分
请问,openDexFile这个函数是什么时候调用的? |
|
[求助]关于dvmDexFileOpenPartial 下断点的原理
同问,好问题,有知道的朋友么?谢谢解答。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值