Fix windbg dX commands with explicit count (#142)

This commit is contained in:
joeleong 2016-12-12 11:54:39 -05:00 committed by Zach Riggle
parent 9e91689be3
commit 73e04e6cc7
1 changed files with 1 additions and 0 deletions

View File

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