You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should open a docker container with all code2inv setup completed.
29
26
27
+
If you want to build the docker container yourself, run:
28
+
```
29
+
$ docker build -t code2inv/code2inv docker/
30
+
```
31
+
which should create a docker image named code2inv/code2inv.
32
+
30
33
## Basic Setup
31
34
The following are needed for running the basic setup
32
35
- python-3.7
@@ -46,9 +49,9 @@ Remember to set environment variables `LD_LIBRARY_PATH` and `PYTHONPATH` to cont
46
49
## Frontend Setup (Optional)
47
50
There are two frontends, one each for the C and CHC instances. The C frontend is called clang-fe and can be found in the `clang-fe/` directory. The CHC frontend is called chc-fe and is located in the `chc-fe/` directory. These frontends have limited support and are tested with the benchmarks included. Primarily, they can be used with programs containing single loops.
48
51
49
-
The `clang-fe` frontend is used to extract program graphs and verification conditions (VCs) from the input C programs. This will be a necessary step if you wish to run Code2Inv on a C file which isn't in the benchmarks. The program graphs and VCs for our benchmarks are already included in the `benchmarks/C_instances` directory and the same for the Non Linear benchmarks are included in the `benchmarks/nl-bench/` directory. To build the frontend, follow the instructions in README in `clang-fe`.
52
+
The `clang-fe` frontend is used to extract program graphs and verification conditions (VCs) from the input C programs. This will be a necessary step if you wish to run Code2Inv on a C file which isn't in the benchmarks. The program graphs and VCs for our benchmarks are already included in the `benchmarks/C_instances` directory and the same for the Non Linear benchmarks are included in the `benchmarks/nl-bench/` directory. To build the frontend, follow the instructions in [README](clang-fe/README.md) in `clang-fe`.
50
53
51
-
The `chc-fe` frontend is used to extract program graphs from the input CHC programs (the CHC constraints themselves serve as the verification conditions (VCs)). This will be necessary to run Code2Inv for constraints not included in the benchmarks. The graphs and the VCs are already included in the `benchmarks/CHC_instances` directory. To run the CHC frontend, follow the instructions in README in `chc-fe`.
54
+
The `chc-fe` frontend is used to extract program graphs from the input CHC programs (the CHC constraints themselves serve as the verification conditions (VCs)). This will be necessary to run Code2Inv for constraints not included in the benchmarks. The graphs and the VCs are already included in the `benchmarks/CHC_instances` directory. To run the CHC frontend, follow the instructions in [README](chc-fe/README) in `chc-fe`.
0 commit comments