The threads of the target.
(self)
| 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: |
nothing calls this directly
no test coverage detected