Skip to content

Commit 7279084

Browse files
committed
fixup! [compiler-rt][asan] Add wcscpy/wcsncpy; enable wcscat/wcsncat on Windows
Signed-off-by: Yixuan Cao <[email protected]>
1 parent 782669a commit 7279084

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ INTERCEPT_LIBRARY_FUNCTION_ASAN(strpbrk);
6363
INTERCEPT_LIBRARY_FUNCTION_ASAN(strspn);
6464
INTERCEPT_LIBRARY_FUNCTION_ASAN(strstr);
6565
INTERCEPT_LIBRARY_FUNCTION_ASAN(strtok);
66-
INTERCEPT_LIBRARY_FUNCTION(wcscat);
67-
INTERCEPT_LIBRARY_FUNCTION(wcscpy);
68-
INTERCEPT_LIBRARY_FUNCTION(wcsncat);
69-
INTERCEPT_LIBRARY_FUNCTION(wcsncpy);
66+
INTERCEPT_LIBRARY_FUNCTION_ASAN(wcscat);
67+
INTERCEPT_LIBRARY_FUNCTION_ASAN(wcscpy);
68+
INTERCEPT_LIBRARY_FUNCTION_ASAN(wcsncat);
69+
INTERCEPT_LIBRARY_FUNCTION_ASAN(wcsncpy);
7070
INTERCEPT_LIBRARY_FUNCTION_ASAN(wcslen);
7171
INTERCEPT_LIBRARY_FUNCTION_ASAN(wcsnlen);
7272

0 commit comments

Comments
 (0)