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

Method processes

api/python/debuggercontroller.py:624–636  ·  view source on GitHub ↗

The processes of the target.

(self)

Source from the content-addressed store, hash-verified

622
623 @property
624 def processes(self) -> List[DebugProcess]:
625 """
626 The processes of the target.
627 """
628 count = ctypes.c_ulonglong()
629 process_list = dbgcore.BNDebuggerGetProcessList(self.handle, count)
630 result = []
631 for i in range(0, count.value):
632 process = DebugProcess(process_list[i].m_pid, process_list[i].m_processName)
633 result.append(process)
634
635 dbgcore.BNDebuggerFreeProcessList(process_list, count.value)
636 return result
637
638 @property
639 def threads(self) -> List[DebugThread]:

Callers

nothing calls this directly

Calls 1

DebugProcessClass · 0.70

Tested by

no test coverage detected