Skip to content

Commit

Permalink
Add witness missing verdict to YAML witness unassume
Browse files Browse the repository at this point in the history
Better than "EXCEPTION (Failure)" as verdict.
  • Loading branch information
sim642 committed Jun 25, 2024
1 parent bc3fac8 commit 9fd0fd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/analyses/unassumeAnalysis.ml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ struct

let yaml = match Yaml_unix.of_file (Fpath.v (GobConfig.get_string "witness.yaml.unassume")) with
| Ok yaml -> yaml
| Error (`Msg m) -> failwith ("Yaml_unix.of_file: " ^ m)
| Error (`Msg m) ->
Logs.error "Yaml_unix.of_file: %s" m;
Svcomp.errorwith "witness missing"
in
let yaml_entries = yaml |> GobYaml.list |> BatResult.get_ok in

Expand Down

0 comments on commit 9fd0fd5

Please sign in to comment.