diff options
Diffstat (limited to 'lib/dfsan')
-rw-r--r-- | lib/dfsan/dfsan.cpp (renamed from lib/dfsan/dfsan.cc) | 2 | ||||
-rw-r--r-- | lib/dfsan/dfsan_custom.cpp (renamed from lib/dfsan/dfsan_custom.cc) | 4 | ||||
-rw-r--r-- | lib/dfsan/dfsan_interceptors.cpp (renamed from lib/dfsan/dfsan_interceptors.cc) | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/dfsan/dfsan.cc b/lib/dfsan/dfsan.cpp index f4ba1148f782b..0e2fb9f5f3347 100644 --- a/lib/dfsan/dfsan.cc +++ b/lib/dfsan/dfsan.cpp @@ -1,4 +1,4 @@ -//===-- dfsan.cc ----------------------------------------------------------===// +//===-- dfsan.cpp ---------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/lib/dfsan/dfsan_custom.cc b/lib/dfsan/dfsan_custom.cpp index dc7b81da45667..84f0271b15e05 100644 --- a/lib/dfsan/dfsan_custom.cc +++ b/lib/dfsan/dfsan_custom.cpp @@ -1,4 +1,4 @@ -//===-- dfsan.cc ----------------------------------------------------------===// +//===-- dfsan.cpp ---------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -505,7 +505,7 @@ int __dfsw_getrusage(int who, struct rusage *usage, dfsan_label who_label, SANITIZER_INTERFACE_ATTRIBUTE char *__dfsw_strcpy(char *dest, const char *src, dfsan_label dst_label, dfsan_label src_label, dfsan_label *ret_label) { - char *ret = strcpy(dest, src); + char *ret = strcpy(dest, src); // NOLINT if (ret) { internal_memcpy(shadow_for(dest), shadow_for(src), sizeof(dfsan_label) * (strlen(src) + 1)); diff --git a/lib/dfsan/dfsan_interceptors.cc b/lib/dfsan/dfsan_interceptors.cpp index f4b4babc65c20..673171c46f5a5 100644 --- a/lib/dfsan/dfsan_interceptors.cc +++ b/lib/dfsan/dfsan_interceptors.cpp @@ -1,4 +1,4 @@ -//===-- dfsan_interceptors.cc ---------------------------------------------===// +//===-- dfsan_interceptors.cpp --------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. |