Someone asked me this question a few days ago, and I couldn't find in the internet a detailed image, showing how the virtual memory looks like when a process is being created.
Let's say the process "program.exe" has been created.
How would you describe the memory layout, using the embedded image?
Can you please show and describe where is the "program.exe" itself in this layout, where are the imported DLLs, where is the heap, the stack, what's going on in the kernel, and etc.
I'll be glad for as much detailed image as you can.
Clear memory layout:
Partially filled memory layout (order doesn't really matter):