Gentoo Archives: gentoo-hardened

From: Rob Holland <tigger@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 12:26:08
Message-Id: 20050511120412.GA20941@gentoo.org
In Reply to: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? by Pedro Venda
1 On Wed, May 11, 2005 at 10:51:18AM +0100, Pedro Venda wrote:
2
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 Not 100% sure about that though.
10
11 --
12 rob holland - [ tigger@g.o ] - Gentoo Audit Team
13 [ 5251 4FAC D684 8845 5604 E44F D65C 392F D91B 4729 ]
14 --
15 gentoo-hardened@g.o mailing list

Replies