Searched refs:FUZ_CHECKTEST (Results 1 – 1 of 1) sorted by relevance
/external/lz4/tests/ |
D | fuzzer.c | 326 # define FUZ_CHECKTEST(cond, ...) \ in FUZ_test() macro 391 … FUZ_CHECKTEST(ret > targetSize, "LZ4_compress_destSize() result larger than dst buffer !"); in FUZ_test() 392 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test() 393 … FUZ_CHECKTEST(srcSize > blockSize, "LZ4_compress_destSize() fed more than src buffer !"); in FUZ_test() 399 FUZ_CHECKTEST((ret==0), "LZ4_compress_destSize() compression failed"); in FUZ_test() 404 … FUZ_CHECKTEST(ret<0, "LZ4_decompress_safe() failed on data compressed by LZ4_compress_destSize"); in FUZ_test() 405 … FUZ_CHECKTEST(ret!=srcSize, "LZ4_decompress_safe() failed : did not fully decompressed data"); in FUZ_test() 406 … FUZ_CHECKTEST(decodedBuffer[srcSize] != canary, "LZ4_decompress_safe() overwrite dst buffer !"); in FUZ_test() 408 FUZ_CHECKTEST(crcDec!=crcBase, "LZ4_decompress_safe() corrupted decoded data"); } in FUZ_test() 421 FUZ_CHECKTEST(ctx==NULL, "LZ4_createHC() allocation failed"); in FUZ_test() [all …]
|