Avoid invoking a function of property when auto-completing

See https://github.com/pwndbg/pwndbg/pull/1170#issuecomment-1259041809
pull/1177/head
lebr0nli 3 years ago committed by Disconnect3d
parent 6a3faa0a17
commit 33d9e35b0f

@ -32,7 +32,9 @@ def ipi():
with switch_to_ipython_env():
# Use `gdb.execute` to embed IPython into GDB's variable scope
code4ipython = """import IPython
import jedi
import pwn
jedi.Interpreter._allow_descriptor_getattr_default = False
IPython.embed(colors='neutral',banner1='',confirm_exit=False,simple_prompt=False)
""".strip().replace(
"\n", ";"

Loading…
Cancel
Save