aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2023-04-11 17:29:41 +0100
committerWill Deacon <[email protected]>2023-04-11 18:34:59 +0100
commit9e09d445f1cab518eedf4454d119ead27979b8f4 (patch)
treee48a5ada92073bdab4e6d2003f673c16756fdacf /lib/test_fortify/write_overflow-strncpy-src.c
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
arm64: stacktrace: recover return address for first entry
The function which calls the top-level backtracing function may have been instrumented with ftrace and/or kprobes, and hence the first return address may have been rewritten. Factor out the existing fgraph / kretprobes address recovery, and use this for the first address. As the comment for the fgraph case isn't all that helpful, I've also dropped that. Signed-off-by: Mark Rutland <[email protected]> Reviewed-by: Kalesh Singh <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Madhavan T. Venkataraman <[email protected]> Cc: Mark Brown <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions