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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250224123534.GB17456@noisy.programming.kicks-ass.net>
Date: Mon, 24 Feb 2025 13:35:34 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Sathvika Vasireddy <sv@...ux.ibm.com>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>, christophe.leroy@...roup.eu,
	npiggin@...il.com, maddy@...ux.ibm.com,
	linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
	llvm@...ts.linux.dev
Subject: Re: [RFC PATCH] objtool: Skip unannotated intra-function call
 warning for bl+mflr pattern

On Fri, Feb 21, 2025 at 02:20:41PM +0530, Sathvika Vasireddy wrote:

> Also, just out of curiosity, how does x86 do it? Does it not use a branch to
> next instruction approach?

x86_64 can use LEA like:

  #define _THIS_IP_ ({ unsigned long __here; asm ("lea 0(%%rip), %0" : "=r" (__here)); __here; })

32bit needs to call a function, read the stack value and return.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ