Skip to content

Commit

Permalink
Add ability to run cbmc proof for a specific function
Browse files Browse the repository at this point in the history
Add the ability to pass in arguments like:
./run_proofs.sh --function <function_to_test>
  • Loading branch information
bradleysmith23 committed Oct 5, 2023
1 parent e772f0e commit a6d36fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cbmc/run_proofs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ exec cbmc proofs.c "$JobsSourceDir/jobs.c" stubs/strnlen.c \
--signed-overflow-check --unsigned-overflow-check --pointer-overflow-check \
--conversion-check --undefined-shift-check --enum-range-check \
--pointer-primitive-check --drop-unused-functions --nondet-static \
--unwinding-assertions --c99 --unwind "$UNWIND_COUNT" --json-ui \
--unwinding-assertions --c99 "$@" --unwind "$UNWIND_COUNT" --json-ui \
-DUNWIND_COUNT="$UNWIND_COUNT" >&1 | tee output/latest/html/run.json

0 comments on commit a6d36fd

Please sign in to comment.