forked from namhyung/uftrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Static Code Analysis
Paran Lee edited this page Sep 7, 2022
·
6 revisions
sudo apt -y install build-essential opam default-jdk ocaml sqlite3 libsqlite3-dev cmake ninja-build
git clone https://github.com/facebook/infer
cd infer
./build-infer.sh clang
## clang compile -> y
sudo make install
cd ~/uftrace
# infer run --force-integration make
# infer run -- make -j8
infer run -- make ASAN=1 -j8
# sudo apt -y install sparse
sudo apt -y install clang llvm
git clone https://git.kernel.org/pub/scm/devel/sparse/sparse.git
cd sparse
make
sudo make install
cd ~/uftrace
make C=1