Gentoo Archives: gentoo-hardened

From: Chris Smart <taskara@××××××××××××.net>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector?
Date: Thu, 12 May 2005 13:07:26
Message-Id: 4283550A.2040604@internode.on.net
In Reply to: Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? by Mike Frysinger
1 should one be adding -fstack-protector to CFLAGS, or is it included for
2 opteron under gcc 3.4?
3 -c
4
5 Mike Frysinger wrote:
6
7 >On Thursday 12 May 2005 05:25 am, kakou wrote:
8 >
9 >
10 >>I have tested on my box
11 >>
12 >>wakka ~ # nm /bin/kill |grep __guard
13 >> nm: /bin/kill: no symbols
14 >>wakka ~ # readelf -s /bin/kill | grep __guard
15 >> 53: 00000000 4 OBJECT GLOBAL DEFAULT UND __guard@GLIBC_2.3.2 (5)
16 >>
17 >>nm seems not work(or not with these options), try with readelf
18 >>
19 >>
20 >
21 >no, like i said earlier, nm doesnt work on stripped objects
22 >-mike
23 >
24 >
25 --
26 gentoo-hardened@g.o mailing list

Replies