[all-commits] [llvm/llvm-project] dc62d5: [libFuzzer] Added -print_full_coverage flag.

Max Moroz via All-commits all-commits at lists.llvm.org
Fri Oct 23 16:09:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dc62d5ec97261429b553f2d6b45d96a137211f14
      https://github.com/llvm/llvm-project/commit/dc62d5ec97261429b553f2d6b45d96a137211f14
  Author: Max Moroz <mmoroz at chromium.org>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
    M compiler-rt/lib/fuzzer/FuzzerFlags.def
    M compiler-rt/lib/fuzzer/FuzzerInternal.h
    M compiler-rt/lib/fuzzer/FuzzerLoop.cpp
    M compiler-rt/lib/fuzzer/FuzzerOptions.h
    M compiler-rt/lib/fuzzer/FuzzerTracePC.cpp
    M compiler-rt/lib/fuzzer/FuzzerTracePC.h
    A compiler-rt/test/fuzzer/dso-cov-input.txt
    A compiler-rt/test/fuzzer/full-coverage.test

  Log Message:
  -----------
  [libFuzzer] Added -print_full_coverage flag.

-print_full_coverage=1 produces a detailed branch coverage dump when run on a single file.
Uses same infrastructure as -print_coverage flag, but prints all branches (regardless of coverage status) in an easy-to-parse format.
Usage: For internal use with machine learning fuzzing models which require detailed coverage information on seed files to generate mutations.

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




More information about the All-commits mailing list