Closed
Bug 1377553
Opened 7 years ago
Closed 7 years ago
Ensure that ASAN builds disable fstack-protector
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tjr, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tor 21925])
From discussion: we should make sure we do not have stack-protector turned on in the ASAN builds.
(We don't currently, but we would probably want to build our fuzzing and test targets with --enable-hardening once we add more compiler flags to it, and stackprotector is in --enable-hardening)
I don't remember why we need to do this though; or what the other compiler flag we wanted to turn off was.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(choller)
Comment 1•7 years ago
|
||
AFL disables fortify source by adding -U_FORTIFY_SOURCE in ASan builds and also doesn't add any stack-protector flags (which could also be for performance reasons, these flags don't help with anything that ASan doesn't already check).
Flags: needinfo?(choller)
Reporter | ||
Comment 2•7 years ago
|
||
I unstuck Bug 1418052.
To resolve this bug my intention is to make sure the ASAN builds set --disable-hardening
Reporter | ||
Comment 3•7 years ago
|
||
Actually, it turns out you can't imply_option(--disable-hardening) so my new plan is to add a comment (as part of Bug 1418052) to the central place we add hardening flags.
Reporter | ||
Comment 4•7 years ago
|
||
Marking this fixed with #1418052 done.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Whiteboard: [tor 21925]
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•