Max Moroz

Results 71 comments of Max Moroz

If you need to reproduce: 1) Download `gs://clusterfuzz-builds-dataflow/zstd/zstd-dataflow-201904091513.zip` 2) Download `gs://zstd-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/zstd_block_decompress/latest.zip` 3) Unpack both, run `block_decompress` target

Ah, I guess the real root cause is that some inputs are too long. What would be a good threshold to trim / ignore long ones?

I'm gonna try skipping such inputs in the script instead of retrying. That should make life much easier and all changes will live in LLVM repo (i.e. no hacky corpus...

Yeah, https://reviews.llvm.org/D60538 seems to be a reasonable workaround for now.

And now libFuzzer is crashing with the following stacktrace (looks like it tries to mutate an empty input, though there aren't empty inputs in the corpus): ``` asan_block_decompress: /src/libfuzzer/FuzzerMutate.cpp:510: size_t...

Thanks, @kcc! It helped with one more change, I've uploaded both in https://reviews.llvm.org/D60567 However, now I'm getting another crash (looks like the `Mask` is shorter than the input somehow): ```...

Thanks Kostya for explaining some of the things in more detail. With one more change (https://reviews.llvm.org/D60571) I've got that fuzz target running locally!

See below the difference in the disk space used by DataFlow traces vs corpus. Some targets are missing and some might be not fully correct as I ran out of...

I've tried to build all the projects once again (in order to have a better sampling of the builds and choose only stable ones for the experiment), and this time...

Yeah, with a newer version of #2303 I'm able to build many projects again.