diff options
author | vanhauser-thc <vh@thc.org> | 2021-03-19 10:42:23 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-03-19 10:42:23 +0100 |
commit | 848ea171545415d836f6919c89f07e104d62f1c1 (patch) | |
tree | 0912d0c25d0995776955c99eaff4d5fbf346ce69 | |
parent | 1cdf0a898cccb90e4e1b7b08be652a35d3f9ba1b (diff) | |
download | afl++-848ea171545415d836f6919c89f07e104d62f1c1.tar.gz |
add header to PCGUARD
-rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 3 | ||||
-rw-r--r-- | test/test-dlopen.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index 9b1351b0..f72c3ba4 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -10,6 +10,7 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Transforms/Instrumentation/SanitizerCoverage.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Analysis/EHPersonalities.h" @@ -34,11 +35,11 @@ #include "llvm/InitializePasses.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" -#include "llvm/Support/raw_ostream.h" #include "llvm/Support/SpecialCaseList.h" #if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0) #include "llvm/Support/VirtualFileSystem.h" #endif +#include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/Transforms/Utils/ModuleUtils.h" diff --git a/test/test-dlopen.c b/test/test-dlopen.c index e4524536..3db6adba 100644 --- a/test/test-dlopen.c +++ b/test/test-dlopen.c @@ -1,3 +1,5 @@ +#include <stdio.h> +#include <errno.h> #include <dlfcn.h> #include <stdlib.h> |