mirror of
https://github.com/revanced/smali.git
synced 2025-05-22 19:08:52 +02:00
Use an int to store the 'base' value, when decoding a special debug opcode, to prevent an incorrect negative value
git-svn-id: https://smali.googlecode.com/svn/trunk@508 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
91aa1ef2fa
commit
4433deb7dc
@ -140,7 +140,7 @@ public class DebugInstructionIterator {
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
byte base = (byte)((debugOpcode & 0xFF) - 0x0A);
|
int base = ((debugOpcode & 0xFF) - 0x0A);
|
||||||
processDebugInstruction.ProcessSpecialOpcode(startOffset, debugOpcode, (base % 15) - 4, base / 15);
|
processDebugInstruction.ProcessSpecialOpcode(startOffset, debugOpcode, (base % 15) - 4, base / 15);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user