centos 7 edb安装
1.安装准备
下载 https://github.com/eteran/edb-debugger/releases/download/0.9.21/edb-debugger-0.9.21.tgz
下载 http://download.qt.io/archive/qt/4.8/4.8.3/qt-everywhere-opensource-src-4.8.3.tar.gz
下载 http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.40.1.tar.gz
2。要安装edb ,需要先安装qmake
需要先安装下qt
1)安装qt依赖包
yum install qt-devel
yum install boost-devel
2) 安装qt
解压qt
tar -zxf qt-everywhere-opensource-src-4.8.3.tar.gz
./configure --prefix=/usr/local/qt
gmake
make install
备注:安装完qt之后,设置环境变量。vi /etc/profile 末尾加入:
export QTDIR=/usr/local/qt
export PATH=$QTDIR/bin:$PATH
然后source /etc/profile 重启之后环境变量生效
$QTDIR/bin 要写在前面,因为写在后面就可能被之前安装的qt给覆盖了。
3)安装graphgraphviz-2.40.1.tar.gz
tar -zxf qt-everywhere-opensource-src-4.8.3.tar.gz
./configure
make && make install
3) 安装edb
tar -zxf
qmake -makefile DEFAULT_PLUGIN_PATH=
"/usr/lib/edb/"
gmake
make
INSTALL_ROOT=/usr
install
然后安装完成,并设置下plugin路径options-->preference-->Directory,设置plugin目录:/usr/usr/local/lib64/edb( 找到plugin目录,设置下)
然后就可以使用edb来分析elf文件了