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(): while xref.next_to():
yield _copy_xref(xref) yield _copy_xref(xref)
def Threads(): def Threads():
"""Returns all thread IDs""" """Returns all thread IDs"""
for i in xrange(0, idc.GetThreadQty()): for i in xrange(0, idc.GetThreadQty()):
yield idc.GetThreadId(i) yield idc.GetThreadId(i)
def Heads(start=idaapi.cvar.inf.minEA, end=idaapi.cvar.inf.maxEA): def Heads(start=idaapi.cvar.inf.minEA, end=idaapi.cvar.inf.maxEA):
""" """
Get a list of heads (instructions or data) Get a list of heads (instructions or data)