This commit is contained in:
sirjonasxx 2018-10-13 17:17:20 +02:00
parent 0733de713a
commit e35edcb0e4
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -41,7 +41,7 @@ void Process::PrintCachedResults(std::vector<u_char *> cache)
if (!ReadProcessMemory(mHandle, addr, rawMem, 1024, nullptr))
{
std::cout << "Failed to read memory at " << addr << std::endl;
std::cerr << "Failed to read memory at " << addr << std::endl;
return;
}
@ -147,7 +147,7 @@ void Process::CreateMapFromChunk(MemoryChunk *chunk)
if (!ReadProcessMemory(mHandle, chunk->mStart, dump, chunk->mSize, nullptr))
{
std::cout << "Failed to read memory at: " << chunk->mStart << std::endl;
std::cerr << "Failed to read memory at: " << chunk->mStart << std::endl;
return;
}
@ -240,7 +240,7 @@ void Process::FindMaps(SYSTEM_INFO sys_info)
while (addr < end) {
if (!VirtualQueryEx(mHandle, reinterpret_cast<LPCVOID>(addr), &mbi, sizeof(mbi))) {
std::cout << "Failed to get memory maps\n";
std::cerr << "Failed to get memory maps\n";
return;
}