News for hackers. Stuff that matters.
Re:ARM Pointer Authentication by colejohnson66 on Sunday June 04, 2017 @12:29AM (#14479883)
How does that not mess with pointer arithmetic?
Re:ARM Pointer Authentication by munin on Sunday June 04, 2017 @10:06AM (#14481653)
You read the pointer from memory, unbox the pointer into an integer, do arithmetic, then box it back up and write it back into memory. The pointer-as-integer stays in registers while you do arithmetic on it.
Re:ARM Pointer Authentication by ris on Sunday June 04, 2017 @08:13AM (#14481063)
You're not supposed to do pointer arithmetic with these pointers. It's generally meant for storing pointers "at rest".
Re:ARM Pointer Authentication by dreamcompiler on Sunday June 04, 2017 @12:51AM (#14479936)
Looks like the current patch only deals with instruction pointers, but I'd assume that for data, the base pointers would have validation instructions automatically inserted before offset arithmetic is done.