This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation security options for shared libraries and executables (daemon) with G++ 4.9.2
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Some Developer <someukdeveloper at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 8 Dec 2014 09:58:44 +0000
- Subject: Re: Compilation security options for shared libraries and executables (daemon) with G++ 4.9.2
- Authentication-results: sourceware.org; auth=none
- References: <CAPPWUo9hJerLGuXL2cmCpKijKSi4298XopXXGEPOKBOWR5gPeA at mail dot gmail dot com>
On 7 December 2014 at 12:59, Some Developer wrote:
> This is a network daemon so I kind of need everything that is
> available.
You could try the -fvtable-verify=std option for adding verification
code to check vtable pointers aren't overwritten, although you need to
reconfigure and rebuild GCC yourself.
https://gcc.gnu.org/wiki/vtv