/external/llvm-project/compiler-rt/test/dfsan/ |
D | custom.cpp | 34 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 …]
|
D | struct.c | 38 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()
|
D | propagate.c | 14 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()
|
D | basic.c | 11 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()
|
D | fncall.c | 18 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()
|
D | dump_labels.c | 14 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()
|
D | flags.c | 15 dfsan_label i_label = dfsan_create_label("i", 0); in main() local 16 dfsan_set_label(i_label, &i, sizeof(i)); in main()
|
D | label_count.c | 44 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/ |
D | custom.cc | 31 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 …]
|
D | propagate.c | 14 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()
|
D | basic.c | 11 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()
|
D | fncall.c | 18 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()
|
D | dump_labels.c | 14 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()
|
D | flags.c | 15 dfsan_label i_label = dfsan_create_label("i", 0); in main() local 16 dfsan_set_label(i_label, &i, sizeof(i)); in main()
|
D | label_count.c | 44 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/ |
D | DataFlowSanitizer.rst | 153 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/ |
D | DataFlowSanitizer.rst | 125 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));
|