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

Method eval

python/binaryview.py:9931–9935  ·  view source on GitHub ↗

Evaluates a string expression to an integer value. This is a more concise alias for the :py:func:`parse_expression` API

(self, expression: str, here: int = 0)

Source from the content-addressed store, hash-verified

9929 return offset.value
9930
9931 def eval(self, expression: str, here: int = 0) -> int:
9932 """
9933 Evaluates a string expression to an integer value. This is a more concise alias for the :py:func:`parse_expression` API
9934 """
9935 return self.parse_expression(expression, here)
9936
9937 def reader(self, address: Optional[int] = None) -> 'BinaryReader':
9938 return BinaryReader(self, address=address)

Callers

nothing calls this directly

Calls 1

parse_expressionMethod · 0.95

Tested by

no test coverage detected