mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Modernize Python 2 code to get ready for Python 3
This commit is contained in:
@@ -107,7 +107,7 @@ def CallStackWalk(nn):
|
||||
sp = idautils.cpu.Esp - word_size
|
||||
while sp < stack_seg.end_ea:
|
||||
sp += word_size
|
||||
ptr = idautils.GetDataList(sp, 1, word_size).next()
|
||||
ptr = next(idautils.GetDataList(sp, 1, word_size))
|
||||
seg = ida_segment.getseg(ptr)
|
||||
# only accept executable segments
|
||||
if (not seg) or ((seg.perm & ida_segment.SEGPERM_EXEC) == 0):
|
||||
|
||||
Reference in New Issue
Block a user