lkml.org 
[lkml]   [2022]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/18] objtool: Add stack validation cmdline option
On Thu, Apr 14, 2022 at 10:43:25AM +0200, Peter Zijlstra wrote:
> On Wed, Apr 13, 2022 at 04:19:44PM -0700, Josh Poimboeuf wrote:
> > + if (opts.stackval || opts.orc || opts.uaccess) {
> > + ret = validate_functions(file);
> > + if (ret < 0)
> > + goto out;
> > + warnings += ret;
> >
> > + ret = validate_unwind_hints(file, NULL);
> > if (ret < 0)
> > goto out;
> > warnings += ret;
> > +
> > + if (!warnings) {
> > + ret = validate_reachable_instructions(file);
> > + if (ret < 0)
> > + goto out;
> > + warnings += ret;
> > + }
> > }
>
> Doesn't SLS also depend on validate_functions() ?

Doh, I had the intention of splitting that out from validate_branch()
like I did for ibt.

--
Josh

\
 
 \ /
  Last update: 2022-04-14 18:12    [W:0.075 / U:1.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site