lkml.org 
[lkml]   [2021]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 12/17] gcc-plugins: objtool: Add plugin to detect switch table on arm64
Date


> 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.

\
 
 \ /
  Last update: 2021-02-09 17:33    [W:0.212 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site