binaryninja.mediumlevelil.MediumLevelILInstruction¶
-
class
MediumLevelILInstruction(func, expr_index, instr_index=None)[source]¶ class MediumLevelILInstructionMedium Level Intermediate Language Instructions are infinite length tree-based instructions. Tree-based instructions use infix notation with the left hand operand being the destination operand. Infix notation is thus more natural to read than other notations (e.g. x86mov eax, 0vs. MLILeax = 0).-
__init__(func, expr_index, instr_index=None)[source]¶ x.__init__(…) initializes x; see help(type(x)) for signature
Methods
__init__(func, expr_index[, instr_index])x.__init__(…) initializes x; see help(type(x)) for signature get_branch_dependence(branch_instr)get_flag_value(flag)get_flag_value_after(flag)get_possible_flag_values(flag)get_possible_flag_values_after(flag)get_possible_reg_values(reg)get_possible_reg_values_after(reg)get_possible_stack_contents(offset, size)get_possible_stack_contents_after(offset, size)get_reg_value(reg)get_reg_value_after(reg)get_ssa_var_possible_values(ssa_var)get_ssa_var_version(var)get_stack_contents(offset, size)get_stack_contents_after(offset, size)get_var_for_flag(flag)get_var_for_reg(reg)get_var_for_stack_location(offset)Attributes
ILOperationsbranch_dependenceSet of branching instructions that must take the true or false path to reach this instruction expr_typeType of expression il_basic_blockIL basic block object containing this expression (read-only) (only available on finalized functions) low_level_ilLow level IL form of this expression non_ssa_formNon-SSA form of expression (read-only) possible_valuesPossible values of expression using path-sensitive static data flow analysis (read-only) postfix_operandsAll operands in the expression tree in postfix order prefix_operandsAll operands in the expression tree in prefix order ssa_formSSA form of expression (read-only) ssa_memory_versionVersion of active memory contents in SSA form for this instruction tokensMLIL tokens (read-only) valueValue of expression if constant or a known value (read-only) vars_readList of variables read by instruction vars_writtenList of variables written by instruction -