/external/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 56 __dfsw_stat(const char *path, struct stat *buf, dfsan_label path_label, in __dfsw_stat() 57 dfsan_label buf_label, dfsan_label *ret_label) { in __dfsw_stat() 66 dfsan_label fd_label, in __dfsw_fstat() 67 dfsan_label buf_label, in __dfsw_fstat() 68 dfsan_label *ret_label) { in __dfsw_fstat() 77 dfsan_label s_label, in __dfsw_strchr() 78 dfsan_label c_label, in __dfsw_strchr() 79 dfsan_label *ret_label) { in __dfsw_strchr() 95 dfsan_label s1_label, dfsan_label s2_label, in DECLARE_WEAK_INTERCEPTOR_HOOK() 96 dfsan_label n_label) in DECLARE_WEAK_INTERCEPTOR_HOOK() [all …]
|
D | dfsan.cc | 33 static const dfsan_label kInitializingLabel = -1; 35 static const uptr kNumLabels = 1 << (sizeof(dfsan_label) * 8); 42 SANITIZER_INTERFACE_ATTRIBUTE THREADLOCAL dfsan_label __dfsan_retval_tls; 43 SANITIZER_INTERFACE_ATTRIBUTE THREADLOCAL dfsan_label __dfsan_arg_tls[64]; 129 static atomic_dfsan_label *union_table(dfsan_label l1, dfsan_label l2) { in union_table() 134 static void dfsan_check_label(dfsan_label label) { in dfsan_check_label() 144 dfsan_label __dfsan_union(dfsan_label l1, dfsan_label l2) { in __dfsan_union() 160 dfsan_label label = 0; in __dfsan_union() 189 dfsan_label __dfsan_union_load(const dfsan_label *ls, uptr n) { in __dfsan_union_load() 190 dfsan_label label = ls[0]; in __dfsan_union_load() [all …]
|
D | dfsan.h | 22 typedef u16 dfsan_label; typedef 25 dfsan_label l1; 26 dfsan_label l2; 32 void dfsan_add_label(dfsan_label label, void *addr, uptr size); 33 void dfsan_set_label(dfsan_label label, void *addr, uptr size); 34 dfsan_label dfsan_read_label(const void *addr, uptr size); 35 dfsan_label dfsan_union(dfsan_label l1, dfsan_label l2); 39 void dfsan_set_label(dfsan_label label, T &data) { // NOLINT in dfsan_set_label() 47 inline dfsan_label *shadow_for(void *ptr) { in shadow_for() 48 return (dfsan_label *) ((((uptr) ptr) & ShadowMask()) << 1); in shadow_for() [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | dfsan_interface.h | 25 typedef uint16_t dfsan_label; typedef 34 dfsan_label l1; 35 dfsan_label l2; 47 dfsan_label dfsan_union(dfsan_label l1, dfsan_label l2); 50 dfsan_label dfsan_create_label(const char *desc, void *userdata); 53 void dfsan_set_label(dfsan_label label, void *addr, size_t size); 57 void dfsan_add_label(dfsan_label label, void *addr, size_t size); 65 dfsan_label dfsan_get_label(long data); 68 dfsan_label dfsan_read_label(const void *addr, size_t size); 71 const struct dfsan_label_info *dfsan_get_label_info(dfsan_label label); [all …]
|
/external/compiler-rt/test/dfsan/ |
D | dump_labels.c | 14 dfsan_label i_label = dfsan_create_label("i", 0); in main() 18 dfsan_label j_label = dfsan_create_label("j", 0); in main() 22 dfsan_label k_label = dfsan_create_label("k", 0); in main() 25 dfsan_label ij_label = dfsan_get_label(i + j); in main() 26 dfsan_label ijk_label = dfsan_get_label(i + j + k); in main() 39 unsigned long num_labels = 1 << (sizeof(dfsan_label) * 8); in main() 41 dfsan_label l = dfsan_create_label("l", 0); in main() 46 dfsan_label l = dfsan_union(5, 6); in main()
|
D | propagate.c | 14 dfsan_label i_label = dfsan_create_label("i", 0); in main() 18 dfsan_label j_label = dfsan_create_label("j", 0); in main() 22 dfsan_label k_label = dfsan_create_label("k", 0); in main() 28 dfsan_label ij_label = dfsan_get_label(i + j); in main() 36 dfsan_label ijk_label = dfsan_get_label(i + j + k); in main()
|
D | basic.c | 11 dfsan_label i_label = dfsan_create_label("i", 0); in main() 14 dfsan_label new_label = dfsan_get_label(i); in main() 17 dfsan_label read_label = dfsan_read_label(&i, sizeof(i)); in main() 20 dfsan_label j_label = dfsan_create_label("j", 0); in main()
|
D | fncall.c | 11 dfsan_label j_label = dfsan_create_label("j", 0); in f() 18 dfsan_label i_label = dfsan_create_label("i", 0); in main() 21 dfsan_label ij_label = dfsan_get_label(f(i)); in main()
|
D | label_count.c | 44 dfsan_label i_label = dfsan_create_label("i", 0); in main() 52 dfsan_label j_label = dfsan_create_label("j", 0); in main()
|
D | flags.c | 15 dfsan_label i_label = dfsan_create_label("i", 0); in main()
|
D | custom.cc | 31 dfsan_label i_label = 0; 32 dfsan_label j_label = 0; 33 dfsan_label k_label = 0; 34 dfsan_label i_j_label = 0;
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 85 dfsan_label dfsan_create_label(const char *desc, void *userdata) { return 0; } in dfsan_create_label() 86 void dfsan_set_label(dfsan_label label, void *addr, size_t size) {} in dfsan_set_label() 87 void dfsan_add_label(dfsan_label label, void *addr, size_t size) {} in dfsan_add_label() 88 const struct dfsan_label_info *dfsan_get_label_info(dfsan_label label) { in dfsan_get_label_info() 91 dfsan_label dfsan_read_label(const void *addr, size_t size) { return 0; } in dfsan_read_label() 181 LabelRange GetLabelRange(dfsan_label L); 183 uint64_t Arg1, uint64_t Arg2, dfsan_label L1, 184 dfsan_label L2); 186 const uint8_t *Data2, dfsan_label L1, 187 dfsan_label L2); [all …]
|
D | FuzzerDFSan.h | 30 dfsan_label dfsan_create_label(const char *desc, void *userdata); 32 void dfsan_set_label(dfsan_label label, void *addr, size_t size); 34 void dfsan_add_label(dfsan_label label, void *addr, size_t size); 36 const struct dfsan_label_info *dfsan_get_label_info(dfsan_label label); 38 dfsan_label dfsan_read_label(const void *addr, size_t size); 49 typedef unsigned short dfsan_label; typedef 51 dfsan_label l1, l2;
|
/external/clang/docs/ |
D | DataFlowSanitizer.rst | 71 label of type ``dfsan_label`` appended to the argument list. If ``F`` 72 is of non-void return type a final argument of type ``dfsan_label *`` 79 void __dfsw_f(int x, dfsan_label x_label); 83 dfsan_label dest_label, dfsan_label src_label, 84 dfsan_label n_label, dfsan_label *ret_label); 125 dfsan_label i_label = dfsan_create_label("i", 0); 129 dfsan_label j_label = dfsan_create_label("j", 0); 133 dfsan_label k_label = dfsan_create_label("k", 0); 136 dfsan_label ij_label = dfsan_get_label(i + j); 141 dfsan_label ijk_label = dfsan_get_label(i + j + k);
|
D | DataFlowSanitizerDesign.rst | 39 dfsan_label dfsan_create_label(const char *desc, void *userdata); 42 void dfsan_set_label(dfsan_label label, void *addr, size_t size); 46 void dfsan_add_label(dfsan_label label, void *addr, size_t size); 54 dfsan_label dfsan_get_label(long data); 57 const struct dfsan_label_info *dfsan_get_label_info(dfsan_label label); 60 int dfsan_has_label(dfsan_label label, dfsan_label elem); 64 dfsan_label dfsan_has_label_with_desc(dfsan_label label, const char *desc);
|