Package org.jf.dexlib2.analysis
Class UnresolvedOdexInstruction
- java.lang.Object
-
- org.jf.dexlib2.analysis.UnresolvedOdexInstruction
-
- All Implemented Interfaces:
Instruction
public class UnresolvedOdexInstruction extends java.lang.Object implements Instruction
This represents a "fixed" odexed instruction, where the object register is always null and so the correct type can't be determined. Typically, these are replaced by an equivalent instruction that would have the same effect (namely, an NPE)
-
-
Field Summary
Fields Modifier and Type Field Description int
objectRegisterNum
Instruction
originalInstruction
-
Constructor Summary
Constructors Constructor Description UnresolvedOdexInstruction(Instruction originalInstruction, int objectRegisterNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCodeUnits()
Gets the size of this instruction.Opcode
getOpcode()
Gets the opcode of this instruction.
-
-
-
Field Detail
-
originalInstruction
public final Instruction originalInstruction
-
objectRegisterNum
public final int objectRegisterNum
-
-
Constructor Detail
-
UnresolvedOdexInstruction
public UnresolvedOdexInstruction(Instruction originalInstruction, int objectRegisterNumber)
-
-
Method Detail
-
getOpcode
public Opcode getOpcode()
Description copied from interface:Instruction
Gets the opcode of this instruction.- Specified by:
getOpcode
in interfaceInstruction
- Returns:
- The Opcode of this instruction.
-
getCodeUnits
public int getCodeUnits()
Description copied from interface:Instruction
Gets the size of this instruction.- Specified by:
getCodeUnits
in interfaceInstruction
- Returns:
- The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.
-
-