Package soot.dexpler.instructions
Class SparseSwitchInstruction
- java.lang.Object
-
- soot.dexpler.instructions.DexlibAbstractInstruction
-
- soot.dexpler.instructions.PseudoInstruction
-
- soot.dexpler.instructions.SwitchInstruction
-
- soot.dexpler.instructions.SparseSwitchInstruction
-
- All Implemented Interfaces:
DeferableInstruction
public class SparseSwitchInstruction extends SwitchInstruction
-
-
Field Summary
-
Fields inherited from class soot.dexpler.instructions.SwitchInstruction
markerUnit
-
Fields inherited from class soot.dexpler.instructions.PseudoInstruction
data, dataFirstByte, dataLastByte, dataSize, loaded
-
Fields inherited from class soot.dexpler.instructions.DexlibAbstractInstruction
codeAddress, instruction, lineNumber, unit
-
-
Constructor Summary
Constructors Constructor Description SparseSwitchInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction, int codeAdress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeDataOffsets(DexBody body)protected StmtswitchStatement(DexBody body, org.jf.dexlib2.iface.instruction.Instruction targetData, Local key)Return a switch statement based on given target data on the given key.-
Methods inherited from class soot.dexpler.instructions.SwitchInstruction
deferredJimplify, jimplify
-
Methods inherited from class soot.dexpler.instructions.PseudoInstruction
getData, getDataFirstByte, getDataLastByte, getDataSize, isLoaded, setData, setDataFirstByte, setDataLastByte, setDataSize, setLoaded
-
Methods inherited from class soot.dexpler.instructions.DexlibAbstractInstruction
addTags, getInstruction, getLineNumber, getUnit, getUsedRegistersNums, getUsedRegistersNums, introducedTypes, setLineNumber, setUnit
-
-
-
-
Method Detail
-
switchStatement
protected Stmt switchStatement(DexBody body, org.jf.dexlib2.iface.instruction.Instruction targetData, Local key)
Description copied from class:SwitchInstructionReturn a switch statement based on given target data on the given key.- Specified by:
switchStatementin classSwitchInstruction
-
computeDataOffsets
public void computeDataOffsets(DexBody body)
- Specified by:
computeDataOffsetsin classPseudoInstruction
-
-