From df26a11b576afe3b7a1149d83173cdf921acb40c Mon Sep 17 00:00:00 2001 From: CptGibbon <16000770+CptGibbon@users.noreply.github.com> Date: Wed, 28 Sep 2022 14:25:53 -0700 Subject: [PATCH] Remove `template_heap_command` --- pwndbg/commands/heap.py | 47 ----------------------------------------- 1 file changed, 47 deletions(-) diff --git a/pwndbg/commands/heap.py b/pwndbg/commands/heap.py index c948be616..b4651f6d8 100644 --- a/pwndbg/commands/heap.py +++ b/pwndbg/commands/heap.py @@ -95,53 +95,6 @@ def format_bin(bins, verbose=False, offset=None): return result -parser = argparse.ArgumentParser() -parser.description = "Template heap command. You can ignore this." -parser.add_argument("addr", type=int, help="Address of a chunk header.") - - -@pwndbg.commands.ArgparsedCommand(parser) -@pwndbg.commands.OnlyWhenRunning -@pwndbg.commands.OnlyWithResolvedHeapSyms -@pwndbg.commands.OnlyWhenHeapIsInitialized -def template_heap_command(addr): - """Template heap command with example uses of pwndbg's heap classes.""" - - # `addr` is a gdb.Value of one of several types, depending on how the user invoked this command - # e.g. template_heap_command
vs. template_heap_command