From 9f4df6991fa7ea5b25c74ff3b7af7fc4b04c04d0 Mon Sep 17 00:00:00 2001 From: "elias.bachaalany" Date: Thu, 24 Sep 2009 10:42:09 +0000 Subject: [PATCH] idautils.py: GetDataList() was not working with 64bit addresses --- python/idautils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/idautils.py b/python/idautils.py index b5b4afa..b25aeb9 100644 --- a/python/idautils.py +++ b/python/idautils.py @@ -255,8 +255,11 @@ def GetDataList(ea, count, itemsize=1): else: raise ValueError, "Invalid data size! Must be 1, 2, 4 or 8" - for curea in xrange(ea, ea+itemsize*count, itemsize): + endea = ea + itemsize * count + curea = ea + while curea < endea: yield getdata(curea) + curea += itemsize def FuncItems(start):