News for hackers. Stuff that matters.
Re:Systemd is bad parsing by pjc50 on Saturday October 27, 2018 @12:38PM (#18316480)
Having the CPU do the checking within an instruction saves you instruction issue events. ARM have an interesting solution to this, pointer authentication: https://news.ycombinator.com/item?id=14479438

> several layers above what it actually operates on

The instruction set is something of an abstraction bottleneck - C is tied to machines that look something like a PDP-11, while a lot of the stuff that the machine is doing is invisible at the instruction set layer.

Re:Systemd is bad parsing by makomk on Saturday October 27, 2018 @07:04PM (#18318190)
Pointer authentication is not a form of bounds checking. It solely exists to prevent a malicious attacker using a bug to directly overwrite pointers (and in practice, it's mostly limited to return addresses right now). Code which does buggy pointer arithmetic will still create valid pointers to data outside the intended buffer.