diff options
author | van Hauser <vh@thc.org> | 2022-01-20 16:17:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 16:17:08 +0100 |
commit | 7aced239e8a0855d87ecc921ba5691b29202ec1e (patch) | |
tree | a8e877a149495ea4ec48723d8af57426f8322a3a /instrumentation/afl-llvm-common.h | |
parent | 9242e0db8ac8a0e82d78432af389108e74700f00 (diff) | |
parent | d1de12d6175cd84357eadbf204e15b184b22ae42 (diff) | |
download | afl++-7aced239e8a0855d87ecc921ba5691b29202ec1e.tar.gz |
Merge pull request #1294 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'instrumentation/afl-llvm-common.h')
-rw-r--r-- | instrumentation/afl-llvm-common.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/instrumentation/afl-llvm-common.h b/instrumentation/afl-llvm-common.h index bd424e21..dee5f9fc 100644 --- a/instrumentation/afl-llvm-common.h +++ b/instrumentation/afl-llvm-common.h @@ -33,17 +33,17 @@ typedef long double max_align_t; #endif #if LLVM_VERSION_MAJOR >= 11 - #define MNAME M.getSourceFileName() - #define FMNAME F.getParent()->getSourceFileName() + #define MNAME M.getSourceFileName() + #define FMNAME F.getParent()->getSourceFileName() #else - #define MNAME std::string("") - #define FMNAME std::string("") + #define MNAME std::string("") + #define FMNAME std::string("") #endif -char * getBBName(const llvm::BasicBlock *BB); -bool isIgnoreFunction(const llvm::Function *F); -void initInstrumentList(); -bool isInInstrumentList(llvm::Function *F, std::string Filename); +char *getBBName(const llvm::BasicBlock *BB); +bool isIgnoreFunction(const llvm::Function *F); +void initInstrumentList(); +bool isInInstrumentList(llvm::Function *F, std::string Filename); unsigned long long int calculateCollisions(uint32_t edges); void scanForDangerousFunctions(llvm::Module *M); |