Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Issue 9169020: Fix ASLR Windows build configuration (Closed)

Created:
8 years, 11 months ago by Derek Bruening
Modified:
8 years, 11 months ago
CC:
chromium-reviews, drmemory-team_google.com
Visibility:
Public.

Description

Fix ASLR Windows build configuration 1) Actually turn off ASLR for Debug build. Despite the comments, this was not happening in reality because the /dynamicbase linker flag overrode the VCLinkerTool.RandomizedBaseAddress setting. 2) Make the ASLR setting configurable from outside (target usage is for particular Dr. Memory builds). TEST=Built googleurl_unittests and ensured its ALSR setting matched that requested, both for default and for custom via new gyp var BUG=109767 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117533

Patch Set 1 #

Total comments: 5

Patch Set 2 : Change assignment to numeric #

Patch Set 3 : leave aslr unspecified for release by default #

Patch Set 4 : only set aslr for libraries #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -12 lines) Patch
M build/common.gypi View 1 2 3 6 chunks +47 lines, -12 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Derek Bruening
8 years, 11 months ago (2012-01-10 19:43:21 UTC) #1
Sigurður Ásgeirsson
lgtm - though it'd be better to be consistent in assigning and comparing either numerically ...
8 years, 11 months ago (2012-01-10 20:18:34 UTC) #2
Derek Bruening
BTW, siggi you checked in the original code to disable ASLR: did it work? It ...
8 years, 11 months ago (2012-01-10 20:48:52 UTC) #3
M-A Ruel
this can be checked in but I'm still sad about the current state of affairs. ...
8 years, 11 months ago (2012-01-10 21:02:00 UTC) #4
Sigurður Ásgeirsson
On Tue, Jan 10, 2012 at 15:48, <bruening@chromium.org> wrote: > BTW, siggi you checked in ...
8 years, 11 months ago (2012-01-10 21:34:58 UTC) #5
Derek Bruening
On 2012/01/10 21:02:00, Marc-Antoine Ruel wrote: > build/common.gypi:987: 'win_release_RandomizedBaseAddress%': '1', > Why not just create ...
8 years, 11 months ago (2012-01-10 21:36:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruening@chromium.org/9169020/3
8 years, 11 months ago (2012-01-11 01:14:39 UTC) #7
commit-bot: I haz the power
Try job failure for 9169020-3 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 11 months ago (2012-01-11 02:17:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruening@chromium.org/9169020/3
8 years, 11 months ago (2012-01-11 15:05:05 UTC) #9
commit-bot: I haz the power
Try job failure for 9169020-3 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 11 months ago (2012-01-11 15:43:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruening@chromium.org/9169020/3
8 years, 11 months ago (2012-01-11 15:45:38 UTC) #11
M-A Ruel
On 2012/01/11 15:43:27, I haz the power (commit-bot) wrote: > Try job failure for 9169020-3 ...
8 years, 11 months ago (2012-01-11 15:45:42 UTC) #12
Derek Bruening
On 2012/01/11 15:45:42, Marc-Antoine Ruel wrote: > On 2012/01/11 15:43:27, I haz the power (commit-bot) ...
8 years, 11 months ago (2012-01-11 16:17:28 UTC) #13
commit-bot: I haz the power
Try job failure for 9169020-3 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 11 months ago (2012-01-11 16:24:34 UTC) #14
M-A Ruel
LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored LINK : fatalerror LNK1295: '/FIXED' ...
8 years, 11 months ago (2012-01-11 16:28:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruening@chromium.org/9169020/19003
8 years, 11 months ago (2012-01-12 20:08:34 UTC) #16
commit-bot: I haz the power
8 years, 11 months ago (2012-01-12 22:27:00 UTC) #17
Change committed as 117533

Powered by Google App Engine
This is Rietveld 408576698