Home
last modified time | relevance | path

Searched refs:i_label (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/compiler-rt/test/dfsan/
Dcustom.cpp34 dfsan_label i_label = 0; variable
53 dfsan_set_label(i_label, &i, sizeof(i)); in test_stat()
62 ASSERT_LABEL(s.st_dev, i_label); in test_stat()
67 dfsan_set_label(i_label, &i, sizeof(i)); in test_fstat()
79 dfsan_set_label(i_label, &str1[3], 1); in test_memcmp()
93 dfsan_set_label(i_label, &str1[3], 1); in test_bcmp()
112 dfsan_set_label(i_label, &str1[3], 1); in test_memcpy()
117 ASSERT_LABEL(str2[3], i_label); in test_memcpy()
134 dfsan_set_label(i_label, &str1[3], 1); in test_strcmp()
148 dfsan_set_label(i_label, &str1[3], 1); in test_strlen()
[all …]
Dstruct.c38 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
39 dfsan_set_label(i_label, &i, sizeof(i)); in main()
49 assert(dfsan_has_label(i1_label, i_label)); in main()
51 assert(dfsan_has_label(ptr1_label, i_label)); in main()
60 assert(dfsan_has_label(i2_label, i_label)); in main()
62 assert(dfsan_has_label(ptr2_label, i_label)); in main()
71 assert(dfsan_has_label(i3_label, i_label)); in main()
73 assert(dfsan_has_label(ptr3_label, i_label)); in main()
Dpropagate.c14 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
15 dfsan_set_label(i_label, &i, sizeof(i)); in main()
29 assert(dfsan_has_label(ij_label, i_label)); in main()
33 assert(dfsan_union(i_label, j_label) == ij_label); in main()
34 assert(dfsan_union(j_label, i_label) == ij_label); in main()
37 assert(dfsan_has_label(ijk_label, i_label)); in main()
Dbasic.c11 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
12 dfsan_set_label(i_label, &i, sizeof(i)); in main()
15 assert(i_label == new_label); in main()
18 assert(i_label == read_label); in main()
24 assert(dfsan_has_label(read_label, i_label)); in main()
Dfncall.c18 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
19 dfsan_set_label(i_label, &i, sizeof(i)); in main()
22 assert(dfsan_has_label(ij_label, i_label)); in main()
Ddump_labels.c14 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
15 dfsan_set_label(i_label, &i, sizeof(i)); in main()
28 fprintf(stderr, "i %d j %d k %d ij %d ijk %d\n", i_label, j_label, k_label, in main()
Dflags.c15 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
16 dfsan_set_label(i_label, &i, sizeof(i)); in main()
Dlabel_count.c44 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
45 dfsan_set_label(i_label, &i, sizeof(i)); in main()
/external/compiler-rt/test/dfsan/
Dcustom.cc31 dfsan_label i_label = 0; variable
50 dfsan_set_label(i_label, &i, sizeof(i)); in test_stat()
59 ASSERT_LABEL(s.st_dev, i_label); in test_stat()
64 dfsan_set_label(i_label, &i, sizeof(i)); in test_fstat()
76 dfsan_set_label(i_label, &str1[3], 1); in test_memcmp()
91 dfsan_set_label(i_label, &str1[3], 1); in test_memcpy()
96 ASSERT_LABEL(str2[3], i_label); in test_memcpy()
113 dfsan_set_label(i_label, &str1[3], 1); in test_strcmp()
127 dfsan_set_label(i_label, &str1[3], 1); in test_strlen()
134 ASSERT_LABEL(rv, i_label); in test_strlen()
[all …]
Dpropagate.c14 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
15 dfsan_set_label(i_label, &i, sizeof(i)); in main()
29 assert(dfsan_has_label(ij_label, i_label)); in main()
33 assert(dfsan_union(i_label, j_label) == ij_label); in main()
34 assert(dfsan_union(j_label, i_label) == ij_label); in main()
37 assert(dfsan_has_label(ijk_label, i_label)); in main()
Dbasic.c11 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
12 dfsan_set_label(i_label, &i, sizeof(i)); in main()
15 assert(i_label == new_label); in main()
18 assert(i_label == read_label); in main()
24 assert(dfsan_has_label(read_label, i_label)); in main()
Dfncall.c18 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
19 dfsan_set_label(i_label, &i, sizeof(i)); in main()
22 assert(dfsan_has_label(ij_label, i_label)); in main()
Ddump_labels.c14 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
15 dfsan_set_label(i_label, &i, sizeof(i)); in main()
28 fprintf(stderr, "i %d j %d k %d ij %d ijk %d\n", i_label, j_label, k_label, in main()
Dflags.c15 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
16 dfsan_set_label(i_label, &i, sizeof(i)); in main()
Dlabel_count.c44 dfsan_label i_label = dfsan_create_label("i", 0); in main() local
45 dfsan_set_label(i_label, &i, sizeof(i)); in main()
/external/llvm-project/clang/docs/
DDataFlowSanitizer.rst153 dfsan_label i_label = dfsan_create_label("i", 0);
154 dfsan_set_label(i_label, &i, sizeof(i));
165 assert(dfsan_has_label(ij_label, i_label));
170 assert(dfsan_has_label(ijk_label, i_label));
205 dfsan_label i_label = 1;
208 dfsan_set_label(i_label, &i, sizeof(i));
214 assert(ij_label & i_label); // ij_label has i_label
221 assert(ijk_label & i_label); // ijk_label has i_label
/external/clang/docs/
DDataFlowSanitizer.rst125 dfsan_label i_label = dfsan_create_label("i", 0);
126 dfsan_set_label(i_label, &i, sizeof(i));
137 assert(dfsan_has_label(ij_label, i_label));
142 assert(dfsan_has_label(ijk_label, i_label));