Home
last modified time | relevance | path

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

/external/lz4/tests/
Dfuzzer.c326 # define FUZ_CHECKTEST(cond, ...) \ in FUZ_test() macro
391FUZ_CHECKTEST(ret > targetSize, "LZ4_compress_destSize() result larger than dst buffer !"); in FUZ_test()
392FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test()
393FUZ_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()
404FUZ_CHECKTEST(ret<0, "LZ4_decompress_safe() failed on data compressed by LZ4_compress_destSize"); in FUZ_test()
405FUZ_CHECKTEST(ret!=srcSize, "LZ4_decompress_safe() failed : did not fully decompressed data"); in FUZ_test()
406FUZ_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 …]