[PATCH] D128749: [libFuzzer] Extend the fuzz target intarface to allow -1 return value.
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 11:52:21 PDT 2022
kcc created this revision.
Herald added a subscriber: Enna1.
Herald added a project: All.
kcc updated this revision to Diff 440711.
kcc added a comment.
kcc added reviewers: vitalybuka, morehouse.
kcc published this revision for review.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.
fix typo
With this change, fuzz targets may choose to return -1
to indicate that the input should not be added to the corpus
regardless of the coverage it generated.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128749
Files:
compiler-rt/lib/fuzzer/FuzzerInternal.h
compiler-rt/lib/fuzzer/FuzzerLoop.cpp
compiler-rt/test/fuzzer/Reject.cpp
compiler-rt/test/fuzzer/not-instrumented.test
compiler-rt/test/fuzzer/reject.test
llvm/docs/LibFuzzer.rst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128749.440711.patch
Type: text/x-patch
Size: 7005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220628/c4af8f7a/attachment.bin>
More information about the llvm-commits
mailing list