-
Notifications
You must be signed in to change notification settings - Fork 435
Try SVF in Docker
Yulei Sui edited this page Feb 1, 2022
·
33 revisions
If you do not have access to a Mac or Linux OS or if you just want to try SVF without going through the installation steps in your local machine, you can do so on Docker with our Docker image.
Understand Docker using the following links (optional):
docker login
3. Build a docker image containing a built SVF using this Dockerfile
cp Dockerfile .
docker build -t "svftools/svf" .
Or download the image from Docker Hub (https://hub.docker.com/r/svftools/svf/). Note that this is an older version of SVF
docker pull svftools/svf
docker run -i -t svftools/svf /bin/bash
. ./setup.sh
6. Run PTABen test cases or following our wiki for analyzing a program
git clone https://github.com/SVF-tools/Test-Suite.git
Run test cases for Andersen's analysis
cd PTABen
./runtest.sh
docker image ls
docker container ls
docker start "your_container_name"
sudo docker tag [existing image name or ID] [Docker Hub username or organization]/[repository name]:[tag]
sudo docker tag svf rockysui/svf:latest
sudo docker push [Docker Hub username or organization name]/[repository name]:[tag]
sudo docker push rockysui/svf:latest