[all-commits] [llvm/llvm-project] 92fb31: [libFuzzer] Extend the fuzz target intarface to al...

Kostya Serebryany via All-commits all-commits at lists.llvm.org
Thu Jun 30 13:21:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92fb310151d2b1e349695fc0f1c5d5d50afb3b52
      https://github.com/llvm/llvm-project/commit/92fb310151d2b1e349695fc0f1c5d5d50afb3b52
  Author: Kostya Serebryany <kcc at google.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerInternal.h
    M compiler-rt/lib/fuzzer/FuzzerLoop.cpp
    A compiler-rt/test/fuzzer/Reject.cpp
    M compiler-rt/test/fuzzer/not-instrumented.test
    A compiler-rt/test/fuzzer/reject.test
    M llvm/docs/LibFuzzer.rst

  Log Message:
  -----------
  [libFuzzer] Extend the fuzz target intarface to allow -1 return value.

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.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D128749




More information about the All-commits mailing list