开发者

Memory Segments of a Program in C

I'm looking for a tutorial describing abo开发者_JAVA技巧ut the various memory segments of a C program like code segment, data segment etc and what type of information is stored into them (i.e. where global, static, automatic etc variables are stored and why?).

--Ravi


Try reading this: Linkers & Loaders. This is the online copy of a wonderful book by John Levine, which delves into these things.

You will also benefit by reading more about ELF format. Wikipedia has links to more articles about the same.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜