From 2ef7eae42b97e69394fba22f1ee77c6e95194d3a Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Mon, 18 May 2015 17:25:45 -0400 Subject: [PATCH] Add "k" command --- pwndbg/commands/windbg.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pwndbg/commands/windbg.py b/pwndbg/commands/windbg.py index 76f4cf0e3..30e42b7c8 100644 --- a/pwndbg/commands/windbg.py +++ b/pwndbg/commands/windbg.py @@ -258,3 +258,8 @@ def u(where=None, n=5): where = pwndbg.regs.pc cmd = 'x/%ii %#x' % (int(n), int(where)) gdb.execute(cmd) + +@pwndbg.commands.Command +@pwndbg.commands.OnlyWhenRunning +def k(): + gdb.execute('bt') \ No newline at end of file