mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-30 21:14:20 +01:00
idautils.py: GetDataList() was not working with 64bit addresses
This commit is contained in:
parent
45099f4ad4
commit
9f4df6991f
@ -255,8 +255,11 @@ def GetDataList(ea, count, itemsize=1):
|
|||||||
else:
|
else:
|
||||||
raise ValueError, "Invalid data size! Must be 1, 2, 4 or 8"
|
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)
|
yield getdata(curea)
|
||||||
|
curea += itemsize
|
||||||
|
|
||||||
|
|
||||||
def FuncItems(start):
|
def FuncItems(start):
|
||||||
|
Loading…
Reference in New Issue
Block a user