MCPcopy Create free account
hub / github.com/bytedance/bolt / clearInputCorpus

Function clearInputCorpus

bolt/vector/fuzzer/VectorFuzzer.cpp:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103template <typename T>
104void clearInputCorpus(std::set<T>& inputCorpus) {
105 inputCorpus.clear();
106 BOLT_CHECK_EQ(inputCorpus.size(), 0);
107}
108
109template <typename T>
110T getInputFromInputCorpus(const std::set<T>& inputCorpus, const size_t& index) {

Callers 1

fuzzFlatPrimitiveImplFunction · 0.85

Calls 2

clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected