diff options
author | van Hauser <vh@thc.org> | 2020-12-25 12:25:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 12:25:05 +0100 |
commit | 450fd17451a31e2f327a4370165e88d99535c6fd (patch) | |
tree | 003d67273010b7552ce25901add3740cfb2a839b /src/afl-analyze.c | |
parent | 7dc433a0c0efb236a2ab6fa4006a91aa02e26779 (diff) | |
parent | a4fd4ea0f46529feb09577a13cc7c053fb22146f (diff) | |
download | afl++-450fd17451a31e2f327a4370165e88d99535c6fd.tar.gz |
Merge pull request #654 from AFLplusplus/dev
fix LTO
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r-- | src/afl-analyze.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c index a6825ef6..6dac415b 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -103,11 +103,11 @@ static u32 map_size = MAP_SIZE; /* Classify tuple counts. This is a slow & naive version, but good enough here. */ -#define TIMES4(x) x,x,x,x -#define TIMES8(x) TIMES4(x),TIMES4(x) -#define TIMES16(x) TIMES8(x),TIMES8(x) -#define TIMES32(x) TIMES16(x),TIMES16(x) -#define TIMES64(x) TIMES32(x),TIMES32(x) +#define TIMES4(x) x, x, x, x +#define TIMES8(x) TIMES4(x), TIMES4(x) +#define TIMES16(x) TIMES8(x), TIMES8(x) +#define TIMES32(x) TIMES16(x), TIMES16(x) +#define TIMES64(x) TIMES32(x), TIMES32(x) static u8 count_class_lookup[256] = { [0] = 0, @@ -121,6 +121,7 @@ static u8 count_class_lookup[256] = { [128] = TIMES64(128) }; + #undef TIMES64 #undef TIMES32 #undef TIMES16 |