Posted: Mon Jul 05, 2021 6:12 pm Post subject: Multiple Process has same Base Address but works in CE
Hi there,
Sorry if this is a silly question but I'm experiencing something rather strange.
Okay so imagine I have a memory address that is defined as "ABC.dll" + 609C8 and I have the application running twice.
For Simplicity lets say that Process A -Should Produce Value 10 and Process B Should Produce Value 20.
Now This works fine in cheat engine, if I attach to each of the processes and preserve the addresses in the list the values change to what is expected of each Process.
Now what I'm a little confused about is that the Address displayed in the cheat engine table does not change but the value does?
This also means that when I've come to implement this in code, my value is always that of either Process A OR Process B but I'm not able to read both?
If anyone has any suggestion as to what is going on it would be greatly appreciated or if this isn't clear enough let me know and I'll try to post some pictures / video for clarity
Basically, each process gets its own view of memory called a virtual address space. Each process's virtual address space is separate (isolated) from other processes. This way any one process misbehaving has less of a chance of reading/writing data it isn't suppose to (better reliability, security, & privacy) among other things.
Even though two values in two different processes might have the same virtual address in their respective address spaces, they occupy different areas of physical memory, hence why they can have two different values. _________________
I don't know where I'm going, but I'll figure it out when I get there.
Edit:
It turns out that it's an issue with the library I was using (or the way that I was using it) and swapping to a different library resolves the issue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum