[PATCH 0/3] objtool: Extend CFA updating/checking

From: Julien Thierry
Date: Tue Sep 15 2020 - 04:25:46 EST


Hi,

The following patches are the result of limitation found on the CFA
management code when trying to validate arm64 frames. I tried to keep
things simple and not contradict current CFA management logic nor
introduce too many corner cases.

The patches apply on top of the cleanup series[1] I sent previously.

[1] https://lkml.org/lkml/2020/9/15/199

Thanks,

Julien

-->

Julien Thierry (3):
objtool: check: Fully validate the stack frame
objtool: check: Support addition to set CFA base
objtool: check: Make SP memory operation match PUSH/POP semantics

tools/objtool/arch/x86/include/cfi_regs.h | 4 ++
tools/objtool/check.c | 47 +++++++++++++++++++++--
2 files changed, 47 insertions(+), 4 deletions(-)

--
2.21.3