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

Method block

python/highlevelil.py:2979–2990  ·  view source on GitHub ↗

``block`` a block expression containing multiple child expressions :param List[ExpressionIndex] exprs: child expressions in the block :param ILSourceLocation loc: location of returned expression :return: The expression `` { exprs... } `` :rtype: ExpressionIndex

(
		self, exprs: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None
	)

Source from the content-addressed store, hash-verified

2977 return self.expr(HighLevelILOperation.HLIL_NOP, source_location=loc)
2978
2979 def block(
2980 self, exprs: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None
2981 ) -> ExpressionIndex:
2982 """
2983 ``block`` a block expression containing multiple child expressions
2984
2985 :param List[ExpressionIndex] exprs: child expressions in the block
2986 :param ILSourceLocation loc: location of returned expression
2987 :return: The expression `` { exprs... } ``
2988 :rtype: ExpressionIndex
2989 """
2990 return self.expr(HighLevelILOperation.HLIL_BLOCK, len(exprs), self.add_operand_list(exprs), source_location=loc)
2991
2992 def if_expr(
2993 self, condition: ExpressionIndex, true_expr: ExpressionIndex, false_expr: ExpressionIndex,

Callers

nothing calls this directly

Calls 2

exprMethod · 0.95
add_operand_listMethod · 0.95

Tested by

no test coverage detected