Gentoo Archives: gentoo-hardened

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: Thu, 12 May 2005 12:39:36
Message-Id: 200505120839.46687.vapier@gentoo.org
In Reply to: Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? by kakou
1 On Thursday 12 May 2005 05:25 am, kakou wrote:
2 > I have tested on my box
3 >
4 > wakka ~ # nm /bin/kill |grep __guard
5 > nm: /bin/kill: no symbols
6 > wakka ~ # readelf -s /bin/kill | grep __guard
7 > 53: 00000000 4 OBJECT GLOBAL DEFAULT UND __guard@GLIBC_2.3.2 (5)
8 >
9 > nm seems not work(or not with these options), try with readelf
10
11 no, like i said earlier, nm doesnt work on stripped objects
12 -mike
13 --
14 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] how to find out if something was compiled with -fstack-protector? Chris Smart <taskara@××××××××××××.net>