Ubuntu-focal-kernel/tools/objtool
Alexandre Chartre 4645d6a479 objtool: Add support for intra-function calls
BugLink: https://bugs.launchpad.net/bugs/2067857

commit 8aa8eb2a8f upstream.

Change objtool to support intra-function calls. On x86, an intra-function
call is represented in objtool as a push onto the stack (of the return
address), and a jump to the destination address. That way the stack
information is correctly updated and the call flow is still accurate.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200414103618.12657-4-alexandre.chartre@oracle.com
Signed-off-by: Rui Qi <qirui.001@bytedance.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-06-07 15:01:36 +02:00
..
Documentation
arch/x86
.gitignore
Build
Makefile
arch.h
builtin-check.c
builtin-orc.c
builtin.h
cfi.h
check.c
check.h
elf.c
elf.h
objtool.c
orc.h
orc_dump.c
orc_gen.c
special.c
special.h
sync-check.sh
warn.h