"Strong" stack protection for GCC
"Strong" stack protection for GCC
Posted Feb 6, 2014 6:25 UTC (Thu) by eru (subscriber, #2753)Parent article: "Strong" stack protection for GCC
In addition, any function that uses local register variables will be protected.
I don't understand this condition. How would using some "register int i" make a stack problem more likely? It seems to me it would have no effect on the issue, and when optimizing, the compiler treats "register" just as a hint that may be ignored anyway. Tried already looking at the linked gcc mailing list entry, but there was no explanation either.
