diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:52:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:52:22 +0000 |
commit | 3a1720af1d7f43edc5b214cde0be11bfb94d077e (patch) | |
tree | 029e0ff2d5e3c0eaf2405fd8e669555fdf5e1297 /lib/dfsan | |
parent | 8f3cadc28cb2bb9e8f9d69eeaaea1f57f2f7b2ab (diff) |
Notes
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 f4ba1148f782..0e2fb9f5f334 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 dc7b81da4566..84f0271b15e0 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 f4b4babc65c2..673171c46f5a 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. |