[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-hardening
Subject:    Re: [RFC PATCH 12/17] gcc-plugins: objtool: Add plugin to detect switch table on arm64
From:       Daniel Kiss <Daniel.Kiss () arm ! com>
Date:       2021-02-09 16:30:17
Message-ID: 2935D431-6329-4BC8-A871-A019CD3F6EB1 () arm ! com
[Download RAW message or body]



> On 3 Feb 2021, at 00:01, Nick Desaulniers <ndesaulniers@google.com> wrote:
> 
> I wonder if PAC or BTI also make this slightly more complex?  PAC at
> least has implications for unwinders, IIUC.

BTI has effect on the jump target\case because a landing pad is required for each and every target.
As I see that would not hurt here.

The unwinder shall take care of the PAC signed return address if reads the LR from the stack.
DWARF contains an entry where the LR is got signed\authenticated.

I'm wondering would be simpler or possible to transform the DWARD to ORC.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic