diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-redqueen.c | 2 | ||||
-rw-r--r-- | src/afl-fuzz.c | 4 | ||||
-rw-r--r-- | src/afl-performance.c | 17 |
3 files changed, 13 insertions, 10 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c index 3342445a..be41d6c4 100644 --- a/src/afl-fuzz-redqueen.c +++ b/src/afl-fuzz-redqueen.c @@ -1967,6 +1967,7 @@ static u8 cmp_fuzz(afl_state_t *afl, u32 key, u8 *orig_buf, u8 *buf, u8 *cbuf, continue; } + #endif #ifdef _DEBUG @@ -2789,6 +2790,7 @@ static u8 rtn_fuzz(afl_state_t *afl, u32 key, u8 *orig_buf, u8 *buf, u8 *cbuf, continue; } + #endif t = taint; diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 7c47f060..9c89b2a1 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -402,7 +402,9 @@ static void usage(u8 *argv0, int more_help) { #endif #ifdef _AFL_SPECIAL_PERFORMANCE - SAYF("Compiled with special performance options for this specific system, it might not work on other platforms!\n"); + SAYF( + "Compiled with special performance options for this specific system, it " + "might not work on other platforms!\n"); #endif SAYF("For additional help please consult %s/README.md :)\n\n", doc_path); diff --git a/src/afl-performance.c b/src/afl-performance.c index 22cf4dec..f730ca53 100644 --- a/src/afl-performance.c +++ b/src/afl-performance.c @@ -3,18 +3,17 @@ #include "types.h" #ifdef _HAVE_AVX2 -#define T1HA0_AESNI_AVAILABLE 1 -#define T1HA_USE_FAST_ONESHOT_READ 1 -#define T1HA_USE_INDIRECT_FUNCTIONS 1 -#define T1HA_IA32AES_NAME XXH3_64bits -#include "t1ha0_ia32aes_b.h" + #define T1HA0_AESNI_AVAILABLE 1 + #define T1HA_USE_FAST_ONESHOT_READ 1 + #define T1HA_USE_INDIRECT_FUNCTIONS 1 + #define T1HA_IA32AES_NAME XXH3_64bits + #include "t1ha0_ia32aes_b.h" #else -#define XXH_INLINE_ALL -#include "xxhash.h" -#undef XXH_INLINE_ALL + #define XXH_INLINE_ALL + #include "xxhash.h" + #undef XXH_INLINE_ALL #endif - void rand_set_seed(afl_state_t *afl, s64 init_seed) { afl->init_seed = init_seed; |