public abstract class FieldInstruction extends DexlibAbstractInstruction
codeAddress, instruction, lineNumber, unit| Constructor and Description |
|---|
FieldInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction,
int codeAdress) |
| Modifier and Type | Method and Description |
|---|---|
protected AssignStmt |
getAssignStmt(DexBody body,
Local sourceValue,
ConcreteRef instanceField)
Check if the field type equals the type of the value that will be stored in the field.
|
protected SootFieldRef |
getSootFieldRef(org.jf.dexlib2.iface.reference.FieldReference fref)
Return a SootFieldRef for a dexlib FieldReference.
|
protected SootFieldRef |
getStaticSootFieldRef(org.jf.dexlib2.iface.reference.FieldReference fref)
Return a static SootFieldRef for a dexlib FieldReference.
|
protected Type |
getTargetType(DexBody body)
Return the target type for put instructions.
|
Set<Type> |
introducedTypes()
Return the types that are be introduced by this instruction.
|
addTags, getInstruction, getLineNumber, getUnit, getUsedRegistersNums, getUsedRegistersNums, jimplify, setLineNumber, setUnitpublic FieldInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction,
int codeAdress)
protected SootFieldRef getStaticSootFieldRef(org.jf.dexlib2.iface.reference.FieldReference fref)
item - the dexlib FieldReference.protected SootFieldRef getSootFieldRef(org.jf.dexlib2.iface.reference.FieldReference fref)
item - the dexlib FieldReference.protected AssignStmt getAssignStmt(DexBody body, Local sourceValue, ConcreteRef instanceField)
protected Type getTargetType(DexBody body)
body - the body containing this instructionpublic Set<Type> introducedTypes()
DexlibAbstractInstructionintroducedTypes in class DexlibAbstractInstructionCopyright © 2020 Soot OSS. All rights reserved.