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-tmin.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-tmin.c')
| -rw-r--r-- | src/afl-tmin.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/afl-tmin.c b/src/afl-tmin.c index 6cb0d458..ed928c7c 100644 --- a/src/afl-tmin.c +++ b/src/afl-tmin.c @@ -98,11 +98,11 @@ static sharedmem_t * shm_fuzz; /* 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 const u8 count_class_lookup[256] = { [0] = 0, @@ -116,6 +116,7 @@ static const u8 count_class_lookup[256] = { [128] = TIMES64(128) }; + #undef TIMES64 #undef TIMES32 #undef TIMES16 |
