testwhat / SmaliEx

A wrapper to get de-optimized dex from odex/oat/vdex.
532 stars 141 forks source link

Error deodexing Moto android 7.0 Dialer.odex #51

Open kaneawk opened 7 years ago

kaneawk commented 7 years ago

02-27 18:08:49:574 Art version=79 (Dialer.odex) 02-27 18:08:49:583 De-optimizing /system/priv-app/Dialer/Dialer.apk 02-27 18:08:50:888 Analysis error in class=Lcom/android/dialer/calllog/CallLogAsyncTaskUtil$CallDetailQuery; method= Method: Lcom/android/dialer/calllog/CallLogAsyncTaskUtil$CallDetailQuery;->()V Near line: 127 (address 128) Instructions: [56] const-string/jumbo regA=1 [57] invoke-virtual-quick regC=0 regD=1 [58] invoke-virtual-quick regC=0 <----- [59] invoke-virtual-quick regC=0 [60] move-result regA=1

02-27 18:08:50:891 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 44, objReg=0 at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2612) at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1248) at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259) at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:190) at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:505) ...(Skip 24 traces) at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:321) at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:244) at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:146) at org.rh.smaliex.Main.mainImpl(Main.java:122) at org.rh.smaliex.Main.main(Main.java:42)

02-27 18:08:50:893 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms 02-27 18:08:50:895 convertToDex: skip /system/priv-app/Dialer/Dialer.apk