[PATCH] D88559: [Sanitizer] Add interceptor for ptsname
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 11:29:59 PDT 2020
MaskRay added a comment.
In D88559#2303129 <https://reviews.llvm.org/D88559#2303129>, @labath wrote:
> Abandoning in favor of D88547 <https://reviews.llvm.org/D88547> (though I'd still be interested to know the answer to my inline question).
My understanding:
COMMON_INTERCEPTOR_INITIALIZE_RANGE is only defined for msan.
- asan re-defines COMMON_INTERCEPTOR_WRITE_RANGE (the buffer is specified by the user - the addressability needs to be checked) but not COMMON_INTERCEPTOR_INITIALIZE_RANGE (static storage is known to be *addressable* so there is no need to check addressability).
- tsan re-defines COMMON_INTERCEPTOR_WRITE_RANGE (the buffer is specified by the user - the potential data race needs to be checked) but not COMMON_INTERCEPTOR_INITIALIZE_RANGE (data race will not be checked - potential false negatives).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88559/new/
https://reviews.llvm.org/D88559
More information about the llvm-commits
mailing list