pracio / dex2jar

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

Exception in case of overlapping instructions #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. dex2jar-0.0.9.9/d2j-dex2jar.sh classes.dex

What is the expected output? What do you see instead?
dex2jar doesn't handle overlapping instructions well.

If e.g. an instruction overlaps and an exception handler, dex2jar raises 
java.lang.NullPointerException 

Such an overlapping is not usual for normal applications but can occur in case 
of bytecode obfuscation.

classes-error.zip file cannot be attached, because the attachment quota of this 
project has been exceeded. But it can easily be reproduced using the original 
apk file.
original apk: http://www.dexlabs.org/files/crackme-obfuscator.apk
If you need more infos about this, i can provide a writeup about this 
obfuscation technique

Original issue reported on code.google.com by thuxn...@dexlabs.org on 26 Jul 2012 at 6:52