Skip to content
 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0. Install npm, zlib, unzip, cmake, gcc, nodejs (if you machine does not have these libs)

sudo apt-get install zlib1g-dev unzip cmake gcc g++ nodejs python3

1. Install SVF and its dependence (LLVM pre-built binary) via npm

npm i --silent svf-lib --prefix ${HOME}

2. Clone repository

git clone https://github.com/SVF-tools/SVF-example.git

3. Setup SVF environment and create python lib

source ./env.sh

create python lib

cmake . && make

4. Analyze a bc file using svf-ex.py

clang -S -c -g -fno-discard-value-names -emit-llvm example.c -o example.ll
python3 ./src/svf-ex.py example.ll

About

Using SVF in Python Projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages