fix for afl-compiler-rt to only send dictionary data if there is some

This commit is contained in:
van Hauser
2020-09-11 08:56:28 +02:00
parent 543765bc0d
commit 862b6d0382
5 changed files with 22 additions and 20 deletions

View File

@ -45,8 +45,8 @@ namespace fuzzer {
ExternalFunctions::ExternalFunctions() {
\
#define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) \
this->NAME = GetFnPtr<decltype(ExternalFunctions::NAME)>(#NAME, WARN)
#define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) this->NAME =
GetFnPtr < decltype(ExternalFunctions::NAME)>(#NAME, WARN)
#include "FuzzerExtFunctions.def"