News for hackers. Stuff that matters.
Re:Was it a billion dollar mistake? by superblas on Sunday January 04, 2026 @12:39PM (#46490218)
+1 for this. On my system, an ARM cortex-M7, there’s RAM at address 0. In order to catch null pointer dereferences I ended up activating the MPU to make the first couple hundred bytes inaccessible (non-readable, non-writable).
Re:Was it a billion dollar mistake? by Neywiny on Sunday January 04, 2026 @04:18PM (#46492328)
MPU stuff is on my to-do list to get read up on. I have had a decent amount of stack overflows, the aforementioned example (which was on an M7), and other stuff that it might help with. It's something I don't necessarily want to rely on it in production, but it could help for debug.