mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
c36834c832
MemorySanitizer (clang -fsanitize=memory) requires that all code
be compiled with instrumentation enabled. The only exception is the
C runtime library. Failure to use instrumented libraries will cause
bogus messages about memory being uninitialized.
In WITH_MSAN builds, we must avoid calling getservbyname(),
because even though it is a standard library function, it is
not instrumented, not even in clang 10.
Note: Before MariaDB Server 10.5, ./mtr will typically fail
due to the old PCRE library, which was updated in MDEV-14024.
The following cmake options were tested on 10.5
in commit
|
||
---|---|---|
.. | ||
dict0boot.cc | ||
dict0crea.cc | ||
dict0defrag_bg.cc | ||
dict0dict.cc | ||
dict0load.cc | ||
dict0mem.cc | ||
dict0stats.cc | ||
dict0stats_bg.cc |