File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55set -e
66
7- set -e
8-
9- BASEDIR=" $( realpath ` dirname $0 ` ) "
7+ BASEDIR=" $( realpath " $( dirname " $0 " ) " ) "
108
119CP_FILE=" $BASEDIR /silicon_classpath.txt"
1210
13- if [ ! -f $CP_FILE ]; then
14- (cd $BASEDIR ; sbt " export runtime:dependencyClasspath" | tail -n1 > $CP_FILE )
11+ if [ ! -f " $CP_FILE " ]; then
12+ (cd " $BASEDIR " ; sbt " export runtime:dependencyClasspath" | tail -n1 > " $CP_FILE " )
1513fi
1614
17- exec java -Xss30M -Dlogback.configurationFile=" $BASEDIR /src/main/resources/logback.xml" -cp " ` cat $CP_FILE ` " viper.silicon.SiliconRunner " $@ "
15+ exec java -Xss30M -Dlogback.configurationFile=" $BASEDIR /src/main/resources/logback.xml" -cp " $( cat " $CP_FILE " ) " viper.silicon.SiliconRunner " $@ "
Original file line number Diff line number Diff line change @@ -425,7 +425,15 @@ class Z3ProverStdIO(uniqueId: String,
425425 logger warn msg
426426 }
427427
428- repeat = warning
428+ // When `smt.qi.profile` is `true`, Z3 periodically reports the quantifier instantiations using the format
429+ // `[quantifier_instances] "<quantifier_id>" : <instances> : <maximum generation> : <maximum cost>`.
430+ // See: https://github.com/Z3Prover/z3/issues/4522
431+ val qiProfile = result.startsWith(" [quantifier_instances]" )
432+ if (qiProfile) {
433+ logger info result
434+ }
435+
436+ repeat = warning || qiProfile
429437 }
430438
431439 result
You can’t perform that action at this time.
0 commit comments