-
Notifications
You must be signed in to change notification settings - Fork 457
Description
Provide specific APK, DEX, or file hash
classes.dex.zip
Describe the bug
outputlog.txt
Writing output to classes_simple.dex
Exception in thread "main" java.lang.IllegalStateException: Switch instruction at address/index 0x1c/12 refers to the wrong type of payload instruction.
at org.jf.dexlib2.builder.MutableMethodImplementation.fixInstructions(MutableMethodImplementation.java:386)
at org.jf.dexlib2.builder.MutableMethodImplementation.getTryBlocks(MutableMethodImplementation.java:167)
at org.jf.dexlib2.writer.builder.BuilderClassPool.getTryBlocks(BuilderClassPool.java:307)
at org.jf.dexlib2.writer.builder.BuilderClassPool.getTryBlocks(BuilderClassPool.java:64)
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1011)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:345)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:300)
at org.cf.simplify.Launcher.run(Launcher.java:149)
at org.cf.simplify.Main.main(Main.java:14)
To Reproduce
java -jar simplify.jar --max-call-depth 999 --max-address-visits 999 --max-method-visits 999 --ignore-error classes.dex
Attempted work-arounds
You are the work-around sir 😊😎