summaryrefslogtreecommitdiff
path: root/tools/objtool
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-07-18 02:25:07 +0300
committerKees Cook <kees@kernel.org>2025-07-22 07:40:39 +0300
commit9ea1e8d28add49ab3c1ecfa43f08d92ee23f3e33 (patch)
treeca0250a1d5333c933b753e78a1bb77f04f0baeb8 /tools/objtool
parent57fbad15c2eee77276a541c616589b32976d2b8e (diff)
downloadlinux-9ea1e8d28add49ab3c1ecfa43f08d92ee23f3e33.tar.xz
stackleak: Rename stackleak_track_stack to __sanitizer_cov_stack_depth
The Clang stack depth tracking implementation has a fixed name for the stack depth tracking callback, "__sanitizer_cov_stack_depth", so rename the GCC plugin function to match since the plugin has no external dependencies on naming. Link: https://lore.kernel.org/r/20250717232519.2984886-2-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/objtool')
-rw-r--r--tools/objtool/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 5451bdbcf84a..b7e24684f592 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -1193,7 +1193,7 @@ static const char *uaccess_safe_builtin[] = {
"__ubsan_handle_shift_out_of_bounds",
"__ubsan_handle_load_invalid_value",
/* KSTACK_ERASE */
- "stackleak_track_stack",
+ "__sanitizer_cov_stack_depth",
/* TRACE_BRANCH_PROFILING */
"ftrace_likely_update",
/* STACKPROTECTOR */