HomePhabricator

Bitcoin-Qt: add new GCC compiler hardening options
10d3603ffac7Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Bitcoin-Qt: add new GCC compiler hardening options

-D_FORTIFY_SOURCE=2:
Enables compile-time protection against static sized buffer overflows.

-Wl,-z,relro -Wl,-z,now:
Enables full RELRO (RELocation Read-Only), which is a generic mitigation
technique to harden the data sections of an ELF binary/process. See:
http://isisblogs.poly.edu/2011/06/01/relro-relocation-read-only/ for
further details.

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Oct 12 2012, 20:05
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING4bb25e48d722: Merge pull request #1921 from laanwj/2012_10_init_useafterfree
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rSTAGING10d3603ffac7: Bitcoin-Qt: add new GCC compiler hardening options (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Oct 12 2012, 21:16