News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

how to get the address Process?

Started by RHL, December 15, 2011, 09:18:47 AM

Previous topic - Next topic

qWord

Quote from: bomz on December 15, 2011, 09:18:09 PM
Quotebeginning with Windows Vista all load addresses can be random

May be it -
mov eax, Start
sub eax, 4096  ?????????
This is a valid method to get the base address: GetModuelHandle[Ex]()!

Quote from: bomz on December 15, 2011, 09:18:09 PM
This address - MZh offset have not any sence.
'MZ' is the DOS-Header's signature  (first two bytes) and not a address.

Quote from: bomz on December 15, 2011, 09:18:09 PM
The main - two copy of one applications have the same offset to the same variable??? under XP Vista 7 NT?
as donkey said, when ASLR is enabled, the modules base address varies.
FPU in a trice: SmplMath
It's that simple!

bomz

So correct sending data beetwen application possible only in allocate common memory in context of first application and sending it's handle?.
Is it possible to free this memmory from any copy of application?

qWord

Quote from: bomz on December 15, 2011, 10:01:24 PM
So correct sending data beetwen application possible only in allocate common memory in context of first application and sending it's handle?.
Is it possible to free this memmory from any copy of application?
You can't share 'common' memory handles between processes, because each process has it own virtual address space.
You may read this: Interprocess Communications
FPU in a trice: SmplMath
It's that simple!


hutch--

I get the impression that we are being fed bullshit here as the reasons given so far for pursuing this information are not making sense. I am closing this topic for being in violation of the forum rules.

Contact admin if you have a better description of why you are looking for this information.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php