Proguard源码分析(二)输出文件

ProGuard outputs thefollowing files after it runs:

dump.txt···描述apk文件中所有类文件的内部结构

 PrintStream ps = createPrintStream(configuration.dump);
try{
    programClassPool.classesAccept(new ClassPrinter(ps));
}

mapping.txt···列出了类、方法、成员的原貌与混淆后的映射表。在收到错误报告时,可以用它翻译混淆后的堆栈信息。

-printmapping

seeds.txt···列出未混淆的类与成员

-printseeds

usage.txt···列出从apk中清除的无用代码

-printusage

posted @ 2014-01-17 12:37  非子墨  阅读(553)  评论(0编辑  收藏  举报