Home
last modified time | relevance | path

Searched refs:__dft (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlowCallbacks.cpp38 __dft.NumGuards = GuardsEnd - GuardsBeg; in __sanitizer_cov_pcs_init()
39 __dft.PCsBeg = pcs_beg; in __sanitizer_cov_pcs_init()
40 __dft.PCsEnd = pcs_end; in __sanitizer_cov_pcs_init()
41 assert(__dft.NumGuards == (__dft.PCsEnd - __dft.PCsBeg) / 2); in __sanitizer_cov_pcs_init()
44 __dft.NumFuncs++; in __sanitizer_cov_pcs_init()
45 GuardsBeg[i] = __dft.NumFuncs; in __sanitizer_cov_pcs_init()
48 __dft.BBExecuted = (bool*)calloc(__dft.NumGuards, sizeof(bool)); in __sanitizer_cov_pcs_init()
50 "and %zd basic blocks\n", __dft.NumFuncs, __dft.NumGuards); in __sanitizer_cov_pcs_init()
58 __dft.BBExecuted[GuardIdx] = true; in __sanitizer_cov_trace_pc_guard()
67 assert(CurrentFunc < __dft.NumFuncs); in __dfsw___sanitizer_cov_trace_switch()
[all …]
H A DDataFlow.cpp74 CallbackData __dft; variable
80 return __dft.PCsBeg[BlockIdx * 2 + 1] & PCFLAG_FUNC_ENTRY; in BlockIsEntry()
97 for (size_t I = 0; I < __dft.NumGuards; I++) { in PrintFunctions()
98 uintptr_t PC = __dft.PCsBeg[I * 2]; in PrintFunctions()
117 for (size_t Func = 0; Func < __dft.NumFuncs; Func++) { in PrintDataFlow()
139 for (size_t FuncBeg = 0; FuncBeg < __dft.NumGuards;) { in PrintCoverage()
143 for (; FuncEnd < __dft.NumGuards && !BlockIsEntry(FuncEnd); FuncEnd++) in PrintCoverage()
145 if (__dft.BBExecuted[FuncBeg]) { in PrintCoverage()
148 if (__dft.BBExecuted[I]) in PrintCoverage()
180 (dfsan_label *)calloc(__dft.NumFuncs, sizeof(dfsan_label)); in main()
[all …]
H A DDataFlow.h26 extern CallbackData __dft;