Why?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Apr 9 17:22:06 UTC 2024


On 10/04/2024 5:18 AM, Walter Bright wrote:
> BTW, I recall that executable files are not read into memory and then 
> jumped to. They are memory-mapped files, this is so the executable can 
> start up much faster. Pieces of the executable are loaded in on demand, 
> although the OS will speculatively load in pieces, too.

That doesn't sound right.

Address randomization, Windows remapping of symbols at runtime (with 
state that is kept around so you can do it later), all suggest it isn't 
like that now.


More information about the Digitalmars-d mailing list