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

Issue 1267423002: CFI: Add diagnostic information to likely CFI violation stack traces. (Closed)

Created:
5 years, 4 months ago by pcc1
Modified:
5 years, 4 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CFI: Add diagnostic information to likely CFI violation stack traces. If CFI enforcement is enabled and we receive a SIGILL, it is most likely that a CFI check failed. Add a reference to the CFI documentation to the stack trace to make it easier to identify and investigate CFI violations. Also add an end marker to stack traces to make it easier for automated tools to extract stack traces. BUG=464797 R=thakis@chromium.org Committed: https://crrev.com/ff550411a2f2701746c93b32e9675e4047be167f Cr-Commit-Position: refs/heads/master@{#342246}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update URL #

Total comments: 2

Patch Set 3 : Replace abort message with generic end of stack trace marker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M base/debug/stack_trace_posix.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
pcc1
5 years, 4 months ago (2015-08-05 01:42:58 UTC) #1
Avi (use Gerrit)
https://codereview.chromium.org/1267423002/diff/1/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/1267423002/diff/1/base/debug/stack_trace_posix.cc#newcode291 base/debug/stack_trace_posix.cc:291: "control-flow-integrity\n"); FYI, rather than the sites page URL, use ...
5 years, 4 months ago (2015-08-05 15:19:35 UTC) #2
pcc1
https://codereview.chromium.org/1267423002/diff/1/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/1267423002/diff/1/base/debug/stack_trace_posix.cc#newcode291 base/debug/stack_trace_posix.cc:291: "control-flow-integrity\n"); On 2015/08/05 15:19:35, Avi wrote: > FYI, rather ...
5 years, 4 months ago (2015-08-05 19:58:15 UTC) #3
Nico
https://codereview.chromium.org/1267423002/diff/20001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/1267423002/diff/20001/base/debug/stack_trace_posix.cc#newcode413 base/debug/stack_trace_posix.cc:413: #endif this block seems to not add anything useful
5 years, 4 months ago (2015-08-05 20:59:07 UTC) #4
pcc1
https://codereview.chromium.org/1267423002/diff/20001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/1267423002/diff/20001/base/debug/stack_trace_posix.cc#newcode413 base/debug/stack_trace_posix.cc:413: #endif On 2015/08/05 20:59:07, Nico (hiding) wrote: > this ...
5 years, 4 months ago (2015-08-05 21:00:30 UTC) #5
Nico
On 2015/08/05 21:00:30, pcc1 wrote: > https://codereview.chromium.org/1267423002/diff/20001/base/debug/stack_trace_posix.cc > File base/debug/stack_trace_posix.cc (right): > > https://codereview.chromium.org/1267423002/diff/20001/base/debug/stack_trace_posix.cc#newcode413 > ...
5 years, 4 months ago (2015-08-05 21:03:29 UTC) #6
pcc1
On 2015/08/05 21:03:29, Nico (hiding) wrote: > On 2015/08/05 21:00:30, pcc1 wrote: > > > ...
5 years, 4 months ago (2015-08-05 21:11:16 UTC) #7
pcc1
On 2015/08/05 21:11:16, pcc1 wrote: > On 2015/08/05 21:03:29, Nico (hiding) wrote: > > On ...
5 years, 4 months ago (2015-08-06 22:14:29 UTC) #8
Nico
lgtm, thanks!
5 years, 4 months ago (2015-08-06 22:21:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267423002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267423002/40001
5 years, 4 months ago (2015-08-06 22:23:06 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-07 00:50:43 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 00:52:24 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ff550411a2f2701746c93b32e9675e4047be167f
Cr-Commit-Position: refs/heads/master@{#342246}

Powered by Google App Engine
This is Rietveld 408576698