Package soot.toDex.instructions
Class Insn10t
- java.lang.Object
-
- soot.toDex.instructions.AbstractInsn
-
- soot.toDex.instructions.InsnWithOffset
-
- soot.toDex.instructions.Insn10t
-
public class Insn10t extends InsnWithOffset
The "10t" instruction format: It needs one 16-bit code unit, does not have any registers and is used for jump targets (hence the "t").
It is used by the "goto" opcode for jumps to offsets up to 8 bits away.
-
-
Field Summary
-
Fields inherited from class soot.toDex.instructions.InsnWithOffset
target
-
Fields inherited from class soot.toDex.instructions.AbstractInsn
opc, regs
-
-
Constructor Summary
Constructors Constructor Description Insn10t(org.jf.dexlib2.Opcode opc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxJumpOffset()Gets the maximum number of words available for the jump offsetprotected org.jf.dexlib2.builder.BuilderInstructiongetRealInsn0(LabelAssigner assigner)-
Methods inherited from class soot.toDex.instructions.InsnWithOffset
getTarget, setTarget
-
Methods inherited from class soot.toDex.instructions.AbstractInsn
getIncompatibleRegs, getMinimumRegsNeeded, getOpcode, getRealInsn, getRegs, getSize, hasIncompatibleRegs, toString
-
-
-
-
Method Detail
-
getRealInsn0
protected org.jf.dexlib2.builder.BuilderInstruction getRealInsn0(LabelAssigner assigner)
- Specified by:
getRealInsn0in classAbstractInsn
-
getMaxJumpOffset
public int getMaxJumpOffset()
Description copied from class:InsnWithOffsetGets the maximum number of words available for the jump offset- Specified by:
getMaxJumpOffsetin classInsnWithOffset- Returns:
- The maximum number of words available for the jump offset
-
-