Package soot.toDex.instructions
Class Insn31t
- java.lang.Object
-
- soot.toDex.instructions.AbstractInsn
-
- soot.toDex.instructions.InsnWithOffset
-
- soot.toDex.instructions.Insn31t
-
- All Implemented Interfaces:
Cloneable,Insn,OneRegInsn
public class Insn31t extends InsnWithOffset implements OneRegInsn
The "31t" instruction format: It needs three 16-bit code units, has one register and is used for jump targets (hence the "t").
It is used e.g. by the opcodes "packed-switch" and "sparse-switch".
-
-
Field Summary
Fields Modifier and Type Field Description AbstractPayloadpayload-
Fields inherited from class soot.toDex.instructions.InsnWithOffset
target
-
Fields inherited from class soot.toDex.instructions.AbstractInsn
opc, regs
-
Fields inherited from interface soot.toDex.instructions.OneRegInsn
REG_A_IDX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitSetgetIncompatibleRegs()intgetMaxJumpOffset()Gets the maximum number of words available for the jump offsetprotected org.jf.dexlib2.builder.BuilderInstructiongetRealInsn0(LabelAssigner assigner)RegistergetRegA()voidsetPayload(AbstractPayload payload)-
Methods inherited from class soot.toDex.instructions.InsnWithOffset
getTarget, setTarget
-
Methods inherited from class soot.toDex.instructions.AbstractInsn
getMinimumRegsNeeded, getOpcode, getRealInsn, getRegs, getSize, hasIncompatibleRegs, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface soot.toDex.instructions.Insn
getMinimumRegsNeeded, getOpcode, getRealInsn, getRegs, getSize, hasIncompatibleRegs
-
-
-
-
Field Detail
-
payload
public AbstractPayload payload
-
-
Constructor Detail
-
Insn31t
public Insn31t(org.jf.dexlib2.Opcode opc, Register regA)
-
-
Method Detail
-
getRegA
public Register getRegA()
- Specified by:
getRegAin interfaceOneRegInsn
-
setPayload
public void setPayload(AbstractPayload payload)
-
getRealInsn0
protected org.jf.dexlib2.builder.BuilderInstruction getRealInsn0(LabelAssigner assigner)
- Specified by:
getRealInsn0in classAbstractInsn
-
getIncompatibleRegs
public BitSet getIncompatibleRegs()
- Specified by:
getIncompatibleRegsin interfaceInsn- Overrides:
getIncompatibleRegsin 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
-
-