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

Side by Side Diff: syzygy/instrument/instrument.gyp

Issue 2951713003: adds the afl instrumenter. (Closed)
Patch Set: addressed feedback Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | syzygy/instrument/instrumenters/afl_instrumenter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 Google Inc. All Rights Reserved. 1 # Copyright 2012 Google Inc. All Rights Reserved.
2 # 2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 5 # You may obtain a copy of the License at
6 # 6 #
7 # http://www.apache.org/licenses/LICENSE-2.0 7 # http://www.apache.org/licenses/LICENSE-2.0
8 # 8 #
9 # Unless required by applicable law or agreed to in writing, software 9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and 12 # See the License for the specific language governing permissions and
13 # limitations under the License. 13 # limitations under the License.
14 14
15 { 15 {
16 'variables': { 16 'variables': {
17 'chromium_code': 1, 17 'chromium_code': 1,
18 }, 18 },
19 'targets': [ 19 'targets': [
20 { 20 {
21 'target_name': 'instrument_lib', 21 'target_name': 'instrument_lib',
22 'type': 'static_library', 22 'type': 'static_library',
23 'sources': [ 23 'sources': [
24 'instrument_app.cc', 24 'instrument_app.cc',
25 'instrument_app.h', 25 'instrument_app.h',
26 'instrumenter.h', 26 'instrumenter.h',
27 'instrumenters/afl_instrumenter.cc',
28 'instrumenters/afl_instrumenter.h',
27 'instrumenters/archive_instrumenter.cc', 29 'instrumenters/archive_instrumenter.cc',
28 'instrumenters/archive_instrumenter.h', 30 'instrumenters/archive_instrumenter.h',
29 'instrumenters/asan_instrumenter.cc', 31 'instrumenters/asan_instrumenter.cc',
30 'instrumenters/asan_instrumenter.h', 32 'instrumenters/asan_instrumenter.h',
31 'instrumenters/branch_instrumenter.cc', 33 'instrumenters/branch_instrumenter.cc',
32 'instrumenters/branch_instrumenter.h', 34 'instrumenters/branch_instrumenter.h',
33 'instrumenters/bbentry_instrumenter.cc', 35 'instrumenters/bbentry_instrumenter.cc',
34 'instrumenters/bbentry_instrumenter.h', 36 'instrumenters/bbentry_instrumenter.h',
35 'instrumenters/coverage_instrumenter.cc', 37 'instrumenters/coverage_instrumenter.cc',
36 'instrumenters/coverage_instrumenter.h', 38 'instrumenters/coverage_instrumenter.h',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 '--input-image=$(OutDir)\\test_dll.dll', 114 '--input-image=$(OutDir)\\test_dll.dll',
113 '--output-image=$(OutDir)\\instrumented_test_dll.dll', 115 '--output-image=$(OutDir)\\instrumented_test_dll.dll',
114 ] 116 ]
115 }, 117 },
116 }, 118 },
117 { 119 {
118 'target_name': 'instrument_unittests', 120 'target_name': 'instrument_unittests',
119 'type': 'executable', 121 'type': 'executable',
120 'sources': [ 122 'sources': [
121 'instrument_app_unittest.cc', 123 'instrument_app_unittest.cc',
124 'instrumenters/afl_instrumenter_unittest.cc',
122 'instrumenters/archive_instrumenter_unittest.cc', 125 'instrumenters/archive_instrumenter_unittest.cc',
123 'instrumenters/asan_instrumenter_unittest.cc', 126 'instrumenters/asan_instrumenter_unittest.cc',
124 'instrumenters/bbentry_instrumenter_unittest.cc', 127 'instrumenters/bbentry_instrumenter_unittest.cc',
125 'instrumenters/branch_instrumenter_unittest.cc', 128 'instrumenters/branch_instrumenter_unittest.cc',
126 'instrumenters/coverage_instrumenter_unittest.cc', 129 'instrumenters/coverage_instrumenter_unittest.cc',
127 'instrumenters/entry_call_instrumenter_unittest.cc', 130 'instrumenters/entry_call_instrumenter_unittest.cc',
128 'instrumenters/entry_thunk_instrumenter_unittest.cc', 131 'instrumenters/entry_thunk_instrumenter_unittest.cc',
129 'instrumenters/flummox_instrumenter_unittest.cc', 132 'instrumenters/flummox_instrumenter_unittest.cc',
130 'instrumenters/instrumenter_with_agent_unittest.cc', 133 'instrumenters/instrumenter_with_agent_unittest.cc',
131 'instrumenters/instrumenter_with_relinker_unittest.cc', 134 'instrumenters/instrumenter_with_relinker_unittest.cc',
(...skipping 28 matching lines...) Expand all
160 '<(src)/syzygy/integration_tests/integration_tests.gyp:' 163 '<(src)/syzygy/integration_tests/integration_tests.gyp:'
161 'integration_tests_dll', 164 'integration_tests_dll',
162 '<(src)/syzygy/pdb/pdb.gyp:pdb_unittest_utils', 165 '<(src)/syzygy/pdb/pdb.gyp:pdb_unittest_utils',
163 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils', 166 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils',
164 '<(src)/syzygy/pe/pe.gyp:test_dll', 167 '<(src)/syzygy/pe/pe.gyp:test_dll',
165 '<(src)/syzygy/pe/pe.gyp:test_dll_obj', 168 '<(src)/syzygy/pe/pe.gyp:test_dll_obj',
166 ], 169 ],
167 }, 170 },
168 ], 171 ],
169 } 172 }
OLDNEW
« no previous file with comments | « no previous file | syzygy/instrument/instrumenters/afl_instrumenter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698