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

Issue 1009533004: Add lint check for IRT sandbox base address hiding. (Closed)

Created:
5 years, 9 months ago by Derek Schuff
Modified:
5 years, 9 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Add lint check for IRT sandbox base address hiding. This is a kind of lint check to ensure that the LLVM assembler's option for hiding the sandbox base address on x86-64 is being used in all code compiled into the IRT (and that assembly code does not have similar issues). It is only a heuristic intended to prevent accidental changes in the IRT or toolchain build, and is not exhaustive, nor is it intended to catch adversarial code. It is a stopgap until we can fix https://code.google.com/p/nativeclient/issues/detail?id=3596 R=jvoung@chromium.org, mseaborn@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=4088 Committed: https://chromium.googlesource.com/native_client/src/native_client/+/2d8b0bb6ffaf871fdc1f902d38778b2df8c6ff0d

Patch Set 1 #

Total comments: 12

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
M build/build_nexe.py View 2 chunks +7 lines, -0 lines 0 comments Download
M build/link_irt.py View 1 4 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Derek Schuff
5 years, 9 months ago (2015-03-24 01:28:39 UTC) #1
Derek Schuff
+jvoung
5 years, 9 months ago (2015-03-24 17:20:39 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/1009533004/diff/1/build/link_irt.py File build/link_irt.py (right): https://codereview.chromium.org/1009533004/diff/1/build/link_irt.py#newcode168 build/link_irt.py:168: ''' """ instead of ''' for docstrings and oneliner ...
5 years, 9 months ago (2015-03-24 20:47:25 UTC) #4
Derek Schuff
https://codereview.chromium.org/1009533004/diff/1/build/link_irt.py File build/link_irt.py (right): https://codereview.chromium.org/1009533004/diff/1/build/link_irt.py#newcode168 build/link_irt.py:168: ''' On 2015/03/24 20:47:25, jvoung wrote: > """ instead ...
5 years, 9 months ago (2015-03-24 23:15:15 UTC) #5
jvoung (off chromium)
lgtm https://codereview.chromium.org/1009533004/diff/1/build/link_irt.py File build/link_irt.py (right): https://codereview.chromium.org/1009533004/diff/1/build/link_irt.py#newcode189 build/link_irt.py:189: for line in output.splitlines(): On 2015/03/24 23:15:15, Derek ...
5 years, 9 months ago (2015-03-25 16:53:49 UTC) #6
Derek Schuff
5 years, 9 months ago (2015-03-25 17:42:29 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2d8b0bb6ffaf871fdc1f902d38778b2df8c6ff0d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698