mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
idautils.py: Added Threads() iterator to enum threads
This commit is contained in:
@@ -171,6 +171,10 @@ def XrefsTo(ea, flags=0):
|
||||
while xref.next_to():
|
||||
yield _copy_xref(xref)
|
||||
|
||||
def Threads():
|
||||
"""Returns all thread IDs"""
|
||||
for i in xrange(0, idc.GetThreadQty()):
|
||||
yield idc.GetThreadId(i)
|
||||
|
||||
def Heads(start=idaapi.cvar.inf.minEA, end=idaapi.cvar.inf.maxEA):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user