dstreet323 / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Error decompiling #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

baksmali invalid method index : 100

What is the exact smali/baksmali command that you ran?

set bootclass=core.jar:bouncycastle.jar:ext.jar:framework.jar:androi
d.policy.jar:services.jar:core-junit.jar

java -jar baksmali.jar -c %bootclass% -d d:\framework -x framework.o
dex -o framework-odex

What version of smali/baksmali are you using? What rom are you working
from?

1.3.2 / Stock Rom Galaxy S2 HD LTE E120L

What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.

Error occured while disassembling class Landroid.bluetooth.AtParser; - skipping
class
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDef
inition.java:307)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:136)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Error occured while disassembling class Landroid.content.Intent; - skipping clas
s
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Error occured while disassembling class Landroid.content.IntentFilter; - skippin
g class
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Error occured while disassembling class Landroid.media.MediaScanner$MyMediaScann
erClient; - skipping class
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Error occured while disassembling class Lcom.android.internal.content.NativeLibr
aryHelper; - skipping class
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Error occured while disassembling class Lcom.android.internal.telephony.cdma.CDM
APhone; - skipping class
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Error occured while disassembling class Lcom.broadcom.bt.service.framework.BaseP
roxy; - skipping class
java.lang.RuntimeException: Invalid method index: 100
        at org.jf.dexlib.Code.Analysis.InlineMethodResolver$InlineMethodResolver
_version36.resolveExecuteInline(InlineMethodResolver.java:152)
        at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupInlineMethod(DeodexUtil.
java:58)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3340)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1016)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:353)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:191)
        at org.jf.baksmali.main.main(main.java:278)

Original issue reported on code.google.com by gerry.h...@gmail.com on 23 Feb 2012 at 3:31

GoogleCodeExporter commented 9 years ago
That's pretty bizarre. Maybe it's using a custom inline method table? I doubt 
they have 100+ inline methods though.

Can you build deodexerant and run it on your phone and post the output here? 
(http://code.google.com/p/smali/source/browse/#git%2Fdeodexerant)

Original comment by jesusfreke@jesusfreke.com on 23 Feb 2012 at 4:23

GoogleCodeExporter commented 9 years ago
is there any guide for building deodexerant for my phone ? i just dont 
understand the part you assume i have mydroid set to root and smali to the 
smali root part before i try to build deodexerant and get the inline.txt for u..

Original comment by gerry.h...@gmail.com on 23 Feb 2012 at 5:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by jesusfreke@jesusfreke.com on 14 Feb 2013 at 11:42