From: | Mike Frysinger <vapier@g.o> | ||
---|---|---|---|
To: | gentoo-hardened@l.g.o | ||
Subject: | Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? | ||
Date: | Wed, 11 May 2005 15:32:07 | ||
Message-Id: | 200505111132.15939.vapier@gentoo.org | ||
In Reply to: | Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? by Rob Holland |
1 | On Wednesday 11 May 2005 08:04 am, Rob Holland wrote: |
2 | > On Wed, May 11, 2005 at 10:51:18AM +0100, Pedro Venda wrote: |
3 | > > I'm left with a doubt: how to find out if some binary was compiled with |
4 | > > -fstack-protector gcc option? |
5 | > |
6 | > I think: nm /bin/foo|grep guard |
7 | > should tell you, if you see a guard symbol, it has ssp. |
8 | |
9 | nm doesnt always worked (it'll fail on stripped binaries), but `readelf -s foo |
10 | | grep guard` should work fine |
11 | -mike |
12 | -- |
13 | gentoo-hardened@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? | Pedro Venda <pjvenda@××××××××××××.org> |
Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? | "Kevin F. Quinn" <ml@××××××××.com> |