2 ms·
Testing to make sure you can't read from somewhere you are not supposed to read from seems like a pretty obvious test for an OS.
by asdsa5325 9y ago
Testing to make sure you can't read from somewhere you are not supposed to read from seems like a pretty obvious test for an OS.
- tedunangst 9y agoThere are lots of places you're not supposed to read from. Does any operating system have 100% test coverage of addresses that aren't supposed to be readable?
- PeterisP 9y agoIDK, there's a quite narrow whitelisted known range of addresses that should be readable by your process; you could (and should) certainly have an simple automated test that simply tries to read everything with the expectation that it should succeed only in known cases.