Re:Low-Level Software Security for Compiler Developers
by convolvatron on Tuesday February 21, 2023 @01:42PM
(#34884982)
the point is to put a guard when performing indirection, that checks a type bit in the register. setting this bit is a privileged operation. unprivileged address arithmetic can be performed if addresses also contain a bound.
but the whole point is that you just cant hand any integer to the hardware and ask it to fetch.
However there are cooperative ISA features -- between compiler and CPU -- these can be used to constrain untrusted attackers. See ARM PAC, e.g.