-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsoundness on SV-COMP for No-Overflow & Memory Properties #1385
Comments
The Since the task actually is specific to 32bit, but we use the current machine's CIL I didn't check the others, but they could also be tasks that were excluded from SV-COMP 2024 due to last-minute modifications. |
For at least one of the mem-cleanup issues, there is another separate problem from what #1354 fixes for the relational analyses: // PARAM: --set ana.malloc.unique_address_count 2 --enable ana.autotune.enabled --set ana.autotune.activated "['singleThreaded']"
typedef struct list {
int key;
struct list *next;
} mlist;
mlist *head;
mlist* search_list(mlist *l, int k){
l = head;
while(l!=((void *)0) && l->key!=k) {
l = l->next;
}
return l;
}
int insert_list(mlist *l, int k){
l = (mlist*)malloc(sizeof(mlist));
l->key = k;
if (head==((void *)0)) {
l->next = ((void *)0);
} else {
l->key = k;
l->next = head;
}
head = l;
return 0;
}
int main(void){
mlist *mylist;
insert_list(mylist,2);
insert_list(mylist,5);
search_list(head,2);
__goblint_check(1);
} In this config, the analysis claims that |
According to SV-COMP community meeting discussion and decision, we are right on test_overflow: https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks/-/merge_requests/1552. |
Noticed during benchmarking of #1354 but already present on master at 8c485c9
No-Overflow
./goblint --conf conf/svcomp24.json --sets ana.specification ~/Documents/sv-comp/sv-benchmarks/c/properties/no-overflow.prp --sets exp.architecture 32bit ~/Documents/sv-comp/sv-benchmarks/c/ldv-regression/test_overflow.i
(make sizes of primitive types configurable with current machine as default #54) Task fixed upstream: https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks/-/merge_requests/1552.Mem-Safety
./goblint --conf conf/svcomp24.json --sets ana.specification ~/Documents/sv-comp/sv-benchmarks/c/properties/valid-memsafety.prp --sets exp.architecture 32bit ~/Documents/sv-comp/sv-benchmarks/c/list-ext3-properties/sll_shallow_copy-2.i
(Withdbg.full-output
off: Combination ofana.malloc.unique_address_count
>=2
&threadid
analysis deactivated unsound #1388)Mem-Cleanup
./goblint --conf conf/svcomp24.json --sets ana.specification ~/Documents/sv-comp/sv-benchmarks/c/properties/valid-memcleanup.prp --sets exp.architecture 32bit ~/Documents/sv-comp/sv-benchmarks/c/list-properties/list_search-1.i
(Withdbg.full-output
off: Combination ofana.malloc.unique_address_count
>=2
&threadid
analysis deactivated unsound #1388)./goblint --conf conf/svcomp24.json --sets ana.specification ~/Documents/sv-comp/sv-benchmarks/c/properties/valid-memcleanup.prp --sets exp.architecture 32bit ~/Documents/sv-comp/sv-benchmarks/c/list-properties/list_search-2.i
(Withdbg.full-output
off: Combination ofana.malloc.unique_address_count
>=2
&threadid
analysis deactivated unsound #1388)The text was updated successfully, but these errors were encountered: