About stack protector

2010-06-23 Thread Tomás Touceda
Hi everyone, I'm starting to dig a little bit in what gcc does to protect the stack from overflows and attacks of that kind. I've found some docs and patches, but they aren't really up to date. I thought I could get some diffs for the parts that manage these features, to see exactly what they do a

Re: About stack protector

2010-06-23 Thread Geert Bosch
On Jun 23, 2010, at 22:53, Tomás Touceda wrote: > I'm starting to dig a little bit in what gcc does to protect the stack > from overflows and attacks of that kind. I've found some docs and > patches, but they aren't really up to date. I thought I could get some > diffs for the parts that manage t

Re: About stack protector

2010-06-23 Thread Ian Lance Taylor
Tomás Touceda writes: > I'm starting to dig a little bit in what gcc does to protect the stack > from overflows and attacks of that kind. I've found some docs and > patches, but they aren't really up to date. See the -fstack-protector and -fstack-check options. Ian