File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ usage() {
1414}
1515
1616# Initialize variables
17- command_args= " "
17+ declare -a command_args
1818path=" "
1919run_command=" verify-std"
2020with_autoharness=" false"
@@ -50,7 +50,7 @@ while [[ $# -gt 0 ]]; do
5050 ;;
5151 --kani-args)
5252 shift
53- command_args=" $@ "
53+ command_args=( " $@ " )
5454 break
5555 ;;
5656 * )
@@ -217,7 +217,7 @@ run_verification_subset() {
217217 $harness_args --exact \
218218 -j \
219219 --output-format=terse \
220- $ command_args \
220+ " ${ command_args[@]} " \
221221 --enable-unstable \
222222 --cbmc-args --object-bits 12
223223}
@@ -299,7 +299,7 @@ main() {
299299 " $kani_path " verify-std -Z unstable-options ./library \
300300 $unstable_args \
301301 --no-assert-contracts \
302- $ command_args \
302+ " ${ command_args[@]} " \
303303 --enable-unstable \
304304 --cbmc-args --object-bits 12
305305 fi
@@ -310,7 +310,7 @@ main() {
310310 " $kani_path " autoharness -Z autoharness -Z unstable-options --std ./library \
311311 $unstable_args \
312312 --no-assert-contracts \
313- $ command_args \
313+ " ${ command_args[@]} " \
314314 --enable-unstable \
315315 --cbmc-args --object-bits 12
316316 elif [[ " $run_command " == " list" ]]; then
You can’t perform that action at this time.
0 commit comments