From f795d5d6b6d171310734f062129429ec7f9eb663 Mon Sep 17 00:00:00 2001 From: k4lizen <124312252+k4lizen@users.noreply.github.com> Date: Tue, 25 Mar 2025 19:10:29 +0100 Subject: [PATCH] remove redundant telescope mentions (#2784) --- docs/commands/index.md | 3 --- docs/commands/p2p/ts.md | 32 -------------------------------- docs/commands/peda/xprint.md | 32 -------------------------------- pwndbg/commands/peda.py | 4 ---- 4 files changed, 71 deletions(-) delete mode 100644 docs/commands/p2p/ts.md delete mode 100644 docs/commands/peda/xprint.md diff --git a/docs/commands/index.md b/docs/commands/index.md index e8f841e5c..58cf36a46 100644 --- a/docs/commands/index.md +++ b/docs/commands/index.md @@ -93,7 +93,6 @@ - [contextunwatch](context/contextunwatch.md) Removes an expression previously added to be watched. - [contextwatch](context/contextwatch.md) - [regs](context/regs.md) Print out all registers and enhance the information. -- [xinfo](xinfo/xinfo.md) Shows offsets of the specified address from various useful locations. ## Register @@ -110,8 +109,6 @@ - [mmap](mmap/mmap.md) - [mprotect](mprotect/mprotect.md) - [p2p](p2p/p2p.md) Pointer to pointer chain search. Searches given mapping for all pointers that point to specified mapping. -- [telescope](p2p/ts.md) Recursively dereferences pointers starting at the specified address. -- [telescope](peda/xprint.md) Recursively dereferences pointers starting at the specified address. - [probeleak](probeleak/probeleak.md) - [search](search/search.md) Search memory for byte sequences, strings, pointers, and integer values. - [telescope](telescope/telescope.md) Recursively dereferences pointers starting at the specified address. diff --git a/docs/commands/p2p/ts.md b/docs/commands/p2p/ts.md deleted file mode 100644 index 597bf8f17..000000000 --- a/docs/commands/p2p/ts.md +++ /dev/null @@ -1,32 +0,0 @@ - - - - -# telescope - -## Description - - -Recursively dereferences pointers starting at the specified address. -## Usage: - - -```bash -usage: telescope [-h] [-r] [-f] [-i] [address] [count] - -``` -## Positional Arguments - -|Positional Argument|Help| -| :--- | :--- | -|`address`|The address to telescope at. (default: %(default)s)| -|`count`|The number of lines to show. (default: %(default)s)| - -## Optional Arguments - -|Short|Long|Default|Help| -| :--- | :--- | :--- | :--- | -|`-h`|`--help`||show this help message and exit| -|`-r`|`--reverse`||Show previous addresses instead of next ones (default: %(default)s)| -|`-f`|`--frame`||Show the stack frame, from rsp to rbp (default: %(default)s)| -|`-i`|`--inverse`||Show the stack reverse growth (default: %(default)s)| diff --git a/docs/commands/peda/xprint.md b/docs/commands/peda/xprint.md deleted file mode 100644 index 597bf8f17..000000000 --- a/docs/commands/peda/xprint.md +++ /dev/null @@ -1,32 +0,0 @@ - - - - -# telescope - -## Description - - -Recursively dereferences pointers starting at the specified address. -## Usage: - - -```bash -usage: telescope [-h] [-r] [-f] [-i] [address] [count] - -``` -## Positional Arguments - -|Positional Argument|Help| -| :--- | :--- | -|`address`|The address to telescope at. (default: %(default)s)| -|`count`|The number of lines to show. (default: %(default)s)| - -## Optional Arguments - -|Short|Long|Default|Help| -| :--- | :--- | :--- | :--- | -|`-h`|`--help`||show this help message and exit| -|`-r`|`--reverse`||Show previous addresses instead of next ones (default: %(default)s)| -|`-f`|`--frame`||Show the stack frame, from rsp to rbp (default: %(default)s)| -|`-i`|`--inverse`||Show the stack reverse growth (default: %(default)s)| diff --git a/pwndbg/commands/peda.py b/pwndbg/commands/peda.py index 1d580c18a..779a035b3 100644 --- a/pwndbg/commands/peda.py +++ b/pwndbg/commands/peda.py @@ -48,7 +48,3 @@ def xuntil(target) -> None: gdb.execute("continue", from_tty=False) else: gdb.execute("run", from_tty=False) - - -xinfo = pwndbg.commands.context.context -xprint = pwndbg.commands.telescope.telescope