mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
idautils.py: Added Threads() iterator to enum threads
This commit is contained in:
parent
4191b186d9
commit
9917459559
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user