The modules of the target :return: a list of ``DebugModule``
(self)
| 683 | |
| 684 | @property |
| 685 | def modules(self) -> List[DebugModule]: |
| 686 | """ |
| 687 | The modules of the target |
| 688 | |
| 689 | :return: a list of ``DebugModule`` |
| 690 | """ |
| 691 | count = ctypes.c_ulonglong() |
| 692 | modules = dbgcore.BNDebuggerGetModules(self.handle, count) |
| 693 | result = [] |
| 694 | for i in range(0, count.value): |
| 695 | bp = DebugModule(modules[i].m_name, modules[i].m_short_name, modules[i].m_address, modules[i].m_size, modules[i].m_loaded) |
| 696 | result.append(bp) |
| 697 | |
| 698 | dbgcore.BNDebuggerFreeModules(modules, count.value) |
| 699 | return result |
| 700 | |
| 701 | @property |
| 702 | def regs(self) -> DebugRegisters: |
nothing calls this directly
no test coverage detected