Description
I encountered a warning/error during the conversion of a DEX file to JAR using the latest version of this fork. It seems like the decompiler is struggling with register mapping for move-result-object.
Error Log
dex2jar extracted_dex/classes5.dex -> jar_out/classes5.jar
WARN: can't get operand(s) for move-result-object, wrong position ?
WARN: can't get operand(s) for move-result-object, wrong position ?
Steps to Reproduce
- Take the affected APK/DEX.
- Run
./d2j-dex2jar.sh classes5.dex
- Observe the warnings in the console output.
Environment Details (from Manifest)
- Compile SDK (PlatformBuild): 33 (Android 13)
- Target SDK: 28 (Android 9.0)
- Min SDK: 22 (Android 5.1)
- Dex-tools version: 2.4.35 (ThexXTURBOXx fork)
- Java version: 21 (GitHub Actions Runner)
Additional Context
The DEX file was sanitized using baksmali and smali before running dex2jar, but the issue persists. This suggests a problem with how the decompiler handles specific bytecode sequences in this multidex file.
Note: I can provide the sample DEX file if needed for debugging.
classes5.zip
Description
I encountered a warning/error during the conversion of a DEX file to JAR using the latest version of this fork. It seems like the decompiler is struggling with register mapping for
move-result-object.Error Log
dex2jar extracted_dex/classes5.dex -> jar_out/classes5.jar
WARN: can't get operand(s) for move-result-object, wrong position ?
WARN: can't get operand(s) for move-result-object, wrong position ?
Steps to Reproduce
./d2j-dex2jar.sh classes5.dexEnvironment Details (from Manifest)
Additional Context
The DEX file was sanitized using
baksmaliandsmalibefore runningdex2jar, but the issue persists. This suggests a problem with how the decompiler handles specific bytecode sequences in this multidex file.Note: I can provide the sample DEX file if needed for debugging.
classes5.zip