News for hackers. Stuff that matters.
Re:The Shortest Crashing C Program by lgeek on Friday May 24, 2013 @12:15PM (#5763781)
> the initialization can be done at compile time, or (sometimes, in C++) on program startup

With ELF binaries for C programs it's done at startup as well. The data segment is created as having memory size SIZEM and file size SIZEF. If SIZEF < SIZEM, memory from SIZEF to SIZEM is set to 0.

There are no comments on this comment yet.