linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] objtool: Extend CFA updating/checking
@ 2020-10-14  7:37 Julien Thierry
  2020-10-14  7:38 ` [PATCH v3 1/3] objtool: check: Fully validate the stack frame Julien Thierry
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Julien Thierry @ 2020-10-14  7:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: jpoimboe, peterz, mbenes, raphael.gault, benh, Julien Thierry

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 V2[1]:
- Simplify cfa offset checking for BP and return address

[1] https://lkml.org/lkml/2020/9/28/354

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/check.c | 46 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 42 insertions(+), 4 deletions(-)

--
2.25.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-14 12:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14  7:37 [PATCH v3 0/3] objtool: Extend CFA updating/checking Julien Thierry
2020-10-14  7:38 ` [PATCH v3 1/3] objtool: check: Fully validate the stack frame Julien Thierry
2020-10-14  7:38 ` [PATCH v3 2/3] objtool: check: Support addition to set CFA base Julien Thierry
2020-10-14  7:38 ` [PATCH v3 3/3] objtool: check: Make SP memory operation match PUSH/POP semantics Julien Thierry
2020-10-14 12:30 ` [PATCH v3 0/3] objtool: Extend CFA updating/checking Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).