ubuntu下klee安装方法
来源:互联网 发布:mac excel 行序号 编辑:程序博客网 时间:2024/05/23 14:35
原文地址:http://thread.gmane.org/gmane.comp.compilers.llvm.klee/923
cd ~sudo apt-get -y install g++ curl dejagnu subversion bison flexmkdir workcd workwget http://llvm.org/releases/2.9/llvm-gcc-4.2-2.9-i686-linux.tgztar zxfv llvm-gcc-4.2-2.9-i686-linux.tgzecho "export PATH=\$PATH:~/work/llvm-gcc-4.2-2.9-i686-linux/bin" >> ~/.bashrcecho "export PATH=\$PATH:~/work/klee/Release+Asserts/bin" >> ~/.bashrcecho "export C_INCLUDE_PATH=/usr/include/i386-linux-gnu" >> ~/.bashrcsource ~/.bashrccurl -O http://llvm.org/releases/2.9/llvm-2.9.tgztar zxvf llvm-2.9.tgzcd llvm-2.9./configure --enable-optimized --enable-assertionsmake -j $(grep -c processor /proc/cpuinfo)cd ..svn co -r 940 https://svn.code.sf.net/p/stp-fast-prover/code/trunk/stp stpcd stp./scripts/configure --with-prefix=/home/$(whoami)/work/stp_install --with-cryptominisat2make -j $(grep -c processor /proc/cpuinfo) OPTIMIZE=-O2 CFLAGS_M32= install
cd ..svn co http://llvm.org/svn/llvm-project/klee/trunk kleecd klee./configure --with-llvm=/home/$(whoami)/work/llvm-2.9 --with-stp=/home/$(whoami)/work/stp_installmake -j $(grep -c processor /proc/cpuinfo) ENABLE_OPTIMIZED=1make unittests
(Optional) Build uclibc and the POSIX environment model: By default, KLEE works on closed programs (programs that don’t use any external code such as C library functions). However, if you want to use KLEE to run real programs you will want to enable the KLEE POSIX runtime, which is built on top of the uClibc C library.
$ git clone https://github.com/klee/klee-uclibc.git$ cd klee-uclibc$ ./configure --make-llvm-lib$ make -j2
NOTE: If you are on a different target (i.e., not i386 or x64), you will need to run make config and select the correct target. The defaults for the other uClibc configuration variables should be fine.
0 0
- ubuntu下klee安装方法
- ubuntu下安装KLEE方法
- ubuntu安装klee后的测试
- KLee安装
- Ubuntu14.04下KLEE的安装教程和使用KLEE分析GNC代码的教程
- 安装KLEE-LLVM2.9
- 符号执行工具KLEE安装
- ubuntu 12.04 64位安装KLEE过程中遇到的问题
- ubuntu下安装软件方法
- Ubuntu下opencv安装方法
- ubuntu下安装matlab方法
- ubuntu下安装软件方法
- Ubuntu下安装Nginx方法
- Ubuntu 下安装 NS2 方法
- ubuntu下安装sqldeveloper方法
- ubuntu下软件安装方法
- UBUNTU 下源码安装方法
- ubuntu下安装jdk方法
- linux gzip命令
- Redis的安装
- 项目启动时报错Element type "property" must be followed by either attribute specifications, ">" or "/>"
- 递归/动态规划问题
- UI widget
- ubuntu下klee安装方法
- excel 快速删除表格中的公司只保留数字(包括一个表格包含多个工作表的情况)
- VC 创建Windows服务程序2
- 判断JS对象是否拥有某属性 js进制间相互转换
- POJ 2590 Steps (ZOJ 1871)
- 百度地图开发简单案例(源代码)
- Sobel和Roberts算子的推导过程
- String.format()方法使用说明
- ubuntu下llvm-gcc the Potential incompatible plugin version解决办法