pull/1929/head
OB 2 years ago committed by Disconnect3d
parent 5eabb70c04
commit 6a45c854e8

@ -36,7 +36,9 @@ skip_repeating_values_minimum = pwndbg.gdblib.config.add_param(
"minimum amount of repeated values before skipping lines", "minimum amount of repeated values before skipping lines",
) )
print_framepointer_offset = pwndbg.gdblib.config.add_param( print_framepointer_offset = pwndbg.gdblib.config.add_param(
"telescope-framepointer-offset", True, "print offset to framepointer for each address, if sufficiently small" "telescope-framepointer-offset",
True,
"print offset to framepointer for each address, if sufficiently small",
) )
offset_separator = theme.add_param( offset_separator = theme.add_param(
@ -274,9 +276,6 @@ def stack(count, offset, frame) -> None:
telescope(address=pwndbg.gdblib.regs.sp + offset * ptrsize, count=count, frame=frame) telescope(address=pwndbg.gdblib.regs.sp + offset * ptrsize, count=count, frame=frame)
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="Dereferences on stack data, printing the entire stack frame with specified count and offset ." description="Dereferences on stack data, printing the entire stack frame with specified count and offset ."
) )
@ -298,6 +297,5 @@ def stackf(count, offset) -> None:
telescope(address=pwndbg.gdblib.regs.sp + offset * ptrsize, count=count, frame=True) telescope(address=pwndbg.gdblib.regs.sp + offset * ptrsize, count=count, frame=True)
telescope.last_address = 0 telescope.last_address = 0
telescope.offset = 0 telescope.offset = 0

Loading…
Cancel
Save