-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
Tânia Esteves edited this page Sep 7, 2021
·
2 revisions
- For CatBpf:
- Kernel 5.4+
- Go 1.14+
- BCC tools (#e41f7a3)
- For CatStrace:
- Python 3.8 (with pip support)
- Strace
- For Falcon-Solver:
-
Z3 Theorem Prover (make sure that the
z3binary is in the environment PATH/usr/binor/usr/local/bin) - Maven
-
Z3 Theorem Prover (make sure that the
- For CaSolver:
- Python 3.8 (with pip support) / Go 1.14+
- Falcon-Visualizer:
- npm
Run the following command to clone CaT's repository with its submodules:
git clone --recursive https://github.com/dsrhaslab/cat.git
CaT's components are independent and, therefore, can be leveraged by different projects. To set up the full pipeline, install each particular component according to the following instructions:
Install the CaTracer component
- Go to CatBpf folder:
cd cat/catracer/catbpf/ - Run
go build .orgo installto build thecatbpfbinary. (When using the latter, the binary is placed at$GOPATH/bin).
- Go to CatStrace folder:
cd cat/catracer/catstrace/ - Run
sudo pip install -e .to install it locally and to makecatstraceavailable globally.
Install the Falcon-Solver component
-
Install falcon-taz:
i. Go to falcon-taz folder:
cd cat/falcon-tazii. Run
mvn package install -
Install falcon-solver:
i. Go to falcon-solver folder:
cd cat/falcon-solverii. Run
mvn package
Install the CaSolver component
- Go to casolver-go folder:
cd cat/casolver/casolver-go/ - Run
go build .orgo installto build thecasolver-gobinary. (When using the latter, the binary is placed at$GOPATH/bin).
- Go to casolver-py folder:
cd cat/casolver/casolver-py/ - Run
sudo pip install -e .to install it locally and makecasolver-pyavailable globally.
Install the Falcon-Visualizer component
- Go to falcon-visualizer folder:
cd cat/falcon-visualizer/ - Run
npm install