linux/arch/arm/include
Masami Hiramatsu fed240d9c9 ARM: Recover kretprobe modified return address in stacktrace
Since the kretprobe replaces the function return address with
the kretprobe_trampoline on the stack, arm unwinder shows it
instead of the correct return address.

This finds the correct return address from the per-task
kretprobe_instances list and verify it is in between the
caller fp and callee fp.

Note that this supports both GCC and clang if CONFIG_FRAME_POINTER=y
and CONFIG_ARM_UNWIND=n. For the ARM unwinder, this is still
not working correctly.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2021-10-22 12:16:53 -04:00
..
asm ARM: Recover kretprobe modified return address in stacktrace 2021-10-22 12:16:53 -04:00
debug ARM updates for 5.12-rc1: 2021-02-22 14:27:07 -08:00
uapi/asm ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00