mirror of
https://github.com/revanced/smali.git
synced 2025-05-30 20:40:11 +02:00
Proper opcode for const-string instruction modification prediction.
This commit is contained in:
parent
5df16db108
commit
f598b96244
@ -154,7 +154,7 @@ public class InstructionWriteUtil {
|
|||||||
offsetToNewInstructionMap = new HashMap<Integer,Format>();
|
offsetToNewInstructionMap = new HashMap<Integer,Format>();
|
||||||
}
|
}
|
||||||
codeOffsetShifts.add(currentCodeOffset+instruction.getCodeUnits());
|
codeOffsetShifts.add(currentCodeOffset+instruction.getCodeUnits());
|
||||||
offsetToNewInstructionMap.put(currentCodeOffset, instruction.getOpcode().format);
|
offsetToNewInstructionMap.put(currentCodeOffset, Opcode.CONST_STRING_JUMBO.format);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
currentCodeOffset += instruction.getCodeUnits();
|
currentCodeOffset += instruction.getCodeUnits();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user