Click to See Complete Forum and Search --> : A tough one - program memory overrun
sternaphile
April 24th, 2003, 09:08 AM
Hello,
We suspect that our application is being overrun/overwritten by another that is concurrently running on our system.
Is there any way to report the memory state/table of all applications on our system, so that we can see if something is crossing our memory borders?
Thanks for your help in advance.
Gabriel Fleseriu
April 24th, 2003, 09:16 AM
What OS does your app run under? If it is Win32, every process runs in its own address space, so what you say is not directly possible. (It is possible by calling things like WriteProcessMemory(), but that cannot happen by mistake).
dimm_coder
April 24th, 2003, 09:20 AM
What system do U mean?
Every modern OS's of common usage has a own process adress space for every process. It cannot be overwritten by other process like it was for early Win versions (win 3.1, + partly 9x).
Of course, If U mean that some process has rights to use API like ReadProcessMemory, WriteProcessMemory (for Win), it can do any things U donot wait for.
So give a more concrete question with more describtions...
Kheun
April 24th, 2003, 07:46 PM
Similar to calling WriteProcessMemory, if the two programs intercommunicates using any form of RPC, there is a chance that buffer allocated at the server is being overruned by data from the client.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.