4 ms·
CPUs actually do know about const; it's called a read-only page. Besides, that's irrelevant. There's nothing stopping my function from following every pointer
by wizzwizz4 6y ago
CPUs actually do know about const; it's called a read-only page.
Besides, that's irrelevant. There's nothing stopping my function from following every pointer on the stack and smashing up its contents; are you going to defend against that, too? If not, how is this any different?