File: fuzzer.c

package info (click to toggle)
xxhash 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,632 kB
  • sloc: ansic: 55,509; makefile: 675; sh: 74; cpp: 23
file content (11 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#include <stdint.h>
#include "xxhash.h"


int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  volatile XXH64_hash_t hash64 = XXH64(data, size, 0);
  (void)hash64;
  volatile XXH32_hash_t hash32 = XXH32(data, size, 0);
  (void)hash32;
  return 0;
}