mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 12:18:08 +00:00
fix llvm and afl-showmap
This commit is contained in:
@ -260,6 +260,8 @@ void scanForDangerousFunctions(llvm::Module *M) {
|
||||
|
||||
if (!M) return;
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 4
|
||||
|
||||
for (GlobalIFunc &IF : M->ifuncs()) {
|
||||
|
||||
StringRef ifunc_name = IF.getName();
|
||||
@ -325,6 +327,8 @@ void scanForDangerousFunctions(llvm::Module *M) {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
static std::string getSourceName(llvm::Function *F) {
|
||||
|
Reference in New Issue
Block a user