File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -58,5 +58,5 @@ elif echo $args_inst | grep -q -- "--dump-c" ; then
5858
5959 rm " ${name}${dfcc_suffix} -mod.c"
6060fi
61- $goto_instrument --show-goto-functions " ${name}${dfcc_suffix} -mod.gb"
61+ $goto_instrument --no-malloc-fail -- show-goto-functions " ${name}${dfcc_suffix} -mod.gb"
6262$cbmc --no-standard-checks " ${name}${dfcc_suffix} -mod.gb" ${args_cbmc}
Original file line number Diff line number Diff line change 2121fi
2222
2323rm -f " ${target} -mod.gb"
24- $goto_instrument ${args} " ${target} .gb" " ${target} -mod.gb"
24+ $goto_instrument --no-malloc-fail ${args} " ${target} .gb" " ${target} -mod.gb"
2525if [ ! -e " ${target} -mod.gb" ] ; then
2626 cp " ${target} .gb" " ${target} -mod.gb"
2727elif echo $args | grep -q -- " --dump-c-type-header" ; then
@@ -39,5 +39,5 @@ elif echo $args | grep -q -- "--dump-c" ; then
3939
4040 rm " ${target} -mod.c"
4141fi
42- $goto_instrument --show-goto-functions " ${target} -mod.gb"
42+ $goto_instrument --no-malloc-fail -- show-goto-functions " ${target} -mod.gb"
4343$cbmc --no-standard-checks " ${target} -mod.gb"
Original file line number Diff line number Diff line change 3737rm -f " ${name} -mod.gb"
3838rm -f " ${name} -mod-2.gb"
3939echo " Running goto-instrument: "
40- $goto_instrument ${args_inst} " ${name} .gb" " ${name} -mod.gb"
40+ $goto_instrument --no-malloc-fail ${args_inst} " ${name} .gb" " ${name} -mod.gb"
4141if [ ! -e " ${name} -mod.gb" ] ; then
4242 cp " $name .gb" " ${name} -mod.gb"
4343elif echo $args_inst | grep -q -- " --dump-c" ; then
@@ -53,9 +53,9 @@ elif echo $args_inst | grep -q -- "--dump-c" ; then
5353fi
5454echo " Running goto-synthesizer: "
5555if echo $args_synthesizer | grep -q -- " --dump-loop-contracts" ; then
56- $goto_synthesizer ${args_synthesizer} " ${name} -mod.gb"
56+ $goto_synthesizer ${args_synthesizer} --no-malloc-fail " ${name} -mod.gb"
5757else
58- $goto_synthesizer ${args_synthesizer} " ${name} -mod.gb" " ${name} -mod-2.gb"
58+ $goto_synthesizer ${args_synthesizer} --no-malloc-fail " ${name} -mod.gb" " ${name} -mod-2.gb"
5959 echo " Running CBMC: "
6060 $cbmc --no-standard-checks ${args_cbmc} " ${name} -mod-2.gb"
6161fi
You can’t perform that action at this time.
0 commit comments