Skip to content

Commit 689ed3f

Browse files
committed
Update libFuzzer to llvm/llvm-project@60e32a1
1 parent a89115a commit 689ed3f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

libfuzzer/FuzzerInterceptors.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
}
2626

2727
#include <cassert>
28+
#include <cstddef> // for size_t
2829
#include <cstdint>
2930
#include <dlfcn.h> // for dlsym()
3031

libfuzzer/dataflow/DataFlow.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
// and also provides basic-block coverage for every input.
1818
//
1919
// Build:
20-
// 1. Compile this file (DataFlow.cpp) with -fsanitize=dataflow -mllvm
21-
// -dfsan-fast-16-labels and -O2.
20+
// 1. Compile this file (DataFlow.cpp) with -fsanitize=dataflow and -O2.
2221
// 2. Compile DataFlowCallbacks.cpp with -O2 -fPIC.
2322
// 3. Build the fuzz target with -g -fsanitize=dataflow
24-
// -mllvm -dfsan-fast-16-labels
2523
// -fsanitize-coverage=trace-pc-guard,pc-table,bb,trace-cmp
2624
// 4. Link those together with -fsanitize=dataflow
2725
//
@@ -82,7 +80,7 @@ static inline bool BlockIsEntry(size_t BlockIdx) {
8280
return __dft.PCsBeg[BlockIdx * 2 + 1] & PCFLAG_FUNC_ENTRY;
8381
}
8482

85-
const int kNumLabels = 16;
83+
const int kNumLabels = 8;
8684

8785
// Prints all instrumented functions.
8886
static int PrintFunctions() {

0 commit comments

Comments
 (0)