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.
Changes since V1[1]: - Minor cleanups/rewording from discussion with Josh [1] https://www.spinics.net/lists/kernel/msg3662146.html 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 | 3 ++ tools/objtool/cfi.h | 2 + tools/objtool/check.c | 54 +++++++++++++++++++++-- 3 files changed, 55 insertions(+), 4 deletions(-) -- 2.25.4