mirror of https://github.com/pwndbg/pwndbg
Fix windbg dX commands with explicit count (#142)
This commit is contained in:
parent
9e91689be3
commit
73e04e6cc7
|
@ -78,6 +78,7 @@ def dX(size, address, count, to_string=False):
|
|||
values = []
|
||||
address = int(address) & pwndbg.arch.ptrmask
|
||||
type = get_type(size)
|
||||
count = int(count)
|
||||
for i in range(count):
|
||||
try:
|
||||
gval = pwndbg.memory.poi(type, address + i * size)
|
||||
|
|
Loading…
Reference in New Issue