lkml.org 
[lkml]   [2022]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/sev: Mark snp_abort() noreturn
On Thu, Aug 25, 2022 at 01:12:42PM +0000, David Laight wrote:
> ...
> > Objtool follows control flow. As you said above, noreturn functions
> > behave differently and code-gen after a call to a noreturn function
> > stops.
>
> Thinks....
>
> How near is objtool to outputting a list of functions and the
> stack offset at which they call something else?

It basically already does this.

> With the 'magic numbers' to track indirect jumps that is very
> nearly enough information to do full static stack depth checking.

What do you mean by 'magic numbers'?

--
Josh

\
 
 \ /
  Last update: 2022-08-30 06:48    [W:0.067 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site