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

Method threads

api/python/debuggercontroller.py:639–651  ·  view source on GitHub ↗

The threads of the target.

(self)

Source from the content-addressed store, hash-verified

637
638 @property
639 def threads(self) -> List[DebugThread]:
640 """
641 The threads of the target.
642 """
643 count = ctypes.c_ulonglong()
644 threads = dbgcore.BNDebuggerGetThreads(self.handle, count)
645 result = []
646 for i in range(0, count.value):
647 bp = DebugThread(threads[i].m_tid, threads[i].m_rip)
648 result.append(bp)
649
650 dbgcore.BNDebuggerFreeThreads(threads, count.value)
651 return result
652
653 @property
654 def active_thread(self) -> DebugThread:

Callers

nothing calls this directly

Calls 1

DebugThreadClass · 0.70

Tested by

no test coverage detected