diff options
author | van Hauser <vh@thc.org> | 2023-02-14 05:42:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 05:42:45 +0100 |
commit | b352e3d1cc51c450c0ba128cac011cab607eb887 (patch) | |
tree | f28e1eaa8ce45c27b413a22cc6ed54aea339f5ae /instrumentation/afl-llvm-common.h | |
parent | 6030df2f563c8c5bf482217478375a6b7ea3b15a (diff) | |
parent | 8bc3fa1df286aac46a0a724f64e2e07010d2497e (diff) | |
download | afl++-b352e3d1cc51c450c0ba128cac011cab607eb887.tar.gz |
Merge pull request #1646 from devnexen/llvm_custom_unique_refactoring
LLVM cmplog factoring custom Instruction iterator with added restriction
Diffstat (limited to 'instrumentation/afl-llvm-common.h')
-rw-r--r-- | instrumentation/afl-llvm-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/instrumentation/afl-llvm-common.h b/instrumentation/afl-llvm-common.h index 0112c325..8b8dc756 100644 --- a/instrumentation/afl-llvm-common.h +++ b/instrumentation/afl-llvm-common.h @@ -9,6 +9,7 @@ #include <string> #include <fstream> #include <optional> +#include <type_traits> #include <sys/time.h> #include "llvm/Config/llvm-config.h" @@ -53,6 +54,7 @@ void initInstrumentList(); bool isInInstrumentList(llvm::Function *F, std::string Filename); unsigned long long int calculateCollisions(uint32_t edges); void scanForDangerousFunctions(llvm::Module *M); +template<class Iterator> Iterator Unique(Iterator, Iterator); #ifndef IS_EXTERN #define IS_EXTERN |