HomePhabricator

[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer

Authored by morehouse on Aug 30 2017, 3:49 PM.

Description

[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer

Summary:

  • Don't sanitize __sancov_lowest_stack.
  • Don't instrument leaf functions.
  • Add CoverageStackDepth to Fuzzer and FuzzerNoLink.
  • Only enable on Linux.

Reviewers: vitalybuka, kcc, george.karpenkov

Reviewed By: kcc

Subscribers: kubamracek, cfe-commits, llvm-commits, hiraditya

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

llvm-svn: 312185

Details

Committed
morehouseAug 30 2017, 3:49 PM
Reviewer
kcc
Differential Revision
D37156: [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
Parents
rG06f2f8079165: Add NetBSD support in lsan_interceptors.cc
Branches
Unknown
Tags
Unknown