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

Method goto

python/lowlevelil.py:5823–5835  ·  view source on GitHub ↗

``goto`` returns a goto expression which jumps to the provided LowLevelILLabel. :param LowLevelILLabel label: Label to jump to :param ILSourceLocation loc: location of returned expression :return: the ExpressionIndex that jumps to the provided label :rtype: ExpressionIndex

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

Source from the content-addressed store, hash-verified

5821 return self.expr(LowLevelILOperation.LLIL_FCMP_UO, a, b, size=size, source_location=loc)
5822
5823 def goto(self, label: LowLevelILLabel, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
5824 """
5825 ``goto`` returns a goto expression which jumps to the provided LowLevelILLabel.
5826
5827 :param LowLevelILLabel label: Label to jump to
5828 :param ILSourceLocation loc: location of returned expression
5829 :return: the ExpressionIndex that jumps to the provided label
5830 :rtype: ExpressionIndex
5831 """
5832 if loc is not None:
5833 return ExpressionIndex(core.BNLowLevelILGotoWithLocation(self.handle, label.handle, loc.address, loc.source_operand))
5834 else:
5835 return ExpressionIndex(core.BNLowLevelILGoto(self.handle, label.handle))
5836
5837 def if_expr(
5838 self, operand: ExpressionIndex, t: LowLevelILLabel, f: LowLevelILLabel,

Callers 2

copy_expr_toMethod · 0.45
jumpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected