[sanitizer][asan][win] Intercept _strdup on Windows instead of strdup
authorCharlie Barto <charlie.barto@microsoft.com>
Tue, 18 Jul 2023 04:02:06 +0000 (21:02 -0700)
committerCasey Carter <cacarter@microsoft.com>
Tue, 18 Jul 2023 04:06:50 +0000 (21:06 -0700)
commit31263211c6a4ef454216f2edbf9b2083a4c1474d
treebe514bc22a5e398c48f14c56ec1d42020549bdb4
parent0d6530728ff202849a5d30d0db4e1fdb5b11ce7b
[sanitizer][asan][win] Intercept _strdup on Windows instead of strdup

Intercept `_strdup` on windows, instead of the nonexistent `strdup`.
compiler-rt/lib/asan/asan_interceptors.cpp