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