Package soot.toDex.instructions
Class Insn12x
- java.lang.Object
-
- soot.toDex.instructions.AbstractInsn
-
- soot.toDex.instructions.Insn12x
-
- All Implemented Interfaces:
Cloneable,Insn,OneRegInsn,TwoRegInsn
public class Insn12x extends AbstractInsn implements TwoRegInsn
The "12x" instruction format: It needs one 16-bit code unit, has two registers and is used for general purposes (hence the "x").
It is used e.g. by the opcodes "move-object", "array-length", the unary operations and the "/2addr" binary operations.
-
-
Field Summary
-
Fields inherited from class soot.toDex.instructions.AbstractInsn
opc, regs
-
Fields inherited from interface soot.toDex.instructions.OneRegInsn
REG_A_IDX
-
Fields inherited from interface soot.toDex.instructions.TwoRegInsn
REG_B_IDX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitSetgetIncompatibleRegs()protected org.jf.dexlib2.builder.BuilderInstructiongetRealInsn0(LabelAssigner assigner)RegistergetRegA()RegistergetRegB()-
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
-
-
-
-
Method Detail
-
getRegA
public Register getRegA()
- Specified by:
getRegAin interfaceOneRegInsn
-
getRegB
public Register getRegB()
- Specified by:
getRegBin interfaceTwoRegInsn
-
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
-
-