mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-06 15:21:32 +00:00
llvm20 fix
This commit is contained in:
parent
12271064f8
commit
b88f132975
@ -29,6 +29,7 @@
|
|||||||
- custom mutators:
|
- custom mutators:
|
||||||
- custom_send_tcp custom mutator added, thanks to @dergoegge
|
- custom_send_tcp custom mutator added, thanks to @dergoegge
|
||||||
- afl-cc
|
- afl-cc
|
||||||
|
- fix to support pointless changes in LLVM 20
|
||||||
- new runtime (!) variable: `AFL_OLD_FORKSERVER` to use the old vanilla
|
- new runtime (!) variable: `AFL_OLD_FORKSERVER` to use the old vanilla
|
||||||
AFL type forkserver. Useful for symcc/symqemu/nautilus/etc. with
|
AFL type forkserver. Useful for symcc/symqemu/nautilus/etc. with
|
||||||
AFL_LLVM_INSTRUMENT=CLASSIC
|
AFL_LLVM_INSTRUMENT=CLASSIC
|
||||||
|
@ -50,7 +50,11 @@
|
|||||||
#include "llvm/Support/SpecialCaseList.h"
|
#include "llvm/Support/SpecialCaseList.h"
|
||||||
#include "llvm/Support/VirtualFileSystem.h"
|
#include "llvm/Support/VirtualFileSystem.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include "llvm/Transforms/Instrumentation.h"
|
#if LLVM_VERSION_MAJOR < 20
|
||||||
|
#include "llvm/Transforms/Instrumentation.h"
|
||||||
|
#else
|
||||||
|
#include "llvm/Transforms/Utils/Instrumentation.h"
|
||||||
|
#endif
|
||||||
#if LLVM_VERSION_MAJOR < 17
|
#if LLVM_VERSION_MAJOR < 17
|
||||||
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
|
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,11 +63,16 @@
|
|||||||
#if LLVM_VERSION_MAJOR < 15
|
#if LLVM_VERSION_MAJOR < 15
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#endif
|
#endif
|
||||||
#if LLVM_VERSION_MAJOR < 17
|
#if LLVM_VERSION_MAJOR < 20
|
||||||
#include "llvm/Transforms/Instrumentation.h"
|
#if LLVM_VERSION_MAJOR < 17
|
||||||
|
#include "llvm/Transforms/Instrumentation.h"
|
||||||
|
#else
|
||||||
|
#include "llvm/TargetParser/Triple.h"
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include "llvm/TargetParser/Triple.h"
|
#include "llvm/Transforms/Utils/Instrumentation.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
|
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
|
||||||
#include "llvm/Transforms/Utils/ModuleUtils.h"
|
#include "llvm/Transforms/Utils/ModuleUtils.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user