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
Printable View
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 ?
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