binaryninja.highlevelil.HighLevelILInstruction

class HighLevelILInstruction(func, expr_index, as_ast=True, instr_index=None)[source]

class HighLevelILInstruction High Level Intermediate Language Instructions form an abstract syntax tree of the code. Control flow structures are present as high level constructs in the HLIL tree.

__init__(func, expr_index, as_ast=True, instr_index=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(func, expr_index[, as_ast, instr_index])

Initialize self.

get_possible_values([options])

get_ssa_var_version(var)

Attributes

ILOperations

address

ast

This expression with full AST printing (read-only)

expr_index

expr_type

Type of expression

function

il_basic_block

IL basic block object containing this expression (read-only) (only available on finalized functions)

instr

The statement that this expression belongs to (read-only)

instr_index

Index of the statement that this expression belongs to (read-only)

lines

HLIL text lines (read-only)

non_ast

This expression without full AST printing (read-only)

non_ssa_form

Non-SSA form of expression (read-only)

operands

operation

parent

postfix_operands

All operands in the expression tree in postfix order

prefix_operands

All operands in the expression tree in prefix order

size

source_operand

ssa_form

SSA form of expression (read-only)

ssa_memory_version

Version of active memory contents in SSA form for this instruction