instrumentation-filter-template 525 B

123456789101112131415
  1. # Code that we actually want the fuzzer to target
  2. # See: https://clang.llvm.org/docs/SanitizerCoverage.html#disabling-instrumentation-without-source-modification
  3. #
  4. src:*/hw/*
  5. src:*/include/hw/*
  6. src:*/slirp/*
  7. src:*/net/*
  8. # We don't care about coverage over fuzzer-specific code, however we should
  9. # instrument the fuzzer entry-point so libFuzzer always sees at least some
  10. # coverage - otherwise it will exit after the first input
  11. src:*/tests/qtest/fuzz/fuzz.c
  12. # Enable instrumentation for all functions in those files
  13. fun:*