MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / append

Method append

python/mediumlevelil.py:3612–3620  ·  view source on GitHub ↗

``append`` adds the ExpressionIndex ``expr`` to the current MediumLevelILFunction. :param ExpressionIndex expr: the ExpressionIndex to add to the current MediumLevelILFunction :return: number of ExpressionIndex in the current function :rtype: int

(self, expr: ExpressionIndex)

Source from the content-addressed store, hash-verified

3610 core.BNSetMediumLevelILExprAttributes(self.handle, expr, result)
3611
3612 def append(self, expr: ExpressionIndex) -> int:
3613 """
3614 ``append`` adds the ExpressionIndex ``expr`` to the current MediumLevelILFunction.
3615
3616 :param ExpressionIndex expr: the ExpressionIndex to add to the current MediumLevelILFunction
3617 :return: number of ExpressionIndex in the current function
3618 :rtype: int
3619 """
3620 return core.BNMediumLevelILAddInstruction(self.handle, expr)
3621
3622 def nop(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
3623 """

Callers 15

llilsMethod · 0.45
hlilsMethod · 0.45
prefix_operandsMethod · 0.45
postfix_operandsMethod · 0.45
vars_readMethod · 0.45
_get_int_listMethod · 0.45
_get_var_listMethod · 0.45
_get_var_ssa_listMethod · 0.45
_get_expr_listMethod · 0.45
vars_readMethod · 0.45
get_ssa_var_usesMethod · 0.45
get_ssa_memory_usesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected