I read about the buffer overflow attack and wanted to know if changing the processor so it refuses to execute instruction that are not located in the code area can solve it? thanks
问问题
375 次
1 回答
1
This is typically done by setting the no-execute bit on a memory page or segment (the stack, for example), in modern CPUs. It helps against some stack-based overflows, but isn't a 100% fool-proof cure.
Check out http://en.wikipedia.org/wiki/No_execute
于 2013-06-19T21:47:05.387 回答