Package soot.toDex.instructions
Class Insn21s
- java.lang.Object
-
- soot.toDex.instructions.AbstractInsn
-
- soot.toDex.instructions.Insn21s
-
- All Implemented Interfaces:
Cloneable,Insn,OneRegInsn
public class Insn21s extends AbstractInsn implements OneRegInsn
The "21s" instruction format: It needs two 16-bit code units, has one register and is used for a 16-bit literal (hence the "s" for "short").
It is used by the opcodes "const/16" and "const-wide/16".
-
-
Field Summary
-
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()shortgetLitB()protected org.jf.dexlib2.builder.BuilderInstructiongetRealInsn0(LabelAssigner assigner)RegistergetRegA()StringtoString()-
Methods inherited from class soot.toDex.instructions.AbstractInsn
getMinimumRegsNeeded, getOpcode, getRealInsn, getRegs, getSize, hasIncompatibleRegs
-
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
-
-
-
-
Constructor Detail
-
Insn21s
public Insn21s(org.jf.dexlib2.Opcode opc, Register regA, short litB)
-
-
Method Detail
-
getRegA
public Register getRegA()
- Specified by:
getRegAin interfaceOneRegInsn
-
getLitB
public short getLitB()
-
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
-
toString
public String toString()
- Overrides:
toStringin classAbstractInsn
-
-