i am using ReadProcessMemory to look for a string in a process , trouble is i dont know where to start and end from i just have
for (dwBaseAddress = 0; dwBaseAddress < 999999999; dwBaseAddress++)
can anyone help me out
i am using ReadProcessMemory to look for a string in a process , trouble is i dont know where to start and end from i just have
for (dwBaseAddress = 0; dwBaseAddress < 999999999; dwBaseAddress++)
can anyone help me out
Maybe read the "related topics" section of the manual page for ReadProcessMemory ?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
i did , i couldent see anything to say where the start and end address is for the process
GetSystemInfo will give you the range and then one typically walks through the allocation blocks using VirtualQueryEx (only reading the committed blocks).
Performing a hex dump of another process's memory