Quantcast
Channel: Challenges about the amount and characteristics of code within an executable file loaded into memory per each process - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Margaret Bloom for Challenges about the amount and characteristics...

The processor divides the address space into sets of addresses called pages. On x86 a typical page is of size 4KiB but other sizes are possible (e.g. 1GiB, 2 MiB). Pages are continuous, so the first...

View Article



Answer by Peter Cordes for Challenges about the amount and characteristics of...

A modern OS's program loader basically uses mmap, not read. https://en.wikipedia.org/wiki/Memory-mapped_file#Common_uses says: Perhaps the most common use for a memory-mapped file is the process loader...

View Article

Challenges about the amount and characteristics of code within an executable...

When an OS such as Windows wants to run an executable file, first it should load it into RAM. Due to prevent wasting the memory, loading it partly into the memory seems more intellectual than to load...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images