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 intobjectRegisterNumInstructionoriginalInstruction
-
Constructor Summary
Constructors Constructor Description UnresolvedOdexInstruction(Instruction originalInstruction, int objectRegisterNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCodeUnits()Gets the size of this instruction.OpcodegetOpcode()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:InstructionGets the opcode of this instruction.- Specified by:
getOpcodein interfaceInstruction- Returns:
- The Opcode of this instruction.
-
getCodeUnits
public int getCodeUnits()
Description copied from interface:InstructionGets the size of this instruction.- Specified by:
getCodeUnitsin interfaceInstruction- Returns:
- The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.
-
-