Page 1 of 1
Determine memory address of 'self' (exe)?
Posted: Fri Dec 07, 2012 5:33 pm
by jassing
Is there a way to get the start address of an exe in memory?
Re: Determine memory address of 'self' (exe)?
Posted: Fri Dec 07, 2012 6:40 pm
by spikey
Only if you enjoy pain - the exe has three different 'base' addresses, the address of the image, the address of the start of the code in the image and of course the mapping between the virtual and physical memory but have a look at:-
I assume you're referring to Windoze - if its Linux or Mac - I've no idea where to start!
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Re: Determine memory address of 'self' (exe)?
Posted: Fri Dec 07, 2012 6:45 pm
by jassing
spikey wrote:I assume you're referring to Windoze
Of course, that's why I posted in the windows forum...
Thanks for the link, will read it over lunch.
-j
Re: Determine memory address of 'self' (exe)?
Posted: Fri Dec 07, 2012 6:51 pm
by spikey

I just saw the posting in the unanswered postings list - I didn't really take any notice of where it had originated.