From d25400d94208ddd714d1139410c56a01e19554d4 Mon Sep 17 00:00:00 2001 From: aizatsky Date: Mon, 27 Feb 2017 15:49:52 -0800 Subject: [PATCH] Switching libfuzzer to trace-pc-guard instrumentation. This reverts commit 23d6de2177b812285946bce6f459815799d825c5. BUG=651540,687570 Review-Url: https://codereview.chromium.org/2721593003 Cr-Original-Commit-Position: refs/heads/master@{#453396} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: fd938bac4105603ff6a997d5de3cabe39d8869c0 --- config/sanitizers/sanitizers.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sanitizers/sanitizers.gni b/config/sanitizers/sanitizers.gni index dbf90531c..2a91c3de9 100644 --- a/config/sanitizers/sanitizers.gni +++ b/config/sanitizers/sanitizers.gni @@ -140,7 +140,7 @@ declare_args() { asan_globals = !is_mac } -if (use_afl && sanitizer_coverage_flags == "") { +if ((use_afl || use_libfuzzer) && sanitizer_coverage_flags == "") { sanitizer_coverage_flags = "trace-pc-guard" } else if (use_sanitizer_coverage && sanitizer_coverage_flags == "") { sanitizer_coverage_flags = "edge,indirect-calls,8bit-counters"