From f132e01b7a29d806f0778c22dcaf8dfe7dc62045 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Fri, 20 Jul 2018 17:50:19 -0400 Subject: [PATCH] move stuff only used by vnrhook into vnrhook --- vnr/CMakeLists.txt | 2 +- vnr/vnrhook/CMakeLists.txt | 16 +++++++++------- vnr/{ => vnrhook/src/util}/cpputil/cppcstring.h | 0 vnr/{ => vnrhook/src/util}/disasm/disasm.cc | 0 vnr/{ => vnrhook/src/util}/disasm/disasm.h | 0 vnr/{ => vnrhook/src/util}/ithsys/ithsys.cc | 0 vnr/{ => vnrhook/src/util}/ithsys/ithsys.h | 0 vnr/{ => vnrhook/src/util}/memdbg/memdbg.h | 0 vnr/{ => vnrhook/src/util}/memdbg/memsearch.cc | 0 vnr/{ => vnrhook/src/util}/memdbg/memsearch.h | 0 vnr/{ => vnrhook/src/util}/mono/monoobject.h | 0 vnr/{ => vnrhook/src/util}/mono/monotype.h | 0 vnr/{ => vnrhook/src/util}/ntdll/ntdll.h | 0 13 files changed, 10 insertions(+), 8 deletions(-) rename vnr/{ => vnrhook/src/util}/cpputil/cppcstring.h (100%) rename vnr/{ => vnrhook/src/util}/disasm/disasm.cc (100%) rename vnr/{ => vnrhook/src/util}/disasm/disasm.h (100%) rename vnr/{ => vnrhook/src/util}/ithsys/ithsys.cc (100%) rename vnr/{ => vnrhook/src/util}/ithsys/ithsys.h (100%) rename vnr/{ => vnrhook/src/util}/memdbg/memdbg.h (100%) rename vnr/{ => vnrhook/src/util}/memdbg/memsearch.cc (100%) rename vnr/{ => vnrhook/src/util}/memdbg/memsearch.h (100%) rename vnr/{ => vnrhook/src/util}/mono/monoobject.h (100%) rename vnr/{ => vnrhook/src/util}/mono/monotype.h (100%) rename vnr/{ => vnrhook/src/util}/ntdll/ntdll.h (100%) diff --git a/vnr/CMakeLists.txt b/vnr/CMakeLists.txt index ca0cdf5..891acb0 100644 --- a/vnr/CMakeLists.txt +++ b/vnr/CMakeLists.txt @@ -20,7 +20,7 @@ add_definitions( include_directories( ${PROJECT_SOURCE_DIR} - ${PROJECT_SOURCE_DIR}/texthook + #${PROJECT_SOURCE_DIR}/texthook ) add_subdirectory(vnrhook) diff --git a/vnr/vnrhook/CMakeLists.txt b/vnr/vnrhook/CMakeLists.txt index 1100fb9..e8a770a 100644 --- a/vnr/vnrhook/CMakeLists.txt +++ b/vnr/vnrhook/CMakeLists.txt @@ -42,15 +42,17 @@ set(vnrhook_src src/util/growl.h src/util/util.cc src/util/util.h - ${PROJECT_SOURCE_DIR}/ithsys/ithsys.cc - ${PROJECT_SOURCE_DIR}/disasm/disasm.cc - ${PROJECT_SOURCE_DIR}/memdbg/memdbg.h - ${PROJECT_SOURCE_DIR}/memdbg/memsearch.cc - ${PROJECT_SOURCE_DIR}/memdbg/memsearch.h - ${PROJECT_SOURCE_DIR}/mono/monoobject.h - ${PROJECT_SOURCE_DIR}/mono/monotype.h + src/util/ithsys/ithsys.cc + src/util/disasm/disasm.cc + src/util/memdbg/memdbg.h + src/util/memdbg/memsearch.cc + src/util/memdbg/memsearch.h + src/util/mono/monoobject.h + src/util/mono/monotype.h ) +include_directories(src/util) + add_library(vnrhook SHARED ${vnrhook_src}) enable_language(ASM_MASM) diff --git a/vnr/cpputil/cppcstring.h b/vnr/vnrhook/src/util/cpputil/cppcstring.h similarity index 100% rename from vnr/cpputil/cppcstring.h rename to vnr/vnrhook/src/util/cpputil/cppcstring.h diff --git a/vnr/disasm/disasm.cc b/vnr/vnrhook/src/util/disasm/disasm.cc similarity index 100% rename from vnr/disasm/disasm.cc rename to vnr/vnrhook/src/util/disasm/disasm.cc diff --git a/vnr/disasm/disasm.h b/vnr/vnrhook/src/util/disasm/disasm.h similarity index 100% rename from vnr/disasm/disasm.h rename to vnr/vnrhook/src/util/disasm/disasm.h diff --git a/vnr/ithsys/ithsys.cc b/vnr/vnrhook/src/util/ithsys/ithsys.cc similarity index 100% rename from vnr/ithsys/ithsys.cc rename to vnr/vnrhook/src/util/ithsys/ithsys.cc diff --git a/vnr/ithsys/ithsys.h b/vnr/vnrhook/src/util/ithsys/ithsys.h similarity index 100% rename from vnr/ithsys/ithsys.h rename to vnr/vnrhook/src/util/ithsys/ithsys.h diff --git a/vnr/memdbg/memdbg.h b/vnr/vnrhook/src/util/memdbg/memdbg.h similarity index 100% rename from vnr/memdbg/memdbg.h rename to vnr/vnrhook/src/util/memdbg/memdbg.h diff --git a/vnr/memdbg/memsearch.cc b/vnr/vnrhook/src/util/memdbg/memsearch.cc similarity index 100% rename from vnr/memdbg/memsearch.cc rename to vnr/vnrhook/src/util/memdbg/memsearch.cc diff --git a/vnr/memdbg/memsearch.h b/vnr/vnrhook/src/util/memdbg/memsearch.h similarity index 100% rename from vnr/memdbg/memsearch.h rename to vnr/vnrhook/src/util/memdbg/memsearch.h diff --git a/vnr/mono/monoobject.h b/vnr/vnrhook/src/util/mono/monoobject.h similarity index 100% rename from vnr/mono/monoobject.h rename to vnr/vnrhook/src/util/mono/monoobject.h diff --git a/vnr/mono/monotype.h b/vnr/vnrhook/src/util/mono/monotype.h similarity index 100% rename from vnr/mono/monotype.h rename to vnr/vnrhook/src/util/mono/monotype.h diff --git a/vnr/ntdll/ntdll.h b/vnr/vnrhook/src/util/ntdll/ntdll.h similarity index 100% rename from vnr/ntdll/ntdll.h rename to vnr/vnrhook/src/util/ntdll/ntdll.h