Dexer
Dexer copied to clipboard
Crash InstructionReader on somes obfuscated dex
Hi!
On somes obfuscated dex (see attach) InstructionReader is crash.
If payloads of pseudo-instructions inject between normal instructions in body.
This case is not taken in your inplementation.
But the real Dalvik VM normal process this code.
Thank you!
classes3_mod.zip
Possible implementation for this. Note: is works only for cases when payload-data follow after instruction-owner, else throw exception. For all cases, more modifications are required, but they are easy to implement. Sorry for the very bad English and typos. InstructionReader.zip