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.
1 parent ca038c6 commit eb01891Copy full SHA for eb01891
regression/cbmc/Failing_Assert1/external-z3.desc
@@ -0,0 +1,10 @@
1
+CORE gcc-only
2
+main.c
3
+--external-sat-solver ./z3-wrapper.sh --trace
4
+^VERIFICATION FAILED$
5
+^EXIT=10$
6
+^SIGNAL=0$
7
+--
8
+^warning: ignoring
9
10
+This test is marked "gcc-only" as resolving ./ won't work with Windows.
regression/cbmc/Failing_Assert1/z3-wrapper.sh
+#!/bin/sh
+
+# handle output by older Z3 versions where the output was not compatible with
+# current SAT solvers
+z3 $1 2>&1 | \
+ perl -n -e '
+ print "s ".uc($1)."ISFIABLE\n" if(/^((un)?sat)\s*$/);
+ print "v $_\n" if(/^-?\d+/);
+ print "$_\n" if(/^[sv]\s+/);' 2>&1
0 commit comments