I am using VirtualQuery to access all of the readable memory of a running process, I then scan this memory to find specific strings, I am concerned though that this might eventually lead to a situation where the memory I am trying to access is released somewhere else, how should I proceed to make sure the memory I am reading is valid and will remain valid until I am done reading the whole page ?
Thanks!