longld / peda

PEDA - Python Exploit Development Assistance for GDB
Other
5.84k stars 801 forks source link

gdb no longer works #156

Open irodionzaytsev opened 4 years ago

irodionzaytsev commented 4 years ago

After installing peda it has way too many side effects. For example IDE debuggers show only hex. Peda should not affect gdb and be installed separately by default. Change installation instructions.

red0xff commented 3 years ago

Hello @irodionzaytsev , you can have peda usable without having your gdb installation affected (programs using gdb will not have peda loaded by default), personally, I have these lines in my ~/.bashrc script:

alias peda="gdb -iex 'source /opt/peda/peda.py' --nh -q"
alias gef="gdb -iex 'source /opt/gef/gef.py' --nh -q"
alias pwndbg="gdb -iex 'source /opt/pwndbg/gdbinit.py' --nh -q"

and I just run : peda ./my_program, or gef ./my_program when I want to use the given extension. (Of course, each of their repos is cloned in /opt/ in my case)