about summary refs log tree commit diff
path: root/instrumentation/afl-compiler-rt.o.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-11-06 16:22:38 +0100
committervanhauser-thc <vh@thc.org>2021-11-06 16:22:38 +0100
commit2ddbaa439ca78b0ae8cc6691d9657f5783b2d5e8 (patch)
tree2f0aad585474589850cec0c21bf74f7f7dfb0f96 /instrumentation/afl-compiler-rt.o.c
parentda45eb6b417832de16cc2cf6c4b65e0e2f7311db (diff)
downloadafl++-2ddbaa439ca78b0ae8cc6691d9657f5783b2d5e8.tar.gz
30% faster hashing speed
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 65bc16bc..06268d18 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -158,7 +158,7 @@ static void at_exit(int signal) {
 
 }
 
-#define default_hash(a, b) XXH64(a, b, HASH_CONST)
+#define default_hash(a, b) XXH3_64bits(a, b)
 
 /* Uninspired gcc plugin instrumentation */