HomePhabricator

[sanitizer] Add fgets, fputs and puts into sanitizer_common

Description

[sanitizer] Add fgets, fputs and puts into sanitizer_common

Summary:
Add fgets, fputs and puts to sanitizer_common. This adds ASAN coverage
for these functions, extends MSAN support from fgets to fputs/puts and
extends TSAN support from puts to fputs.

Fixes: https://github.com/google/sanitizers/issues/952

Reviewed By: vitalybuka

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

Details

Committed
LekensteynJun 11 2018, 3:58 PM
Reviewer
vitalybuka
Differential Revision
D46545: [sanitizer] Add fgets, fputs and puts into sanitizer_common
Parents
rL334449: Fix a warning reported by clang but not by gcc.
Branches
Unknown
Tags
Unknown