notishell / smali

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

Problem with a some dex #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
It cannot decompile som dex files:

This dex file has a link section, which is not supported. Ignoring.

UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: Unknown opcode: ed
        at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
        at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:87)
        at org.jf.dexlib.CodeItem.readItem(CodeItem.java:157)
        at org.jf.dexlib.Item.readFrom(Item.java:76)
        at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
        at org.jf.dexlib.Section.readFrom(Section.java:143)
        at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
        at org.jf.baksmali.main.main(main.java:254)
Caused by: java.lang.RuntimeException: Unknown opcode: ed
        at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:51)
        ... 6 more
Error occured at code address 32
code_item @0xee1c

What is the exact smali/baksmali command that you ran?
java -jar baksmali-1.2.8.jar classes.dex

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

Original issue reported on code.google.com by sanxex...@gmail.com on 30 Sep 2011 at 9:53

Attachments:

GoogleCodeExporter commented 9 years ago
Hmm. Thanks for the report! I just checked the gingerbread sources, and that is 
the "throw-verification-error" odex opcode, which I apparently never added 
support for. I'll get it fixed!

Original comment by jesusfreke@jesusfreke.com on 30 Sep 2011 at 2:57

GoogleCodeExporter commented 9 years ago
Very well! It's would be perfect!

Original comment by sanxex...@gmail.com on 30 Sep 2011 at 7:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This has been fixed 
(http://code.google.com/p/smali/source/detail?r=bbe539f2d2cdfdd814fcdc0057dcdf45
4ae153d3)

Original comment by jesusfreke@jesusfreke.com on 10 Oct 2011 at 6:05

GoogleCodeExporter commented 9 years ago
Can you compile a new jar?

Original comment by sanxex...@gmail.com on 11 Oct 2011 at 6:37

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/smali/wiki/BuildProcedure ...

Original comment by jesusfreke@jesusfreke.com on 11 Oct 2011 at 6:43