We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41af31c + 5fa37a3 commit 2e0fcc8Copy full SHA for 2e0fcc8
scripts/csmith.sh
@@ -60,6 +60,9 @@ csmith_test() {
60
# Prepare the test CBMC by injecting the checksum as an assertion.
61
gcc -E -I/usr/include/csmith -D__FRAMAC \
62
-D'Frama_C_dump_assert_each()'="assert($check==(crc))" $f -o $bn.i
63
+ # We don't model argv here, so make sure we don't end up with a spurious
64
+ # null-pointer use.
65
+ sed -i 's/strcmp(argv\[1\], "1")/0/' $bn.i
66
# Run the test using CBMC for up to 90 seconds, unwinding loops up to 257
67
# times.
68
ec=0
0 commit comments