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

Side by Side Diff: syzygy/experimental/protect/protect.gyp

Issue 2535563002: Added all code for integrity check transform (Closed)
Patch Set: 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 | « syzygy/experimental/experimental.gyp ('k') | syzygy/experimental/protect/protect/protect.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 2013 Google Inc. All Rights Reserved. 1 # Copyright 2013 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': 'pehacker_lib', 21 'target_name': 'protect_lib',
22 'type': 'static_library', 22 'type': 'static_library',
23 'sources': [ 23 'sources': [
24 'operation.h', 24 'protect_lib/code_randomizer.cc',
25 'pehacker_app.cc', 25 'protect_lib/code_randomizer.h',
26 'pehacker_app.h', 26 'protect_lib/equation_gen.cc',
27 'variables.cc', 27 'protect_lib/equation_gen.h',
28 'variables.h', 28 'protect_lib/integrity_check_transform.cc',
29 'operations/add_imports_operation.cc', 29 'protect_lib/integrity_check_transform.h',
30 'operations/add_imports_operation.h', 30 'protect_lib/integrity_check_layout_transform.cc',
31 'operations/redirect_imports_operation.cc', 31 'protect_lib/integrity_check_layout_transform.h',
32 'operations/redirect_imports_operation.h', 32 'protect_lib/protect_app.cc',
33 'protect_lib/protect_app.h',
34 'protect_lib/protect_flummox.cc',
35 'protect_lib/protect_flummox.h',
36 'protect_lib/protect_utils.cc',
37 'protect_lib/protect_utils.h',
33 ], 38 ],
34 'dependencies': [ 39 'dependencies': [
35 '<(src)/base/base.gyp:base', 40 '<(src)/base/base.gyp:base',
36 '<(src)/syzygy/application/application.gyp:application_lib', 41 '<(src)/syzygy/application/application.gyp:application_lib',
37 '<(src)/syzygy/block_graph/analysis/block_graph_analysis.gyp:' 42 '<(src)/syzygy/assm/assm.gyp:assm_lib',
38 'block_graph_analysis_lib', 43 '<(src)/syzygy/block_graph/block_graph.gyp:block_graph_lib',
39 '<(src)/syzygy/block_graph/transforms/block_graph_transforms.gyp:' 44 '<(src)/syzygy/block_graph/transforms/block_graph_transforms.gyp:'
40 'block_graph_transforms_lib', 45 'block_graph_transforms_lib',
46 '<(src)/syzygy/ar/ar.gyp:ar_lib',
41 '<(src)/syzygy/common/common.gyp:common_lib', 47 '<(src)/syzygy/common/common.gyp:common_lib',
48 '<(src)/syzygy/instrument/instrument.gyp:instrument_lib',
42 '<(src)/syzygy/pe/orderers/pe_orderers.gyp:pe_orderers_lib', 49 '<(src)/syzygy/pe/orderers/pe_orderers.gyp:pe_orderers_lib',
43 '<(src)/syzygy/pe/pe.gyp:pe_lib', 50 '<(src)/syzygy/pe/pe.gyp:pe_lib',
44 '<(src)/syzygy/pe/transforms/pe_transforms.gyp:pe_transforms_lib', 51 '<(src)/syzygy/pe/transforms/pe_transforms.gyp:pe_transforms_lib',
45 '<(src)/syzygy/relink/relink.gyp:relink_lib', 52 '<(src)/syzygy/relink/relink.gyp:relink_lib',
46 ], 53 ],
47 }, 54 },
48 { 55 {
49 'target_name': 'pehacker', 56 'target_name': 'protect',
50 'type': 'executable', 57 'type': 'executable',
51 'sources': [ 58 'sources': [
52 'pehacker_main.cc', 59 'protect/protect.cc',
53 'pehacker.rc',
54 ], 60 ],
55 'dependencies': [ 61 'dependencies': [
56 'pehacker_lib', 62 'protect_lib',
57 ], 63 ],
58 }, 64 },
59 { 65 {
60 'target_name': 'pehacker_unittest_utils', 66 'target_name': 'protect_unittest',
61 'type': 'static_library',
62 'sources': [
63 'unittest_util.cc',
64 'unittest_util.h',
65 ],
66 'dependencies': [
67 '<(src)/base/base.gyp:base',
68 '<(src)/testing/gmock.gyp:gmock',
69 '<(src)/testing/gtest.gyp:gtest',
70 '<(src)/syzygy/core/core.gyp:core_unittest_utils',
71 '<(src)/syzygy/pdb/pdb.gyp:pdb_unittest_utils',
72 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils',
73 ],
74 },
75 {
76 'target_name': 'pehacker_unittests',
77 'type': 'executable', 67 'type': 'executable',
78 'sources': [ 68 'sources': [
79 'pehacker_app_unittest.cc', 69 'protect_unittest/integrity_check_transform_unittests.cc',
80 'variables_unittest.cc', 70 'protect_unittest/protect_app_unittests.cc',
81 'operations/add_imports_operation_unittest.cc',
82 'operations/redirect_imports_operation_unittest.cc',
83 '<(src)/syzygy/testing/run_all_unittests.cc', 71 '<(src)/syzygy/testing/run_all_unittests.cc',
84 ], 72 ],
85 'dependencies': [ 73 'dependencies': [
86 'pehacker_lib', 74 'protect_lib',
87 'pehacker_unittest_utils',
88 '<(src)/base/base.gyp:base', 75 '<(src)/base/base.gyp:base',
89 '<(src)/base/base.gyp:test_support_base', 76 '<(src)/base/base.gyp:test_support_base',
90 '<(src)/testing/gmock.gyp:gmock', 77 '<(src)/testing/gmock.gyp:gmock',
91 '<(src)/testing/gtest.gyp:gtest', 78 '<(src)/testing/gtest.gyp:gtest',
92 '<(src)/syzygy/core/core.gyp:core_unittest_utils', 79 '<(src)/syzygy/core/core.gyp:core_unittest_utils',
93 '<(src)/syzygy/pdb/pdb.gyp:pdb_unittest_utils', 80 '<(src)/syzygy/pdb/pdb.gyp:pdb_unittest_utils',
94 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils', 81 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils',
95 '<(src)/syzygy/pe/pe.gyp:test_dll', 82 '<(src)/syzygy/pe/pe.gyp:test_dll',
96 ], 83 ],
97 }, 84 },
98 ], 85 ],
99 } 86 }
OLDNEW
« no previous file with comments | « syzygy/experimental/experimental.gyp ('k') | syzygy/experimental/protect/protect/protect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698