mirror of
https://github.com/revanced/smali.git
synced 2025-05-05 17:14:25 +02:00
Fixed bug in the tree walker code for Format20t
git-svn-id: https://smali.googlecode.com/svn/trunk@17 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
a0c2e9647e
commit
e0f6ab76de
@ -385,7 +385,7 @@ instruction returns[Instruction instruction]
|
||||
throw new RuntimeException("The offset/label is out of range. The offset is " + Integer.toString(addressOffset) + " and the range for this opcode is [-32768, 32767].");
|
||||
}
|
||||
|
||||
$instruction = Format20t.Format.make(dexFile, opcode.value, (byte)addressOffset);
|
||||
$instruction = Format20t.Format.make(dexFile, opcode.value, (short)addressOffset);
|
||||
}
|
||||
| //e.g. sget_object v0 java/lang/System/out LJava/io/PrintStream;
|
||||
^(I_STATEMENT_FORMAT21c_FIELD INSTRUCTION_FORMAT21c_FIELD REGISTER fully_qualified_field)
|
||||
|
Loading…
x
Reference in New Issue
Block a user