| 374 | } |
| 375 | |
| 376 | void MemScanner::reset() |
| 377 | { |
| 378 | m_resultsConsoleAddr.clear(); |
| 379 | m_resultsConsoleAddr.shrink_to_fit(); |
| 380 | m_wasUnknownInitialValue = false; |
| 381 | delete[] m_scanRAMCache; |
| 382 | m_scanRAMCache = nullptr; |
| 383 | m_resultCount = 0; |
| 384 | m_scanStarted = false; |
| 385 | std::stack<MemScannerUndoAction> empty; |
| 386 | std::swap(m_UndoStack, empty); |
| 387 | m_undoCount = 0; |
| 388 | } |
| 389 | |
| 390 | inline bool MemScanner::isHitNextScan(const MemScanner::ScanFilter filter, |
| 391 | const char* memoryToCompare1, const char* memoryToCompare2, |
no outgoing calls
no test coverage detected