4 ms·
This is only for pointers into instruction space, not data space. There's an argument for using a separate stack for subroutine return points. A few CPUs have
by Animats 12y ago
This is only for pointers into instruction space, not data space.
There's an argument for using a separate stack for subroutine return points. A few CPUs have been built with hardware for that. (One from the 1980s only had a 20-deep call stack, which was kind of limiting.) That achieves much of what this paper proposes.
This is a solution to one specific type of attack - overrunning the stack and overwriting a return pointer. That's a problem, but only one of many pointer-related problems. Fixing subscript-out-of-range problems more generally is much more useful.
- willvarfar 12y ago(Mill team) All exploit mitigation checks most welcome! The Mill has a hardware managed stack and various other security-related details, many of which are good old ideas not previously making it into silicon. But defence is best in depth. More details http://millcomputing.com/topic/security/ http://millcomputing.com/topic/security/
- caf 12y agoIt also protects function pointers, and the full "CPI" model protects pointers to data that contains function pointers.