mirror of https://github.com/pwndbg/pwndbg
Avoid invoking a function of property when auto-completing
See https://github.com/pwndbg/pwndbg/pull/1170#issuecomment-1259041809
This commit is contained in:
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…
Reference in New Issue