diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-09-13 14:26:57 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-09-13 14:26:57 +0200 |
commit | 7f94fe358702faa906574cac402875ef6ba3ccb3 (patch) | |
tree | 168f81c719ec429aabece319be72675e06684971 /custom_mutators | |
parent | 060dbe12391b1e4957c09ef8b135f99f2a3bb121 (diff) | |
download | afl++-7f94fe358702faa906574cac402875ef6ba3ccb3.tar.gz |
code format
Diffstat (limited to 'custom_mutators')
-rw-r--r-- | custom_mutators/libfuzzer/FuzzerExtFunctionsWeak.cpp | 2 | ||||
-rw-r--r-- | custom_mutators/libfuzzer/FuzzerExtFunctionsWindows.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/custom_mutators/libfuzzer/FuzzerExtFunctionsWeak.cpp b/custom_mutators/libfuzzer/FuzzerExtFunctionsWeak.cpp index bbd8f3ba..caf1a7ef 100644 --- a/custom_mutators/libfuzzer/FuzzerExtFunctionsWeak.cpp +++ b/custom_mutators/libfuzzer/FuzzerExtFunctionsWeak.cpp @@ -48,7 +48,7 @@ ExternalFunctions::ExternalFunctions() { \ #define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) this->NAME = ::NAME; CheckFnPtr(reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(::NAME)), - #NAME, WARN); + #NAME, WARN); #include "FuzzerExtFunctions.def" diff --git a/custom_mutators/libfuzzer/FuzzerExtFunctionsWindows.cpp b/custom_mutators/libfuzzer/FuzzerExtFunctionsWindows.cpp index d79421cd..630f352d 100644 --- a/custom_mutators/libfuzzer/FuzzerExtFunctionsWindows.cpp +++ b/custom_mutators/libfuzzer/FuzzerExtFunctionsWindows.cpp @@ -46,8 +46,8 @@ using namespace fuzzer; extern "C" { -#define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) - RETURN_TYPE NAME##Def FUNC_SIG { + #define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) +RETURN_TYPE NAME##Def FUNC_SIG { Printf("ERROR: Function \"%s\" not defined.\n", #NAME); exit(1); |