From 6a45c854e8c34bb535c06d0e7d888db966e674f9 Mon Sep 17 00:00:00 2001 From: OB Date: Sat, 21 Oct 2023 12:54:05 -0700 Subject: [PATCH] linting --- pwndbg/commands/telescope.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pwndbg/commands/telescope.py b/pwndbg/commands/telescope.py index 592ec2df1..61de4ddaa 100644 --- a/pwndbg/commands/telescope.py +++ b/pwndbg/commands/telescope.py @@ -36,7 +36,9 @@ skip_repeating_values_minimum = pwndbg.gdblib.config.add_param( "minimum amount of repeated values before skipping lines", ) 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( @@ -274,9 +276,6 @@ def stack(count, offset, frame) -> None: telescope(address=pwndbg.gdblib.regs.sp + offset * ptrsize, count=count, frame=frame) - - - parser = argparse.ArgumentParser( 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.last_address = 0 telescope.offset = 0