Platform/기타

Program Virtual Memory Layout - Linux

jjryu 2013. 5. 26. 17:35

The actual instructions (the .text section) are loaded at the address 0x08048000. 

The .data section

the .bss section.

the heap

dynamic memory allocation

Unmapped Memory

the number of arguments

the program's command-line arguments

the program's environment variables

the null-terminated name of the program using ASCII characters

At the bottom of the stack, there is a word of memory that is zero.

location 0xbfffffff

Linux starts the stack here and grows it downward toward the other sections.



참조 사이트:

http://savannah.nongnu.org/projects/pgubook/