forked from OSchip/llvm-project
[msan] add strtouq msan interceptor
Summary: Fixes https://github.com/google/sanitizers/issues/892 Reviewers: eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D40853 llvm-svn: 319843
This commit is contained in:
parent
52967ea5b1
commit
f7b63c5f2b
|
@ -404,6 +404,7 @@ INTERCEPTORS_STRTO_BASE(long, strtol, char) // NOLINT
|
|||
INTERCEPTORS_STRTO_BASE(long long, strtoll, char) // NOLINT
|
||||
INTERCEPTORS_STRTO_BASE(unsigned long, strtoul, char) // NOLINT
|
||||
INTERCEPTORS_STRTO_BASE(unsigned long long, strtoull, char) // NOLINT
|
||||
INTERCEPTORS_STRTO_BASE(u64, strtouq, char) // NOLINT
|
||||
|
||||
INTERCEPTORS_STRTO(double, wcstod, wchar_t) // NOLINT
|
||||
INTERCEPTORS_STRTO(float, wcstof, wchar_t) // NOLINT
|
||||
|
@ -1533,6 +1534,7 @@ void InitializeInterceptors() {
|
|||
INTERCEPT_STRTO(strtoul);
|
||||
INTERCEPT_STRTO(strtoll);
|
||||
INTERCEPT_STRTO(strtoull);
|
||||
INTERCEPT_STRTO(strtouq);
|
||||
INTERCEPT_STRTO(wcstod);
|
||||
INTERCEPT_STRTO(wcstof);
|
||||
INTERCEPT_STRTO(wcstold);
|
||||
|
|
|
@ -1788,6 +1788,7 @@ TEST_STRTO_INT(strtol, char, )
|
|||
TEST_STRTO_INT(strtoll, char, )
|
||||
TEST_STRTO_INT(strtoul, char, )
|
||||
TEST_STRTO_INT(strtoull, char, )
|
||||
TEST_STRTO_INT(strtouq, char, )
|
||||
|
||||
TEST_STRTO_FLOAT(strtof, char, )
|
||||
TEST_STRTO_FLOAT(strtod, char, )
|
||||
|
|
Loading…
Reference in New Issue