Closed leunam99 closed 2 years ago
The fact that an SV-COMP program redefines a standard function is arguably not allowed and I've proposed to have it changed, including this benchmark: https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks/-/merge_requests/1358. Although I think we didn't have a problem with this in SV-COMP 2022.
Oddly though, that output contains INVALIDATING ALL GLOBALS!
as if we didn't find either copy of the function. I'm not sure what that's about.
The sv-benchmarks MR has been merged and this is no longer unsound in the preruns.
For the sv-comp test
termination-crafted/Binary_Search-1.c
in the category no-overflow Goblint returns a wrong result. The problem is that it has a function bsearch, which also exists in includes/stdlib.c If I delete the function in stlib.c, the result changes to unknown.The command:
./goblint --conf conf/svcomp22.json --set ana.specification /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/no-overflow.prp /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/Binary_Search-1.c
results in the console output: