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

Method perform_is_offset_readable

python/binaryview.py:4068–4081  ·  view source on GitHub ↗

``perform_is_offset_readable`` implements a check if a virtual address is readable. .. note:: This method **may** be overridden by custom BinaryViews. Use :py:func:`add_auto_segment` to provide \ data without overriding this method. .. warning:: This method **must not** be called directly

(self, offset: int)

Source from the content-addressed store, hash-verified

4066 return (data is not None) and (len(data) == 1)
4067
4068 def perform_is_offset_readable(self, offset: int) -> bool:
4069 """
4070 ``perform_is_offset_readable`` implements a check if a virtual address is readable.
4071
4072 .. note:: This method **may** be overridden by custom BinaryViews. Use :py:func:`add_auto_segment` to provide \
4073 data without overriding this method.
4074
4075 .. warning:: This method **must not** be called directly.
4076
4077 :param int offset: a virtual address to be checked
4078 :return: true if the virtual address is readable, false if the virtual address is not readable or error
4079 :rtype: bool
4080 """
4081 return self.is_valid_offset(offset)
4082
4083 def perform_is_offset_writable(self, addr: int) -> bool:
4084 """

Callers 1

_is_offset_readableMethod · 0.95

Calls 1

is_valid_offsetMethod · 0.95

Tested by

no test coverage detected