/external/lz4/ossfuzz/ |
D | round_trip_fuzzer.c | 30 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect size"); in LLVMFuzzerTestOneInput() 31 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput() 41 FUZZ_ASSERT_MSG(partialSize == partialCapacity, "Incorrect size"); in LLVMFuzzerTestOneInput() 42 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | compress_fuzzer.c | 31 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 32 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput() 43 FUZZ_ASSERT_MSG(rtSize == compressedSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 44 FUZZ_ASSERT_MSG(!memcmp(data, rt, compressedSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | compress_hc_fuzzer.c | 33 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 34 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput() 48 FUZZ_ASSERT_MSG(rtSize == compressedSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 49 FUZZ_ASSERT_MSG(!memcmp(data, rt, compressedSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | round_trip_hc_fuzzer.c | 32 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect size"); in LLVMFuzzerTestOneInput() 33 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | round_trip_frame_fuzzer.c | 32 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 33 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | compress_frame_fuzzer.c | 34 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 35 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | fuzz_helpers.h | 41 #define FUZZ_ASSERT_MSG(cond, msg) \ macro 46 #define FUZZ_ASSERT(cond) FUZZ_ASSERT_MSG((cond), "");
|
D | round_trip_stream_fuzzer.c | 117 FUZZ_ASSERT_MSG(size == state->roundTrip.pos, "Incorrect size!"); in state_checkRoundTrip() 118 FUZZ_ASSERT_MSG(!memcmp(data, state->roundTrip.buf, size), "Corruption!"); in state_checkRoundTrip()
|
/external/zstd/tests/fuzz/ |
D | regression_driver.c | 60 FUZZ_ASSERT_MSG(fileSize <= kMaxFileSize, fileName); in main() 65 FUZZ_ASSERT_MSG(buffer, fileName); in main() 70 FUZZ_ASSERT_MSG(file, fileName); in main() 73 FUZZ_ASSERT_MSG(readSize == fileSize, fileName); in main()
|
D | fuzz_helpers.h | 39 #define FUZZ_ASSERT_MSG(cond, msg) \ macro 44 #define FUZZ_ASSERT(cond) FUZZ_ASSERT_MSG((cond), ""); 46 FUZZ_ASSERT_MSG(!ZSTD_isError(code), ZSTD_getErrorName(code))
|
D | dictionary_loader.c | 90 FUZZ_ASSERT_MSG(dct != ZSTD_dct_rawContent, "Raw must always succeed!"); in LLVMFuzzerTestOneInput() 95 FUZZ_ASSERT_MSG(rSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 96 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, rBuf, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | block_round_trip.c | 90 FUZZ_ASSERT_MSG(result == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 91 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, rBuf, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | simple_round_trip.c | 107 FUZZ_ASSERT_MSG(result == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 108 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, rBuf, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | raw_dictionary_round_trip.c | 104 FUZZ_ASSERT_MSG(result == srcSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 105 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, decompBuf, srcSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | dictionary_round_trip.c | 110 FUZZ_ASSERT_MSG(result == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 111 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, rBuf, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | stream_round_trip.c | 167 FUZZ_ASSERT_MSG(rSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 168 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, rBuf, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | dictionary_stream_round_trip.c | 195 FUZZ_ASSERT_MSG(rSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 196 FUZZ_ASSERT_MSG(!FUZZ_memcmp(src, rBuf, size), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | sequence_compression_api.c | 286 FUZZ_ASSERT_MSG(result == generatedSrcSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 287 FUZZ_ASSERT_MSG(!FUZZ_memcmp(generatedSrc, rBuf, generatedSrcSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|