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

Method is_valid_offset

python/binaryview.py:4616–4624  ·  view source on GitHub ↗

``is_valid_offset`` checks if a virtual address ``addr`` is valid . :param int addr: a virtual address to be checked :return: True if the virtual address is valid, False if the virtual address is invalid or error :rtype: bool

(self, addr: int)

Source from the content-addressed store, hash-verified

4614 return core.BNGetNextValidOffset(self.handle, addr)
4615
4616 def is_valid_offset(self, addr: int) -> bool:
4617 """
4618 ``is_valid_offset`` checks if a virtual address ``addr`` is valid .
4619
4620 :param int addr: a virtual address to be checked
4621 :return: True if the virtual address is valid, False if the virtual address is invalid or error
4622 :rtype: bool
4623 """
4624 return core.BNIsValidOffset(self.handle, addr)
4625
4626 def is_offset_readable(self, addr: int) -> bool:
4627 """

Callers 4

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected