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.

Reviewers: vitalybuka, kcc

Reviewed By: kcc

Subscribers: cfe-commits, llvm-commits, hiraditya

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

Details

Committed
morehouseAug 25 2017, 2:18 PM
Reviewer
kcc
Differential Revision
D37156: [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
Parents
rL311800: Merging r311792:
Branches
Unknown
Tags
Unknown