goblint / analyzer

Static analysis framework for C
https://goblint.in.tum.de
MIT License
160 stars 72 forks source link

Nicer SV-COMP result for validator when witness is missing #1521

Closed sim642 closed 1 week ago

sim642 commented 1 week ago

Currently our SV-COMP validator returns ERROR (Failure) whenever the witness file is missing. This is quite ugly because it's very non-informative and could include other failwith cases which are indistinguishable.

This PR changes the verdict to ERROR (witness missing) in such cases. It also refactors the passing of YAML witness validation to the SV-COMP result printing to be explicit rather than go through global variables.

TODO