[Soot-list] ***UNCHECKED*** Out of range error when dumping to the dex file

liupeng 380574945 at qq.com
Mon Feb 22 10:27:37 EST 2016


Hi, 
When I run soot to transform the app called alibaba.apk (attached), it throws the following error.
I guess this is because the dex file is too big. Could you advise how to solve this problem
Dumping to two dex files m?ight be a solution, is there an easy way to achieve this?

Thanks a lot!

org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65709
    at org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:116)
    at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:315)
    at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:997)
    at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:773)
    at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:222)
    at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:200)
    at soot.toDex.DexPrinter.writeTo(DexPrinter.java:244)
    at soot.toDex.DexPrinter.printApk(DexPrinter.java:180)
    at soot.toDex.DexPrinter.print(DexPrinter.java:1497)
    at soot.PackManager.writeOutput(PackManager.java:527)
    at soot.Main.run(Main.java:275)
    at soot.Main.main(Main.java:149)

Peng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160222/e3358e62/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alibaba.apk
Type: application/octet-stream
Size: 11529557 bytes
Desc: not available
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160222/e3358e62/attachment-0001.obj 


More information about the Soot-list mailing list