摘要: 内核数据结构mm_struct中的成员变量start_code和end_code是进程代码段的起始和终止地址,start_data和 end_data是进程数据段的起始和终止地址,start_stack是进程堆栈段起始地址,start_brk是进程动态内存分配起始地址(堆的起始地址),还有一个 brk(堆的当前最后地址),就是动态内存分配当前的终止地址。man 2 sbrk的结果:brk() and sbrk() change the location of the program break, which defines the end of the process's data s 阅读全文
posted @ 2013-06-11 14:13 farseeraliens 阅读(146) 评论(0) 推荐(0) 编辑