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

Issue 2871863002: adds the security cookie check hook transform. (Closed)

Created:
3 years, 7 months ago by 0vercl0k
Modified:
3 years, 7 months ago
Reviewers:
chrisha
CC:
syzygy-changes_googlegroups.com
Target Ref:
refs/heads/master
Project:
syzygy
Visibility:
Public.

Description

adds the security cookie check hook transform. This transform redirects the __report_gsfailure function to a code-block that crashes the process with an exception an EH can catch ('mov [deadbeef], 0'). This is particularly useful for fuzzers using an exception handler in the target to monitor for crashes (__report_gsfailure triggers an exception that can't be caught with an EH). BUG= R=chrisha@chromium.org Review-Url: https://codereview.chromium.org/2871863002 Committed: https://github.com/google/syzygy/commit/8a26461de5bc099059fc2078db9c083c0882f7d1

Patch Set 1 #

Total comments: 36

Patch Set 2 : address Chris' feedback #

Patch Set 3 : forgot two periods #

Total comments: 10

Patch Set 4 : address another round of comments #

Total comments: 2

Patch Set 5 : removed the DCHECK_EQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -0 lines) Patch
M syzygy/instrument/instrument.gyp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A syzygy/instrument/transforms/security_cookie_check_hook_transform.h View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A syzygy/instrument/transforms/security_cookie_check_hook_transform.cc View 1 2 3 4 1 chunk +109 lines, -0 lines 0 comments Download
A syzygy/instrument/transforms/security_cookie_check_hook_transform_unittest.cc View 1 2 3 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
chrisha
Overall the code is very clean. I mostly have comments about coding style. Note that ...
3 years, 7 months ago (2017-05-09 19:18:40 UTC) #6
chrisha
Just a minor comment regarding communication on code reviews: We address each point one by ...
3 years, 7 months ago (2017-05-10 15:06:09 UTC) #7
chrisha
Another round of comments... nearly there :) https://codereview.chromium.org/2871863002/diff/40001/syzygy/instrument/instrument.gyp File syzygy/instrument/instrument.gyp (right): https://codereview.chromium.org/2871863002/diff/40001/syzygy/instrument/instrument.gyp#newcode75 syzygy/instrument/instrument.gyp:75: 'transforms/thunk_import_references_transform.cc', .cc ...
3 years, 7 months ago (2017-05-10 15:12:08 UTC) #8
0vercl0k
Thanks Chris for the great feedback. I've addressed your comments in PatchSet 4. Cheers https://codereview.chromium.org/2871863002/diff/40001/syzygy/instrument/instrument.gyp ...
3 years, 7 months ago (2017-05-10 17:49:52 UTC) #9
chrisha
lgtm modulo one last nit. Feel free to fix, upload and flip the CQ bit ...
3 years, 7 months ago (2017-05-10 20:18:43 UTC) #10
0vercl0k
Addressed the last comment :). Thanks again Chris! https://codereview.chromium.org/2871863002/diff/60001/syzygy/instrument/transforms/security_cookie_check_hook_transform.cc File syzygy/instrument/transforms/security_cookie_check_hook_transform.cc (right): https://codereview.chromium.org/2871863002/diff/60001/syzygy/instrument/transforms/security_cookie_check_hook_transform.cc#newcode59 syzygy/instrument/transforms/security_cookie_check_hook_transform.cc:59: if ...
3 years, 7 months ago (2017-05-10 20:51:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2871863002/80001
3 years, 7 months ago (2017-05-10 21:36:17 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://github.com/google/syzygy/commit/8a26461de5bc099059fc2078db9c083c0882f7d1
3 years, 7 months ago (2017-05-10 21:37:54 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 22:04:25 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/google/syzygy/commit/8a26461de5bc099059fc2078db9c083c0882f7d1

Powered by Google App Engine
This is Rietveld 408576698