Skip to content

Commit

Permalink
Fix test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerhard committed Nov 29, 2023
1 parent c40ec43 commit 5a8ae91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//PARAM: --set ana.modular.funs "['write']" --set ana.activated[+] "'modular_queries'" --set ana.activated[+] "'is_modular'" --set ana.activated[+] "'written'" --set ana.activated[+] "'read'" --set ana.activated[+] "'used_globals'"
//PARAM: --set ana.modular.funs "['read']" --set ana.activated[+] "'modular_queries'" --set ana.activated[+] "'is_modular'" --set ana.activated[+] "'written'" --set ana.activated[+] "'read'" --set ana.activated[+] "'used_globals'"
#include<stdlib.h>
#include<pthread.h>
#include<stdio.h>
Expand All @@ -17,7 +17,7 @@ void change_pointer(int* i){

void *thread1(void *pp){
int **pp_typed = (int**)pp;
write(pp_typed); // RACE
read(pp_typed); // RACE
return NULL;
}

Expand Down

0 comments on commit 5a8ae91

Please sign in to comment.