}
if (Counter < 255)
Value++;
+ else
+ Value |= kBit63;
} else {
Value |= kBit63;
TotalCoverage++;
Printf("\n");
}
+void TracePC::ResetGuards() {
+ for (size_t M = 0; M < NumModules; M++)
+ for (uint64_t *X = Modules[M].Start; X < Modules[M].Stop; X++)
+ *X = (*X >> 32) << 32;
+}
+
void TracePC::FinalizeTrace() {
if (UseCounters && TotalCoverage) {
for (size_t M = 0; M < NumModules; M++) {
set_target_properties(LLVMFuzzer-DSO2 PROPERTIES LIBRARY_OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/lib/Fuzzer/lib")
-set(TestBinaries ${TestBinaries} LLVMFuzzer-DSOTest)
+set(TestBinaries ${TestBinaries} LLVMFuzzer-DSOTest PARENT_SCOPE)