lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220830044811.jad66k4sxdfnprul@treble>
Date:   Mon, 29 Aug 2022 21:48:11 -0700
From:   Josh Poimboeuf <jpoimboe@...nel.org>
To:     David Laight <David.Laight@...lab.com>
Cc:     'Peter Zijlstra' <peterz@...radead.org>,
        Segher Boessenkool <segher@...nel.crashing.org>,
        Borislav Petkov <bp@...en8.de>, X86 ML <x86@...nel.org>,
        Michael Matz <matz@...e.de>,
        "linux-toolchains@...r.kernel.org" <linux-toolchains@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ