git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
echo "DONE! debug your program with gdb and enjoy"
sudo apt-get remove gdb wget http://security.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.4-2012.02-0ubuntu2_i386.deb sudo dpkg -i ./gdb_7.4-2012.02-0ubuntu2_i386.deb |
sudo apt-get remove gdb wget http://security.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.4-2012.02-0ubuntu2_amd64.deb sudo dpkg -i ./gdb_7.4-2012.02-0ubuntu2_amd64.deb |
### 참조
http://askubuntu.com/questions/548435/trouble-compiling-gdb-with-python-2-7-support-for-gdb-peda (힌트)
https://github.com/longld/peda (다운로드)
https://hwchen18546.wordpress.com/2014/12/17/linux-install-gdb-peda-in-ubuntu-14-04/ (원리)
'MEMO' 카테고리의 다른 글
ARM gdb-peda 설치 (0) | 2016.04.01 |
---|---|
ROPgadget Tool (0) | 2016.03.31 |
hping3 (0) | 2016.03.26 |
14.04에서 rtl8188cus 모듈 컴파일 하기 (0) | 2016.03.23 |
자주가는 링크 (0) | 2015.06.07 |