idautils.py: Small whitespace and indentation fixes

This commit is contained in:
gergely.erdelyi 2009-10-17 20:38:40 +00:00
parent 9c80378afe
commit 8e66e14588

View File

@ -171,11 +171,13 @@ 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):
"""
Get a list of heads (instructions or data)