summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-07-21 16:52:53 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-08-07 09:43:36 -0700
commitb97c53576866d3ba3fb4d9694a0fca7a0ef925ac (patch)
tree5e5d5004d905d59ae37044394595cd2943399129 /scripts/stackusage
parent093f58e60e9548d35c9a3c2eee7223add4d81aba (diff)
downloadlinux-b97c53576866d3ba3fb4d9694a0fca7a0ef925ac.tar.gz
linux-b97c53576866d3ba3fb4d9694a0fca7a0ef925ac.zip
perf synthetic-events: Fix bounds, stale state, and misc flags in kernel module synthesis
Clamp long DSO names to mmap/mmap2 filename boundaries accounting for sample ID headers to prevent buffer overruns in perf_event__synthesize_modules_maps_cb(). Explicitly clear misc flags and union padding to prevent stale Build-ID state from leaking between module synthesis events, and cast event buffer pointers to avoid _FORTIFY_SOURCE array bounds aborts when zeroing padding trailers. Assisted-by: Antigravity:gemini-3.5-flash Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions