require running process for retaddr and procinfo cmd (#191)

pull/194/head
Levente Polyak 9 years ago committed by Zach Riggle
parent 63dcd221cd
commit d277918670

@ -194,10 +194,12 @@ class Process():
return tuple(result)
@pwndbg.commands.Command
@pwndbg.commands.OnlyWhenRunning
def pid():
print(pwndbg.proc.pid)
@pwndbg.commands.Command
@pwndbg.commands.OnlyWhenRunning
def procinfo():
"""
Display information about the running process.

Loading…
Cancel
Save