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

Issue 1169603003: [Syzygy Instrumenter] Add FillerTransform. (Closed)

Created:
5 years, 6 months ago by huangs
Modified:
5 years, 6 months ago
Reviewers:
chrisha, etienneb
CC:
syzygy-changes_googlegroups.com
Base URL:
https://code.google.com/p/syzygy.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[Syzygy Instrumenter] Add FillerTransform. The FillerTransform adds NOP to specified functions at various locations. R=chrisha@chromium.org Committed: https://github.com/google/syzygy/commit/4b2d09f05c8ea5bfcb7106c777df2316d6b5d3e8

Patch Set 1 #

Total comments: 36

Patch Set 2 : Merge NopInjector into the transform #

Patch Set 3 : Add test for debug_friendly; cleanups. #

Total comments: 10

Patch Set 4 : Cleanups and comment fixes. #

Patch Set 5 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+683 lines, -0 lines) Patch
M syzygy/instrument/instrument.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
A syzygy/instrument/transforms/filler_transform.h View 1 2 3 1 chunk +178 lines, -0 lines 0 comments Download
A syzygy/instrument/transforms/filler_transform.cc View 1 2 3 1 chunk +161 lines, -0 lines 0 comments Download
A syzygy/instrument/transforms/filler_transform_unittest.cc View 1 2 1 chunk +341 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
huangs
PTAL. I also have the instrumenter, which is excluded from this CL.
5 years, 6 months ago (2015-06-04 21:59:17 UTC) #2
chrisha
First comments... haven't gotten to the implementation or the tests. https://codereview.chromium.org/1169603003/diff/1/syzygy/instrument/transforms/filler_transform.h File syzygy/instrument/transforms/filler_transform.h (right): https://codereview.chromium.org/1169603003/diff/1/syzygy/instrument/transforms/filler_transform.h#newcode16 ...
5 years, 6 months ago (2015-06-04 22:31:56 UTC) #3
huangs
Updated, PTAL. https://codereview.chromium.org/1169603003/diff/1/syzygy/instrument/transforms/filler_transform.h File syzygy/instrument/transforms/filler_transform.h (right): https://codereview.chromium.org/1169603003/diff/1/syzygy/instrument/transforms/filler_transform.h#newcode16 syzygy/instrument/transforms/filler_transform.h:16: // list of functions by injecting benign ...
5 years, 6 months ago (2015-06-05 15:13:25 UTC) #4
huangs
Also note that I'm not testing the effect of |debug_friendly|. Will add a test.
5 years, 6 months ago (2015-06-05 15:28:33 UTC) #5
chrisha
https://codereview.chromium.org/1169603003/diff/40001/syzygy/instrument/transforms/filler_transform.cc File syzygy/instrument/transforms/filler_transform.cc (right): https://codereview.chromium.org/1169603003/diff/40001/syzygy/instrument/transforms/filler_transform.cc#newcode48 syzygy/instrument/transforms/filler_transform.cc:48: auto source_range = inst_it->source_range(); What is this needed for? ...
5 years, 6 months ago (2015-06-10 18:07:27 UTC) #6
huangs
PTAL. https://chromiumcodereview.appspot.com/1169603003/diff/40001/syzygy/instrument/transforms/filler_transform.cc File syzygy/instrument/transforms/filler_transform.cc (right): https://chromiumcodereview.appspot.com/1169603003/diff/40001/syzygy/instrument/transforms/filler_transform.cc#newcode48 syzygy/instrument/transforms/filler_transform.cc:48: auto source_range = inst_it->source_range(); Removed. https://chromiumcodereview.appspot.com/1169603003/diff/40001/syzygy/instrument/transforms/filler_transform.cc#newcode71 syzygy/instrument/transforms/filler_transform.cc:71: NopSpec ...
5 years, 6 months ago (2015-06-11 14:54:15 UTC) #7
huangs
Ping chrisha@. Thanks!
5 years, 6 months ago (2015-06-12 14:18:34 UTC) #8
chrisha
Thorough tests! lgtm
5 years, 6 months ago (2015-06-12 15:07:47 UTC) #9
huangs
Thanks. Submitting soon!
5 years, 6 months ago (2015-06-12 15:49:05 UTC) #10
huangs
5 years, 6 months ago (2015-06-12 17:08:19 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
4b2d09f05c8ea5bfcb7106c777df2316d6b5d3e8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698