Return the mapped memory sections
(self)
| 10202 | return self.__maps |
| 10203 | |
| 10204 | def __parse_maps(self) -> List[Section]: |
| 10205 | """Return the mapped memory sections""" |
| 10206 | try: |
| 10207 | if is_qemu_system(): |
| 10208 | return list(self.__parse_info_mem()) |
| 10209 | except gdb.error: |
| 10210 | # Target may not support this command |
| 10211 | pass |
| 10212 | try: |
| 10213 | return list(self.__parse_procfs_maps()) |
| 10214 | except FileNotFoundError: |
| 10215 | return list(self.__parse_gdb_info_sections()) |
| 10216 | |
| 10217 | def __parse_procfs_maps(self) -> Generator[Section, None, None]: |
| 10218 | """Get the memory mapping from procfs.""" |
no test coverage detected