Lines Matching refs:Thread
36 atf_set "descr" "Test thread sanitizer for use-after-free condition"
43 atf_set "descr" "Test thread sanitizer for use-after-free with profiling option"
49 atf_set "descr" "Test thread sanitizer for use-after-free with position independent code (PIC) flag"
55 atf_set "descr" "Test thread sanitizer for use-after-free with position independent execution (PIE) flag"
67 void *Thread(void *a) {
77 pthread_create(&t, NULL, Thread, NULL);
85 cc -fsanitize=thread -o test test.c
98 void *Thread(void *a) {
108 pthread_create(&t, NULL, Thread, NULL);
116 cc -fsanitize=thread -static -o test -pg test.c
135 void *Thread(void *a) {
145 pthread_create(&t, NULL, Thread, NULL);
153 cc -fsanitize=thread -fPIC -shared -o libtest.so pic.c
154 cc -o test test.c -fsanitize=thread -L. -ltest
172 void *Thread(void *a) {
182 pthread_create(&t, NULL, Thread, NULL);
190 cc -fsanitize=thread -o test -fpie -pie test.c