diff options
Diffstat (limited to 'include/PatternScanner.h')
-rw-r--r-- | include/PatternScanner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/PatternScanner.h b/include/PatternScanner.h index aa011f8..d374d29 100644 --- a/include/PatternScanner.h +++ b/include/PatternScanner.h @@ -39,10 +39,10 @@ public: void SetScanAddress(UINT64 startAddress) { m_LowAddress = startAddress; } - bool Scan(MODULE_DATA& module, const char * const pattern); + bool Scan(MODULE_DATA& module, const char * const pattern, std::vector<SIZE_T>& foundAddresses); private: bool checkPattern(MODULE_DATA& module, const char * const pattern, std::string& result); - bool doScan(std::string& pattern, UINT8 *buf, SIZE_T size, std::vector<UINT64>& foundOffsets); + bool doScan(std::string& pattern, UINT8 *buf, SIZE_T size, std::vector<SIZE_T>& foundAddresses); SymbolResolver& m_symbolResolver; |