Re: [RFC PATCH 12/17] gcc-plugins: objtool: Add plugin to detect switch table on arm64

From
Daniel Kiss <hidden>
Date
2021-02-09 16:31:54
Also in
linux-efi, linux-hardening, lkml
Reply to
Nick Desaulniers, 2021-02-02
On 3 Feb 2021, at 00:01, Nick Desaulniers [off-list ref] 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.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (53 messages) 53 messages, 10 authors, last reply 2021-02-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help