``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)
| 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 | """ |
no test coverage detected