Home
last modified time | relevance | path

Searched refs:DFT (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp118 static void DFTStringAppendToVector(std::vector<uint8_t> *DFT, in DFTStringAppendToVector() argument
120 assert(DFT->size() == DFTString.size()); in DFTStringAppendToVector()
121 for (size_t I = 0, Len = DFT->size(); I < Len; I++) in DFTStringAppendToVector()
122 (*DFT)[I] = DFTString[I] == '1'; in DFTStringAppendToVector()
127 std::vector<uint8_t> DFT(DFTString.size()); in DFTStringToVector() local
128 DFTStringAppendToVector(&DFT, DFTString); in DFTStringToVector()
129 return DFT; in DFTStringToVector()
H A DFuzzerLoop.cpp539 TimeOfUnit, UniqFeatureSetTmp, DFT, II); in RunOne()
855 /*TimeOfUnit=*/duration_cast<microseconds>(0s), {0}, DFT, in ReadAndExecuteSeedCorpora()
862 DFT.Init(Options.DataFlowTrace, &FocusFunctionOrAuto, CorporaFiles, in Loop()
866 DFT.Clear(); // No need for DFT any more. in Loop()
H A DFuzzerInternal.h137 DataFlowTrace DFT; variable
H A DFuzzerCorpus.h213 const DataFlowTrace &DFT, const InputInfo *BaseII) { in AddToCorpus() argument
237 if (auto V = DFT.Get(Sha1Str)) in AddToCorpus()
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Donly-some-bytes-fork.test12 …verage=trace-pc-guard,pc-table,bb,trace-cmp %S/OnlySomeBytesTest.cpp %t-DataFlow*.o -o %t-DFT
15 # Test that the fork mode can collect and use the DFT
17 DISABLED: not %t-Fuzz -collect_data_flow=%t-DFT -use_value_profile=1 -runs=100000000 -fork=20 2> %t…
H A Donly-some-bytes.test12 …verage=trace-pc-guard,pc-table,bb,trace-cmp %S/OnlySomeBytesTest.cpp %t-DataFlow*.o -o %t-DFT
36 DISABLED: %t-Fuzz -collect_data_flow=%t-DFT %t/IN -data_flow_trace=%t/IN_DFT > /dev/null 2>&1
38 # Repeat twice to make sure that the inputs with DFT are not removed from the corpus.
43 # Collect DFT, then use it.
45 DISABLED: rm -rf %t/C_DFT && %t-Fuzz -collect_data_flow=%t-DFT %t/C -data_flow_trace=%t/C_DFT > /de…
H A Ddataflow.test100 # Test libFuzzer's built in DFT collection.
101 RUN: rm -rf %t-DFT
102 RUN: %t-ThreeFunctionsTest -collect_data_flow=%t-ThreeFunctionsTestDF -data_flow_trace=%t-DFT %t/I…
103 RUN: cat %t-DFT/* | sort | FileCheck %s --check-prefix=IN_FUZZMU
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/tests/
H A DFuzzerUnittest.cpp631 DataFlowTrace DFT; in TEST() local
642 /*FeatureSet*/ {}, DFT, in TEST()
656 DataFlowTrace DFT; in TEST() local
665 /*FeatureSet*/ {}, DFT, in TEST()
672 /*FeatureSet*/ {}, DFT, in TEST()
1076 TEST(DFT, BlockCoverage) { in TEST() argument
1140 TEST(DFT, FunctionWeights) { in TEST() argument
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp701 SmallVector<Value *, 8> DFT; in gather() local
706 DFT.push_back(V); in gather()
708 while (!DFT.empty()) { in gather()
709 V = DFT.pop_back_val(); in gather()
717 DFT.push_back(Op1); in gather()
719 DFT.push_back(Op0); in gather()