idautils.py: GetDataList() was not working with 64bit addresses

This commit is contained in:
elias.bachaalany 2009-09-24 10:42:09 +00:00
parent 45099f4ad4
commit 9f4df6991f

View File

@ -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):