|
-
June 6th, 2008, 03:43 PM
#1
virtual memory of a process
can I copy the virtual memory of a process into a buffer? (for example, an array of bytes)?
I need this in order to see the values of variables (strings as well), at a moment, of a process.
-
June 6th, 2008, 04:30 PM
#2
Re: virtual memory of a process
And how do you know which memory location corresponds to which variables in your code?
-
June 15th, 2008, 08:04 AM
#3
Re: virtual memory of a process
actually, now I know what I really want...
the program will have one of few string variables, let's say "aaa", "aab", "aac" or "aad". In the program only one of theese string values exist, which means that a variable of the program has one of theese values. and I need to know which of them it is. how do I do to find it? is there a posibility if I copy the memory into a buffer (here, an array of chars or wchars) and if yes, how can I do that?
please help...
-
June 16th, 2008, 07:02 PM
#4
Re: virtual memory of a process
Can you describe what you are trying to do in more detail?
Reading values out of memory is difficult and unreliable, so if you explain what you are attempting to do, we might be able to suggest some alternatives.
-
June 17th, 2008, 02:36 AM
#5
Re: virtual memory of a process
well, the main purpose of all this is that I am working on a plugin for winamp that changes the status of Yahoo! Messenger v8 BETA and I need to get somehow the ID with which the user logged in. studying windows and messages with Spy++ did not help at all. And now that I heard about threats I said to myself that this must be the way to get the ID. The solution, in my mind, was this, to copy the memory into a buffer and seek the ID from the ones registered in Windows .
-
June 17th, 2008, 01:02 PM
#6
Re: virtual memory of a process
 Originally Posted by Feoggou
well, the main purpose of all this is that I am working on a plugin for winamp that changes the status of Yahoo! Messenger v8 BETA and I need to get somehow the ID with which the user logged in. studying windows and messages with Spy++ did not help at all. And now that I heard about threats I said to myself that this must be the way to get the ID. The solution, in my mind, was this, to copy the memory into a buffer and seek the ID from the ones registered in Windows  .
I don't know of a reliable way to do this by reading the memory. Perhaps Yahoo! Messenger v8 has an developer SDK that allows you to interface with it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|