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

Method perform_is_offset_writable

python/binaryview.py:4083–4096  ·  view source on GitHub ↗

``perform_is_offset_writable`` implements a check if a virtual address ``addr`` is writable. .. 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

(self, addr: int)

Source from the content-addressed store, hash-verified

4081 return self.is_valid_offset(offset)
4082
4083 def perform_is_offset_writable(self, addr: int) -> bool:
4084 """
4085 ``perform_is_offset_writable`` implements a check if a virtual address ``addr`` is writable.
4086
4087 .. note:: This method **may** be overridden by custom BinaryViews. Use :py:func:`add_auto_segment` to provide \
4088 data without overriding this method.
4089
4090 .. warning:: This method **must not** be called directly.
4091
4092 :param int addr: a virtual address to be checked
4093 :return: true if the virtual address is writable, false if the virtual address is not writable or error
4094 :rtype: bool
4095 """
4096 return self.is_valid_offset(addr)
4097
4098 def perform_is_offset_executable(self, addr: int) -> bool:
4099 """

Callers 1

_is_offset_writableMethod · 0.95

Calls 1

is_valid_offsetMethod · 0.95

Tested by

no test coverage detected