Basically, in C programs created for the target ELF (Executable and Bound format), such as those built on Linux, there is a standard memory layout that is created. Similar layouts probably exist for other architectures, but I don’t know enough to tell you more about them.
Layout:
, (, , , "..." C).
, . , malloc " " .
, . , , ({ ... }).
:
ELF . , C , GCC, Internals Manual ; , , 17, 17.10, 17.19 17.21. , Intel IA-32 Architectures. , Intel .. ELF, , . , , 3.3 1: 3 3: , 1.
, , , .