MCPcopy Create free account
hub / github.com/Vector35/debugger / modules

Method modules

api/python/debuggercontroller.py:685–699  ·  view source on GitHub ↗

The modules of the target :return: a list of ``DebugModule``

(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 1

DebugModuleClass · 0.70

Tested by

no test coverage detected