Skip to content

Commit

Permalink
Reduce activated analsyses and add test
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Nov 27, 2023
1 parent 06f543a commit 209a560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/regression/74-invalid_deref/31-multithreaded.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//PARAM: --set ana.activated[+] useAfterFree --set ana.activated[+] threadJoins --set ana.path_sens[+] threadflag --set ana.activated[+] memOutOfBounds --enable ana.int.interval --set ana.base.arrays.domain partitioned --set ana.base.privatization mutex-meet-tid
//PARAM: --set ana.path_sens[+] threadflag --set ana.activated[+] memOutOfBounds --set ana.base.privatization mutex-meet-tid
#include <pthread.h>

int data;
Expand All @@ -15,7 +15,7 @@ int main() {
pthread_create(&id, ((void *)0), t_fun, ((void *)0));
q = p;
pthread_mutex_lock(&mutex);
*q = 8;
*q = 8; //NOWARN
pthread_mutex_unlock(&mutex);
return 0;
}

0 comments on commit 209a560

Please sign in to comment.