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

Method break_expr

python/highlevelil.py:3084–3092  ·  view source on GitHub ↗

``break`` break out of a loop or switch statement :param ILSourceLocation loc: location of returned expression :return: The expression ``break`` :rtype: ExpressionIndex

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

Source from the content-addressed store, hash-verified

3082 return self.expr(HighLevelILOperation.HLIL_CASE, len(values), self.add_operand_list(values), expr, source_location=loc)
3083
3084 def break_expr(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
3085 """
3086 ``break`` break out of a loop or switch statement
3087
3088 :param ILSourceLocation loc: location of returned expression
3089 :return: The expression ``break``
3090 :rtype: ExpressionIndex
3091 """
3092 return self.expr(HighLevelILOperation.HLIL_BREAK, source_location=loc)
3093
3094 def continue_expr(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
3095 """

Callers

nothing calls this directly

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected