| Index: syzygy/experimental/protect/protect.gyp
|
| diff --git a/syzygy/pehacker/pehacker.gyp b/syzygy/experimental/protect/protect.gyp
|
| similarity index 58%
|
| copy from syzygy/pehacker/pehacker.gyp
|
| copy to syzygy/experimental/protect/protect.gyp
|
| index 9b2b3f71cf7c06488a808363d4c0b580441d6c16..f972ca5a868a89aa4a27ddf81d63f26fa879a95e 100644
|
| --- a/syzygy/pehacker/pehacker.gyp
|
| +++ b/syzygy/experimental/protect/protect.gyp
|
| @@ -18,27 +18,34 @@
|
| },
|
| 'targets': [
|
| {
|
| - 'target_name': 'pehacker_lib',
|
| + 'target_name': 'protect_lib',
|
| 'type': 'static_library',
|
| 'sources': [
|
| - 'operation.h',
|
| - 'pehacker_app.cc',
|
| - 'pehacker_app.h',
|
| - 'variables.cc',
|
| - 'variables.h',
|
| - 'operations/add_imports_operation.cc',
|
| - 'operations/add_imports_operation.h',
|
| - 'operations/redirect_imports_operation.cc',
|
| - 'operations/redirect_imports_operation.h',
|
| + 'protect_lib/code_randomizer.cc',
|
| + 'protect_lib/code_randomizer.h',
|
| + 'protect_lib/equation_gen.cc',
|
| + 'protect_lib/equation_gen.h',
|
| + 'protect_lib/integrity_check_transform.cc',
|
| + 'protect_lib/integrity_check_transform.h',
|
| + 'protect_lib/integrity_check_layout_transform.cc',
|
| + 'protect_lib/integrity_check_layout_transform.h',
|
| + 'protect_lib/protect_app.cc',
|
| + 'protect_lib/protect_app.h',
|
| + 'protect_lib/protect_flummox.cc',
|
| + 'protect_lib/protect_flummox.h',
|
| + 'protect_lib/protect_utils.cc',
|
| + 'protect_lib/protect_utils.h',
|
| ],
|
| 'dependencies': [
|
| '<(src)/base/base.gyp:base',
|
| '<(src)/syzygy/application/application.gyp:application_lib',
|
| - '<(src)/syzygy/block_graph/analysis/block_graph_analysis.gyp:'
|
| - 'block_graph_analysis_lib',
|
| + '<(src)/syzygy/assm/assm.gyp:assm_lib',
|
| + '<(src)/syzygy/block_graph/block_graph.gyp:block_graph_lib',
|
| '<(src)/syzygy/block_graph/transforms/block_graph_transforms.gyp:'
|
| 'block_graph_transforms_lib',
|
| + '<(src)/syzygy/ar/ar.gyp:ar_lib',
|
| '<(src)/syzygy/common/common.gyp:common_lib',
|
| + '<(src)/syzygy/instrument/instrument.gyp:instrument_lib',
|
| '<(src)/syzygy/pe/orderers/pe_orderers.gyp:pe_orderers_lib',
|
| '<(src)/syzygy/pe/pe.gyp:pe_lib',
|
| '<(src)/syzygy/pe/transforms/pe_transforms.gyp:pe_transforms_lib',
|
| @@ -46,45 +53,25 @@
|
| ],
|
| },
|
| {
|
| - 'target_name': 'pehacker',
|
| + 'target_name': 'protect',
|
| 'type': 'executable',
|
| 'sources': [
|
| - 'pehacker_main.cc',
|
| - 'pehacker.rc',
|
| + 'protect/protect.cc',
|
| ],
|
| 'dependencies': [
|
| - 'pehacker_lib',
|
| + 'protect_lib',
|
| ],
|
| },
|
| {
|
| - 'target_name': 'pehacker_unittest_utils',
|
| - 'type': 'static_library',
|
| - 'sources': [
|
| - 'unittest_util.cc',
|
| - 'unittest_util.h',
|
| - ],
|
| - 'dependencies': [
|
| - '<(src)/base/base.gyp:base',
|
| - '<(src)/testing/gmock.gyp:gmock',
|
| - '<(src)/testing/gtest.gyp:gtest',
|
| - '<(src)/syzygy/core/core.gyp:core_unittest_utils',
|
| - '<(src)/syzygy/pdb/pdb.gyp:pdb_unittest_utils',
|
| - '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils',
|
| - ],
|
| - },
|
| - {
|
| - 'target_name': 'pehacker_unittests',
|
| + 'target_name': 'protect_unittest',
|
| 'type': 'executable',
|
| 'sources': [
|
| - 'pehacker_app_unittest.cc',
|
| - 'variables_unittest.cc',
|
| - 'operations/add_imports_operation_unittest.cc',
|
| - 'operations/redirect_imports_operation_unittest.cc',
|
| + 'protect_unittest/integrity_check_transform_unittests.cc',
|
| + 'protect_unittest/protect_app_unittests.cc',
|
| '<(src)/syzygy/testing/run_all_unittests.cc',
|
| ],
|
| 'dependencies': [
|
| - 'pehacker_lib',
|
| - 'pehacker_unittest_utils',
|
| + 'protect_lib',
|
| '<(src)/base/base.gyp:base',
|
| '<(src)/base/base.gyp:test_support_base',
|
| '<(src)/testing/gmock.gyp:gmock',
|
|
|