mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Fix invalid cast when deodexing an execute inline instruction on an odex file from eclair or earlier
git-svn-id: https://smali.googlecode.com/svn/trunk@807 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -80,7 +80,7 @@ abstract class InlineMethodResolver {
|
|||||||
public DeodexUtil.InlineMethod resolveExecuteInline(AnalyzedInstruction analyzedInstruction) {
|
public DeodexUtil.InlineMethod resolveExecuteInline(AnalyzedInstruction analyzedInstruction) {
|
||||||
assert analyzedInstruction.instruction instanceof OdexedInvokeVirtual;
|
assert analyzedInstruction.instruction instanceof OdexedInvokeVirtual;
|
||||||
|
|
||||||
OdexedInvokeVirtual instruction = (OdexedInvokeVirtual)analyzedInstruction;
|
OdexedInvokeVirtual instruction = (OdexedInvokeVirtual)analyzedInstruction.instruction;
|
||||||
int methodIndex = instruction.getMethodIndex();
|
int methodIndex = instruction.getMethodIndex();
|
||||||
|
|
||||||
if (methodIndex < 0 || methodIndex >= inlineMethods.length) {
|
if (methodIndex < 0 || methodIndex >= inlineMethods.length) {
|
||||||
|
Reference in New Issue
Block a user