end(3) Library Functions Manual end(3) etext, edata, end - extern etext; extern edata; extern end; : etext ( ). edata . end ( BSS). None. UNIX, . . ; . : _etext, _edata _end. , Linux. , - c &end (, ). , brk(2) malloc(3). sbrk(2) 0 . : $ ./a.out First address past: program text (etext) 0x8048568 initialized data (edata) 0x804a01c uninitialized data (end) 0x804a024 #include #include extern char etext, edata, end; /* The symbols must have some type, or "gcc -Wall" complains */ int main(void) { printf("First address past:\n"); printf(" program text (etext) %10p\n", &etext); printf(" initialized data (edata) %10p\n", &edata); printf(" uninitialized data (end) %10p\n", &end); exit(EXIT_SUCCESS); } objdump(1), readelf(1), sbrk(2), elf(5) Azamat Hackimov , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , <>. Linux man-pages 6.8 2 2024 . end(3)