[all-commits] [llvm/llvm-project] 689711: [MSan] Add COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED
Ilya Leoshkevich via All-commits
all-commits at lists.llvm.org
Fri Apr 3 08:19:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6897111231e7be8886fedc7d6ab02436a901323d
https://github.com/llvm/llvm-project/commit/6897111231e7be8886fedc7d6ab02436a901323d
Author: Ilya Leoshkevich <iii at linux.ibm.com>
Date: 2020-04-03 (Fri, 03 Apr 2020)
Changed paths:
M compiler-rt/lib/msan/msan_interceptors.cpp
Log Message:
-----------
[MSan] Add COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED
Summary:
MSan not implementing COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED looks
like an omission - this macro makes it possible for those intercepted
functions, which libc needs very early, to work before interceptors are
initialized (i.e. before REAL() is usable).
While currently there are no observable practical problems in this
area, changes in libc or in MSan runtime may provoke them. Therefore,
change MSan to work like ASan and TSan already do - use internal
functions in certain interceptors when initialization is not complete.
Reviewers: eugenis, vitalybuka
Reviewed By: eugenis
Subscribers: #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D76969
More information about the All-commits
mailing list