Home
last modified time | relevance | path

Searched refs:FUZZ_ASSERT (Results 1 – 13 of 13) sorted by relevance

/third_party/lz4/ossfuzz/
Dround_trip_fuzzer.c26 FUZZ_ASSERT(dstPlusLargePrefix); in LLVMFuzzerTestOneInput()
29 FUZZ_ASSERT(largeDict); in LLVMFuzzerTestOneInput()
33 FUZZ_ASSERT(rt); in LLVMFuzzerTestOneInput()
38 FUZZ_ASSERT(dstSize > 0); in LLVMFuzzerTestOneInput()
47 FUZZ_ASSERT(partial); in LLVMFuzzerTestOneInput()
50 FUZZ_ASSERT(partialSize >= 0); in LLVMFuzzerTestOneInput()
58 FUZZ_ASSERT(partial); in LLVMFuzzerTestOneInput()
61 FUZZ_ASSERT(partialSize >= 0); in LLVMFuzzerTestOneInput()
69 FUZZ_ASSERT(partial); in LLVMFuzzerTestOneInput()
72 FUZZ_ASSERT(partialSize >= 0); in LLVMFuzzerTestOneInput()
[all …]
Dround_trip_frame_uncompressed_fuzzer.c32 FUZZ_ASSERT(!LZ4F_isError(ret)); in decompress()
39 FUZZ_ASSERT(srcPtr <= srcEnd); in decompress()
55 FUZZ_ASSERT(uncompressedOffset <= uncompressedEndOffset); in compress_round_trip()
56 FUZZ_ASSERT(uncompressedEndOffset <= size); in compress_round_trip()
67 FUZZ_ASSERT(dst); in compress_round_trip()
68 FUZZ_ASSERT(rt); in compress_round_trip()
73 FUZZ_ASSERT(!LZ4F_isError(ctxCreation)); in compress_round_trip()
76 FUZZ_ASSERT(!LZ4F_isError(headerSize)); in compress_round_trip()
82 FUZZ_ASSERT(!LZ4F_isError(lz4Return)); in compress_round_trip()
88 FUZZ_ASSERT(!LZ4F_isError(lz4Return)); in compress_round_trip()
[all …]
Dround_trip_stream_fuzzer.c47 FUZZ_ASSERT(cursor.buf); in cursor_create()
73 FUZZ_ASSERT(state.cstream); in state_create()
75 FUZZ_ASSERT(state.cstream); in state_create()
77 FUZZ_ASSERT(state.dstream); in state_create()
109 FUZZ_ASSERT(dSize >= 0); in state_decompress()
131 FUZZ_ASSERT(state->data.pos == 0); in state_trimDict()
132 FUZZ_ASSERT(state->roundTrip.pos == 0); in state_trimDict()
149 FUZZ_ASSERT(cSize > 0); in state_prefixRoundTrip()
170 FUZZ_ASSERT(cSize > 0); in state_extDictRoundTrip()
219 FUZZ_ASSERT(cSize > 0); in state_prefixHCRoundTrip()
[all …]
Dcompress_hc_fuzzer.c30 FUZZ_ASSERT(dst); in LLVMFuzzerTestOneInput()
31 FUZZ_ASSERT(rt); in LLVMFuzzerTestOneInput()
47 FUZZ_ASSERT(state); in LLVMFuzzerTestOneInput()
52 FUZZ_ASSERT(dstSize > 0); in LLVMFuzzerTestOneInput()
Dlz4_helpers.c38 FUZZ_ASSERT(dctx); in FUZZ_decompressFrame()
44 FUZZ_ASSERT(!LZ4F_isError(rc)); in FUZZ_decompressFrame()
45 FUZZ_ASSERT(rc == 0); in FUZZ_decompressFrame()
46 FUZZ_ASSERT(srcConsumed == srcSize); in FUZZ_decompressFrame()
Dround_trip_hc_fuzzer.c27 FUZZ_ASSERT(dst); in LLVMFuzzerTestOneInput()
28 FUZZ_ASSERT(rt); in LLVMFuzzerTestOneInput()
33 FUZZ_ASSERT(dstSize > 0); in LLVMFuzzerTestOneInput()
Dround_trip_frame_fuzzer.c27 FUZZ_ASSERT(dst); in LLVMFuzzerTestOneInput()
28 FUZZ_ASSERT(rt); in LLVMFuzzerTestOneInput()
33 FUZZ_ASSERT(!LZ4F_isError(dstSize)); in LLVMFuzzerTestOneInput()
Dcompress_fuzzer.c28 FUZZ_ASSERT(dst); in LLVMFuzzerTestOneInput()
29 FUZZ_ASSERT(rt); in LLVMFuzzerTestOneInput()
47 FUZZ_ASSERT(dstSize > 0); in LLVMFuzzerTestOneInput()
Ddecompress_frame_fuzzer.c50 FUZZ_ASSERT(dctx); in LLVMFuzzerTestOneInput()
51 FUZZ_ASSERT(dst); in LLVMFuzzerTestOneInput()
52 FUZZ_ASSERT(dict); in LLVMFuzzerTestOneInput()
Dcompress_frame_fuzzer.c31 FUZZ_ASSERT(dst!=NULL); in LLVMFuzzerTestOneInput()
32 FUZZ_ASSERT(rt!=NULL); in LLVMFuzzerTestOneInput()
Ddecompress_fuzzer.c31 FUZZ_ASSERT(dst); in LLVMFuzzerTestOneInput()
32 FUZZ_ASSERT(dict); in LLVMFuzzerTestOneInput()
Dfuzz_helpers.h47 #define FUZZ_ASSERT(cond) FUZZ_ASSERT_MSG((cond), ""); macro
Dfuzz_data_producer.c11 FUZZ_ASSERT(producer != NULL); in FUZZ_dataProducer_create()