public class InstructionFactory extends Object
Constructor and Description |
---|
InstructionFactory() |
Modifier and Type | Method and Description |
---|---|
static DexlibAbstractInstruction |
fromInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction,
int codeAddress)
Resolve an Instruction from a dexlib instruction.
|
static DexlibAbstractInstruction |
fromOpcode(org.jf.dexlib2.Opcode op,
org.jf.dexlib2.iface.instruction.Instruction instruction,
int codeAddress)
Resolve an Instruction from an dex opcode.
|
public static DexlibAbstractInstruction fromInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction, int codeAddress)
instruction
- the corresponding dexlib instructioncodeAddress
- the byte code address of the instructionpublic static DexlibAbstractInstruction fromOpcode(org.jf.dexlib2.Opcode op, org.jf.dexlib2.iface.instruction.Instruction instruction, int codeAddress)
op
- the opcode of the instructioninstruction
- the corresponding dexlib instructioncodeAddress
- the byte code address of the instructionCopyright © 2021 Soot OSS. All rights reserved.