Chinaunix首页 | 论坛 | 博客
  • 博客访问: 67101
  • 博文数量: 22
  • 博客积分: 1406
  • 博客等级: 上尉
  • 技术积分: 190
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 13:18
文章分类

全部博文(22)

文章存档

2011年(1)

2010年(21)

我的朋友

分类: C/C++

2010-03-06 16:55:37

As we read in Stack and Heap in Memory, we would like to know what makes up C program.

0x08
high address
0x07
arguments and env.
0x06
 stack
0x05
 shared memory
0x04
heap
0x03
 uninitialized data
0x02
 initialized data
0x01
program text
0x00
low address

exec() read the 8 and 7 from file.
exec() initial the 6.

program manage the 3.
programmer manage the 5.
阅读(731) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~