mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
idautils.py: Functions() will return the correct list of functions even in large binaries
This commit is contained in:
parent
ea4cd26a6a
commit
5ec97ef3aa
@ -219,8 +219,9 @@ def Functions(start=None, end=None):
|
||||
if not func:
|
||||
func = idaapi.get_next_func(start)
|
||||
while func and func.startEA < end:
|
||||
yield func.startEA
|
||||
func = idaapi.get_next_func(func.startEA)
|
||||
startea = func.startEA
|
||||
yield startea
|
||||
func = idaapi.get_next_func(startea)
|
||||
|
||||
|
||||
def Chunks(start):
|
||||
@ -546,4 +547,4 @@ class _cpu(object):
|
||||
return idc.SetRegValue(value, name)
|
||||
|
||||
cpu = _cpu()
|
||||
procregs = _procregs()
|
||||
procregs = _procregs()
|
||||
|
Loading…
Reference in New Issue
Block a user