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

Issue 1266893002: CFI: Add a new debug URL, chrome://badcast. (Closed)

Created:
5 years, 4 months ago by pcc1
Modified:
5 years, 4 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CFI: Add a new debug URL, chrome://badcastcrash. This URL causes the renderer to intentionally perform a bad cast, which causes a CFI violation. This allows us to manually test how CFI violations in the renderer are handled. BUG=464797 R=avi@chromium.org TEST=build with cfi_vptr=1, manually navigate to chrome://badcastcrash, verify that "Aw, snap" page appears Committed: https://crrev.com/3184322ba03c4221ca2b0295d7413ab9ac82b4d2 Cr-Commit-Position: refs/heads/master@{#341247}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M chrome/common/url_constants.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/debug_urls.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/public/common/url_constants.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/url_constants.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 12 (1 generated)
pcc1
5 years, 4 months ago (2015-07-30 20:46:42 UTC) #1
Avi (use Gerrit)
Are you intending to leave this in long-term, or is this for the short term ...
5 years, 4 months ago (2015-07-30 20:52:34 UTC) #2
pcc1
On 2015/07/30 20:52:34, Avi wrote: > Are you intending to leave this in long-term, or ...
5 years, 4 months ago (2015-07-30 21:03:31 UTC) #3
Avi (use Gerrit)
On 2015/07/30 21:03:31, pcc1 wrote: > On 2015/07/30 20:52:34, Avi wrote: > > Are you ...
5 years, 4 months ago (2015-07-30 21:09:35 UTC) #4
pcc1
On 2015/07/30 21:09:35, Avi wrote: > On 2015/07/30 21:03:31, pcc1 wrote: > > On 2015/07/30 ...
5 years, 4 months ago (2015-07-30 21:29:26 UTC) #5
Avi (use Gerrit)
I'll OK it with with a bit of a naming change. https://codereview.chromium.org/1266893002/diff/1/content/public/common/url_constants.cc File content/public/common/url_constants.cc (right): ...
5 years, 4 months ago (2015-07-30 21:36:49 UTC) #6
pcc1
https://codereview.chromium.org/1266893002/diff/1/content/public/common/url_constants.cc File content/public/common/url_constants.cc (right): https://codereview.chromium.org/1266893002/diff/1/content/public/common/url_constants.cc#newcode38 content/public/common/url_constants.cc:38: const char kChromeUIBadCastURL[] = "chrome://badcast"; On 2015/07/30 21:36:49, Avi ...
5 years, 4 months ago (2015-07-30 23:43:01 UTC) #7
Avi (use Gerrit)
lgtm
5 years, 4 months ago (2015-07-30 23:44:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266893002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266893002/20001
5 years, 4 months ago (2015-07-30 23:46:38 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-07-31 00:46:37 UTC) #11
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 00:47:15 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3184322ba03c4221ca2b0295d7413ab9ac82b4d2
Cr-Commit-Position: refs/heads/master@{#341247}

Powered by Google App Engine
This is Rietveld 408576698