HomePhabricator

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

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

Details

Committed
morehouseAug 30 2017, 3:49 PM
Reviewer
kcc
Differential Revision
D37156: [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
Branches
Unknown
Tags
Unknown