]> git.ipfire.org Git - thirdparty/xz.git/commit
Tests: Add fuzz_encode_stream ossfuzz target.
authorMaksym Vatsyk <maksym.vatsyk@leviathansecurity.com>
Tue, 5 Dec 2023 15:31:09 +0000 (16:31 +0100)
committerJia Tan <jiat0218@gmail.com>
Thu, 7 Dec 2023 12:06:57 +0000 (20:06 +0800)
commit483bb90eec7c83e1c2bcd06287714afd62d8c17d
tree564bc54167b763a5c69604e1f7fa2db2721b9b41
parent7ca8c9869df82756c3128c4fcf1058da4d18aa48
Tests: Add fuzz_encode_stream ossfuzz target.

This fuzz target handles .xz stream encoding. The first byte of input
is used to dynamically set the preset level in order to increase the
fuzz coverage of complex critical code paths.
tests/ossfuzz/config/fuzz_encode_stream.options [new file with mode: 0644]
tests/ossfuzz/fuzz_encode_stream.c [new file with mode: 0644]