Debian Codegraph @

crt/aws-c-common/verification/cbmc/README.md

raw symbols SCIP
1 # CBMC Batch
2
3 Running CBMC Batch jobs for a project.
4
5 ## Expected Directory Structure
6
7 project
8 │ ...
9 │
10 └───.cbmc-batch
11 │ │ ...
12 │ │
13 │ └───jobs
14 │ └───job1
15 │ │ | Makefile
16 │ │ | cbmc-batch.yaml
17 │ └───job2
18 │ │ | Makefile
19 │ │ | cbmc-batch.yaml
20 │ ...
21
22 It is expected that the repository contains a directory `.cbmc-batch`, which itself contains a directory `jobs`. Each directory in `.cbmc-batch/jobs` should correspond to a CBMC Batch job. Each job directory must contain a `Makefile` to be used by CBMC Batch to build the goto for CBMC and a `cbmc-batch.yaml` file to provide CBMC Batch options and provide an expected substring in the result of the CBMC run.
23
24 ## Running Locally
25
26 In order to start the CBMC Batch jobs and check results locally, you need to have installed CBMC Batch.
27
28 You can start the CBMC Batch jobs locally by running
29
30 bash cbmc-batch.sh --start
31
32 You can then check CBMC Batch results locally by running
33
34 bash cbmc-batch.sh --end
35
36 This will run until all the jobs have finished and output results in `results.txt`.
37
38 You can clean up the local CBMC Batch bookkeeping files by running
39
40 bash cbmc-batch.sh --cleanup