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

Side by Side Diff: syzygy/agent/asan/asan.gyp

Issue 2526563002: Add a target to run the SyzyAsan RTL unittests in 4G (Closed)
Patch Set: Address nits. Created 4 years 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/agent/asan/dummy_shadow.cc » ('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,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 'page_protection_helpers_unittest.cc', 184 'page_protection_helpers_unittest.cc',
185 'registry_cache_unittest.cc', 185 'registry_cache_unittest.cc',
186 'rtl_impl_unittest.cc', 186 'rtl_impl_unittest.cc',
187 'rtl_unittest.cc', 187 'rtl_unittest.cc',
188 'rtl_utils_unittest.cc', 188 'rtl_utils_unittest.cc',
189 'runtime_unittest.cc', 189 'runtime_unittest.cc',
190 'scoped_page_protections_unittest.cc', 190 'scoped_page_protections_unittest.cc',
191 'shadow_marker_unittest.cc', 191 'shadow_marker_unittest.cc',
192 'shadow_unittest.cc', 192 'shadow_unittest.cc',
193 'stack_capture_cache_unittest.cc', 193 'stack_capture_cache_unittest.cc',
194 'static_shadow.cc',
195 'system_interceptors_unittest.cc', 194 'system_interceptors_unittest.cc',
196 'timed_try_unittest.cc', 195 'timed_try_unittest.cc',
197 'windows_heap_adapter_unittest.cc', 196 'windows_heap_adapter_unittest.cc',
198 'heaps/internal_heap_unittest.cc', 197 'heaps/internal_heap_unittest.cc',
199 'heaps/large_block_heap_unittest.cc', 198 'heaps/large_block_heap_unittest.cc',
200 'heaps/simple_block_heap_unittest.cc', 199 'heaps/simple_block_heap_unittest.cc',
201 'heaps/win_heap_unittest.cc', 200 'heaps/win_heap_unittest.cc',
202 'heaps/zebra_block_heap_unittest.cc', 201 'heaps/zebra_block_heap_unittest.cc',
203 'heap_managers/block_heap_manager_unittest.cc', 202 'heap_managers/block_heap_manager_unittest.cc',
204 'heap_managers/deferred_free_thread_unittest.cc', 203 'heap_managers/deferred_free_thread_unittest.cc',
(...skipping 17 matching lines...) Expand all
222 '<(src)/syzygy/pe/pe.gyp:test_dll', 221 '<(src)/syzygy/pe/pe.gyp:test_dll',
223 ], 222 ],
224 }, { 223 }, {
225 'sources!': [ 224 'sources!': [
226 # Uses 32-bit assembler. 225 # Uses 32-bit assembler.
227 'heap_managers/block_heap_manager_unittest.cc', 226 'heap_managers/block_heap_manager_unittest.cc',
228 # There's no need to patch the memory probes in a 64-bit build, this 227 # There's no need to patch the memory probes in a 64-bit build, this
229 # is only required for the SyzyAsan-instrumented binaries (32-bit 228 # is only required for the SyzyAsan-instrumented binaries (32-bit
230 # only). 229 # only).
231 'memory_interceptors_patcher_unittest.cc', 230 'memory_interceptors_patcher_unittest.cc',
232 # Static shadow doesn't work for large address spaces.
233 'static_shadow.cc',
234 ], 231 ],
235 'sources': ['dummy_shadow.cc'],
236 'dependencies': [ 232 'dependencies': [
237 '<(src)/syzygy/pe/pe.gyp:test_dll_x64', 233 '<(src)/syzygy/pe/pe.gyp:test_dll_x64',
238 ], 234 ],
239 }], 235 }],
240 ], 236 ],
241 'dependencies': [ 237 'dependencies': [
242 'syzyasan_rtl_lib', 238 'syzyasan_rtl_lib',
243 'syzyasan_rtl', 239 'syzyasan_rtl',
244 'syzyasan_rtl_unittest_utils', 240 'syzyasan_rtl_unittest_utils',
245 '<(src)/base/base.gyp:base', 241 '<(src)/base/base.gyp:base',
246 '<(src)/base/base.gyp:test_support_base', 242 '<(src)/base/base.gyp:test_support_base',
247 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', 243 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib',
248 '<(src)/syzygy/assm/assm.gyp:assm_lib', 244 '<(src)/syzygy/assm/assm.gyp:assm_lib',
249 '<(src)/syzygy/common/common.gyp:common_lib', 245 '<(src)/syzygy/common/common.gyp:common_lib',
250 '<(src)/syzygy/core/core.gyp:core_unittest_utils', 246 '<(src)/syzygy/core/core.gyp:core_unittest_utils',
251 '<(src)/syzygy/testing/testing.gyp:testing_lib', 247 '<(src)/syzygy/testing/testing.gyp:testing_lib',
252 '<(src)/syzygy/trace/agent_logger/agent_logger.gyp:agent_logger', 248 '<(src)/syzygy/trace/agent_logger/agent_logger.gyp:agent_logger',
253 '<(src)/syzygy/trace/agent_logger/agent_logger.gyp:agent_logger_lib', 249 '<(src)/syzygy/trace/agent_logger/agent_logger.gyp:agent_logger_lib',
254 '<(src)/testing/gmock.gyp:gmock', 250 '<(src)/testing/gmock.gyp:gmock',
255 '<(src)/testing/gtest.gyp:gtest', 251 '<(src)/testing/gtest.gyp:gtest',
256 '<(src)/third_party/crashpad/files/client/client.gyp:crashpad_client', 252 '<(src)/third_party/crashpad/files/client/client.gyp:crashpad_client',
257 ], 253 ],
258 'defines': [ 254 'defines': [
259 'SYZYGY_UNITTESTS_USE_LONG_TIMEOUT=1', 255 'SYZYGY_UNITTESTS_USE_LONG_TIMEOUT=1',
260 ], 256 ],
261 }, 257 },
262 { 258 {
259 'target_name': 'syzyasan_rtl_unittests_4g',
260 'type': 'none',
261 'msvs_cygwin_shell': 0,
262 'dependencies': ['syzyasan_rtl_unittests'],
263 'actions': [
264 {
265 'action_name': 'make_syzyasan_rtl_unittests_4g',
266 'inputs': [
267 '<(src)/syzygy/build/copy_laa.py',
268 '<(PRODUCT_DIR)/syzyasan_rtl_unittests.exe',
269 ],
270 'outputs': ['<(PRODUCT_DIR)/syzyasan_rtl_unittests_4g.exe'],
271 'action': [
272 '<(python_exe)',
273 '<(src)/syzygy/build/copy_laa.py',
274 '--input=$(OutDir)\\syzyasan_rtl_unittests.exe',
275 '--output=$(OutDir)\\syzyasan_rtl_unittests_4g.exe',
276 '--overwrite',
277 ],
278 },
279 ],
280 },
281 {
263 'target_name': 'syzyasan_hp_lib', 282 'target_name': 'syzyasan_hp_lib',
264 'type': 'static_library', 283 'type': 'static_library',
265 'sources': [ 284 'sources': [
266 'hp_crt_interceptors.cc', 285 'hp_crt_interceptors.cc',
267 'hp_crt_interceptors.h', 286 'hp_crt_interceptors.h',
268 'hot_patching_asan_runtime.cc', 287 'hot_patching_asan_runtime.cc',
269 'hot_patching_asan_runtime.h', 288 'hot_patching_asan_runtime.h',
270 ], 289 ],
271 'dependencies': [ 290 'dependencies': [
272 'syzyasan_rtl_lib', 291 'syzyasan_rtl_lib',
(...skipping 28 matching lines...) Expand all
301 'DelayLoadDLLs=': [ 320 'DelayLoadDLLs=': [
302 ], 321 ],
303 }, 322 },
304 }, 323 },
305 }, 324 },
306 { 325 {
307 'target_name': 'syzyasan_hp_unittests', 326 'target_name': 'syzyasan_hp_unittests',
308 'type': 'executable', 327 'type': 'executable',
309 'sources': [ 328 'sources': [
310 'hot_patching_asan_runtime_unittest.cc', 329 'hot_patching_asan_runtime_unittest.cc',
311 'static_shadow.cc',
312 '<(src)/syzygy/testing/run_all_unittests.cc', 330 '<(src)/syzygy/testing/run_all_unittests.cc',
313 ], 331 ],
314 'dependencies': [ 332 'dependencies': [
315 'syzyasan_hp_lib', 333 'syzyasan_hp_lib',
316 'syzyasan_hp', 334 'syzyasan_hp',
317 'syzyasan_rtl_unittest_utils', 335 'syzyasan_rtl_unittest_utils',
318 '<(src)/base/base.gyp:base', 336 '<(src)/base/base.gyp:base',
319 '<(src)/base/base.gyp:test_support_base', 337 '<(src)/base/base.gyp:test_support_base',
320 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', 338 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib',
321 '<(src)/syzygy/common/common.gyp:common_lib', 339 '<(src)/syzygy/common/common.gyp:common_lib',
(...skipping 13 matching lines...) Expand all
335 }, 353 },
336 }, 354 },
337 { 355 {
338 'target_name': 'syzyasan_rtl', 356 'target_name': 'syzyasan_rtl',
339 'type': 'loadable_module', 357 'type': 'loadable_module',
340 'includes': [ 358 'includes': [
341 '../agent.gypi', 359 '../agent.gypi',
342 'agent_link_settings.gypi', 360 'agent_link_settings.gypi',
343 ], 361 ],
344 'sources': [ 362 'sources': [
345 'dummy_shadow.cc',
346 'syzyasan_rtl.cc', 363 'syzyasan_rtl.cc',
347 'syzyasan_rtl.rc', 364 'syzyasan_rtl.rc',
348 ], 365 ],
349 'dependencies': [ 366 'dependencies': [
350 'syzyasan_rtl_lib', 367 'syzyasan_rtl_lib',
351 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', 368 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib',
352 '<(src)/syzygy/common/common.gyp:common_lib', 369 '<(src)/syzygy/common/common.gyp:common_lib',
353 '<(src)/syzygy/core/core.gyp:core_lib', 370 '<(src)/syzygy/core/core.gyp:core_lib',
354 '<(src)/syzygy/version/version.gyp:syzygy_version', 371 '<(src)/syzygy/version/version.gyp:syzygy_version',
355 ], 372 ],
(...skipping 30 matching lines...) Expand all
386 'VCLinkerTool': { 403 'VCLinkerTool': {
387 # 3 corresponds to LTCG:PGOPTIMIZE. 404 # 3 corresponds to LTCG:PGOPTIMIZE.
388 'LinkTimeCodeGeneration': '3', 405 'LinkTimeCodeGeneration': '3',
389 }, 406 },
390 }, 407 },
391 }], 408 }],
392 ], 409 ],
393 }, 410 },
394 ], 411 ],
395 } 412 }
OLDNEW
« no previous file with comments | « no previous file | syzygy/agent/asan/dummy_shadow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698