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

Method perform_is_offset_executable

python/binaryview.py:4098–4111  ·  view source on GitHub ↗

``perform_is_offset_executable`` implements a check if a virtual address ``addr`` is executable. .. 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 ca

(self, addr: int)

Source from the content-addressed store, hash-verified

4096 return self.is_valid_offset(addr)
4097
4098 def perform_is_offset_executable(self, addr: int) -> bool:
4099 """
4100 ``perform_is_offset_executable`` implements a check if a virtual address ``addr`` is executable.
4101
4102 .. note:: This method **may** be overridden by custom BinaryViews. Use :py:func:`add_auto_segment` to provide \
4103 data without overriding this method.
4104
4105 .. warning:: This method **must not** be called directly.
4106
4107 :param int addr: a virtual address to be checked
4108 :return: true if the virtual address is executable, false if the virtual address is not executable or error
4109 :rtype: bool
4110 """
4111 return self.is_valid_offset(addr)
4112
4113 def perform_get_next_valid_offset(self, addr: int) -> int:
4114 """

Callers 1

_is_offset_executableMethod · 0.95

Calls 1

is_valid_offsetMethod · 0.95

Tested by

no test coverage detected