aboutsummaryrefslogtreecommitdiffstats
path: root/src/verit
diff options
context:
space:
mode:
authorChantal Keller <Chantal.Keller@lri.fr>2020-03-03 10:16:28 +0100
committerChantal Keller <Chantal.Keller@lri.fr>2020-03-03 10:16:28 +0100
commitbaeb3e355eaa0e0dd0601c3a9265e996ea534512 (patch)
tree5f3bf41511943a03ab71312454bea59182550c3b /src/verit
parent31b398dc8bc7f6d62ea9e38504045aaa2c2fd018 (diff)
downloadsmtcoq-baeb3e355eaa0e0dd0601c3a9265e996ea534512.tar.gz
smtcoq-baeb3e355eaa0e0dd0601c3a9265e996ea534512.zip
veriT does not distinguish between warnings and errors (#64)
Diffstat (limited to 'src/verit')
-rw-r--r--src/verit/verit.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verit/verit.ml b/src/verit/verit.ml
index c94f53c..39f60c0 100644
--- a/src/verit/verit.ml
+++ b/src/verit/verit.ml
@@ -192,6 +192,8 @@ let call_verit _ rt ro ra' rf' first lsmt =
let n = String.length l in
if l = "warning : proof_done: status is still open" then
raise Unknown
+ else if l = "Invalid memory reference" then
+ Structures.warning "verit-warning" ("veriT outputted the warning: " ^ l)
else if n >= 7 && String.sub l 0 7 = "warning" then
Structures.warning "verit-warning" ("veriT outputted the warning: " ^ (String.sub l 7 (n-7)))
else if n >= 8 && String.sub l 0 8 = "error : " then