aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MemDriverLib/PatternScanner.cpp4
-rw-r--r--include/PatternScanner.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/MemDriverLib/PatternScanner.cpp b/MemDriverLib/PatternScanner.cpp
index e9514f6..29ea7f9 100644
--- a/MemDriverLib/PatternScanner.cpp
+++ b/MemDriverLib/PatternScanner.cpp
@@ -11,11 +11,11 @@
#include <Windows.h>
-const struct map_file_data loadlib_data = {
+const struct map_file_data map_loadlib = {
map_file_loadlib, map_file_loadlib_cleanup, true
};
-const struct map_file_data kmem_data = {
+const struct map_file_data map_kmem = {
map_file_kmem, map_file_kmem_cleanup, false
};
diff --git a/include/PatternScanner.h b/include/PatternScanner.h
index c2f1980..f0be2ba 100644
--- a/include/PatternScanner.h
+++ b/include/PatternScanner.h
@@ -29,13 +29,13 @@ bool map_file_kmem(MODULE_DATA& module, PVOID * const buffer,
bool map_file_kmem_cleanup(MODULE_DATA& module, PVOID buffer,
PVOID const user_ptr);
-extern const struct map_file_data loadlib_data;
-extern const struct map_file_data kmem_data;
+extern const struct map_file_data map_loadlib;
+extern const struct map_file_data map_kmem;
class PatternScanner
{
public:
- explicit PatternScanner(struct map_file_data const * const mfd = &loadlib_data, PVOID map_file_user_data = NULL);
+ explicit PatternScanner(struct map_file_data const * const mfd = &map_loadlib, PVOID map_file_user_data = NULL);
~PatternScanner();
void SetScanLowAddress(UINT64 startAddress) {
m_LowAddress = startAddress;