commonil module¶
Class |
Description |
|---|---|
ILSourceLocation is used to indicate where expressions were defined during the lifting process |
|
- class AliasedVariableInstruction[source]
Bases:
VariableInstructionAliasedVariableInstruction()
- __init__() None
- Return type:
None
- class Arithmetic[source]
Bases:
BaseILInstructionArithmetic()
- __init__() None
- Return type:
None
- class BaseILInstruction[source]
Bases:
objectBaseILInstruction()
- __init__() None
- Return type:
None
- classmethod prepend_parent(graph: FlowGraph, node: FlowGraphNode, nodes={})[source]
- Parameters:
graph (FlowGraph) –
node (FlowGraphNode) –
- classmethod show_hierarchy_graph()[source]
- class BinaryOperation[source]
Bases:
BaseILInstructionBinaryOperation()
- __init__() None
- Return type:
None
- class Call[source]
Bases:
ControlFlowCall()
- __init__() None
- Return type:
None
- class Carry[source]
Bases:
ArithmeticCarry()
- __init__() None
- Return type:
None
- class Comparison[source]
Bases:
BinaryOperationComparison()
- __init__() None
- Return type:
None
- class Constant[source]
Bases:
BaseILInstructionConstant()
- __init__() None
- Return type:
None
- class ControlFlow[source]
Bases:
BaseILInstructionControlFlow()
- __init__() None
- Return type:
None
- class DoublePrecision[source]
Bases:
ArithmeticDoublePrecision()
- __init__() None
- Return type:
None
- class FloatingPoint[source]
Bases:
BaseILInstructionFloatingPoint()
- __init__() None
- Return type:
None
- class ILSourceLocation[source]
Bases:
objectILSourceLocation is used to indicate where expressions were defined during the lifting process and gets propagated through the lifting process as an instruction’s address/source_operand properties. These are used for, for example, integer display types and expression addresses.
- classmethod from_instruction(instr: LowLevelILInstruction | MediumLevelILInstruction | HighLevelILInstruction, il_direct: bool = True) ILSourceLocation[source]
Get the source location of a given instruction :param instr: Instruction, Low, Medium, or High level :return: Its location
- Parameters:
instr (LowLevelILInstruction | MediumLevelILInstruction | HighLevelILInstruction) –
il_direct (bool) –
- Return type:
- address: int
- il_direct: bool = True
- source_hlil_instruction: HighLevelILInstruction | None = None
- source_llil_instruction: LowLevelILInstruction | None = None
- source_mlil_instruction: MediumLevelILInstruction | None = None
- source_operand: int
- class Intrinsic[source]
Bases:
BaseILInstructionIntrinsic()
- __init__() None
- Return type:
None
- class Load[source]
Bases:
BaseILInstructionLoad()
- __init__() None
- Return type:
None
- class Loop[source]
Bases:
ControlFlowLoop()
- __init__() None
- Return type:
None
- class Memory[source]
Bases:
BaseILInstructionMemory()
- __init__() None
- Return type:
None
- class RegisterStack[source]
Bases:
BaseILInstructionRegisterStack()
- __init__() None
- Return type:
None
- class SSA[source]
Bases:
BaseILInstructionSSA()
- __init__() None
- Return type:
None
- class SSAVariableInstruction[source]
Bases:
SSA,VariableInstructionSSAVariableInstruction()
- __init__() None
- Return type:
None
- class SetVar[source]
Bases:
BaseILInstructionSetVar()
- __init__() None
- Return type:
None
- class Signed[source]
Bases:
BaseILInstructionSigned()
- __init__() None
- Return type:
None
- class StackOperation[source]
Bases:
BaseILInstructionStackOperation()
- __init__() None
- Return type:
None
- class Store[source]
Bases:
BaseILInstructionStore()
- __init__() None
- Return type:
None
- class Terminal[source]
Bases:
ControlFlowTerminal()
- __init__() None
- Return type:
None
- class UnaryOperation[source]
Bases:
BaseILInstructionUnaryOperation()
- __init__() None
- Return type:
None
- class VariableInstruction[source]
Bases:
BaseILInstructionVariableInstruction()
- __init__() None
- Return type:
None
AliasedVariableInstruction¶
- class AliasedVariableInstruction[source]¶
Bases:
VariableInstructionAliasedVariableInstruction()
Arithmetic¶
- class Arithmetic[source]¶
Bases:
BaseILInstructionArithmetic()
BaseILInstruction¶
BinaryOperation¶
- class BinaryOperation[source]¶
Bases:
BaseILInstructionBinaryOperation()
Call¶
- class Call[source]¶
Bases:
ControlFlowCall()
Carry¶
- class Carry[source]¶
Bases:
ArithmeticCarry()
Comparison¶
- class Comparison[source]¶
Bases:
BinaryOperationComparison()
Constant¶
- class Constant[source]¶
Bases:
BaseILInstructionConstant()
ControlFlow¶
- class ControlFlow[source]¶
Bases:
BaseILInstructionControlFlow()
DoublePrecision¶
- class DoublePrecision[source]¶
Bases:
ArithmeticDoublePrecision()
FloatingPoint¶
- class FloatingPoint[source]¶
Bases:
BaseILInstructionFloatingPoint()
ILSourceLocation¶
- class ILSourceLocation[source]¶
Bases:
objectILSourceLocation is used to indicate where expressions were defined during the lifting process and gets propagated through the lifting process as an instruction’s address/source_operand properties. These are used for, for example, integer display types and expression addresses.
- classmethod from_instruction(instr: LowLevelILInstruction | MediumLevelILInstruction | HighLevelILInstruction, il_direct: bool = True) ILSourceLocation[source]¶
Get the source location of a given instruction :param instr: Instruction, Low, Medium, or High level :return: Its location
- Parameters:
instr (LowLevelILInstruction | MediumLevelILInstruction | HighLevelILInstruction) –
il_direct (bool) –
- Return type:
- source_hlil_instruction: HighLevelILInstruction | None = None¶
- source_llil_instruction: LowLevelILInstruction | None = None¶
- source_mlil_instruction: MediumLevelILInstruction | None = None¶
Intrinsic¶
- class Intrinsic[source]¶
Bases:
BaseILInstructionIntrinsic()
Load¶
- class Load[source]¶
Bases:
BaseILInstructionLoad()
Localcall¶
Loop¶
- class Loop[source]¶
Bases:
ControlFlowLoop()
Memory¶
- class Memory[source]¶
Bases:
BaseILInstructionMemory()
Phi¶
RegisterStack¶
- class RegisterStack[source]¶
Bases:
BaseILInstructionRegisterStack()
Return¶
SSA¶
- class SSA[source]¶
Bases:
BaseILInstructionSSA()
SSAVariableInstruction¶
SetReg¶
SetVar¶
- class SetVar[source]¶
Bases:
BaseILInstructionSetVar()
Signed¶
- class Signed[source]¶
Bases:
BaseILInstructionSigned()
StackOperation¶
- class StackOperation[source]¶
Bases:
BaseILInstructionStackOperation()
Store¶
- class Store[source]¶
Bases:
BaseILInstructionStore()
Syscall¶
Tailcall¶
Terminal¶
- class Terminal[source]¶
Bases:
ControlFlowTerminal()
UnaryOperation¶
- class UnaryOperation[source]¶
Bases:
BaseILInstructionUnaryOperation()
VariableInstruction¶
- class VariableInstruction[source]¶
Bases:
BaseILInstructionVariableInstruction()