Princeton University

Princeton University
复制标题

DOI:
10.1111/an.1968.9.10.2.2
复制
发表时间:
2001
期刊:
--
影响因子:
--
通讯作者:
elfdump 10symbol.o;Robert Dondero
elfdump 10symbol.o;Robert Dondero
中科院分区:
其他
文献类型:
--
作者:
elfdump 10symbol.o;Robert Dondero

文献摘要

被引文献

相似文献

·程序准备过程:预处理、编译、汇编、链接·程序结构:使用头文件的多文件程序·进程内存布局:文本、堆栈、堆、rodata、数据、数据段·数据类型·变量声明和定义·变量作用域、链接和持续时间/范围·常量:#define,常量变量,枚举·运算符和语句·函数声明和定义·指针;引用调用·数组:数组和指针、作为参数的数组、字符串·命令行参数·输入/输出函数·文本文件·结构·动态内存管理:malloc(),calloc(),realloc(),free()·动态内存管理错误:悬空指针、内存泄漏、双重释放·抽象数据类型;不透明指针·无效指针·函数指针和函数回调·参数化宏及其危险(参见King第14.3节)
• The program preparation process: preprocess, compile, assemble, link • Program structure: multi-file programs using header files • Process memory layout: text, stack, heap, rodata, data, bss sections • Data types • Variable declarations and definitions • Variable scope, linkage, and duration/extent • Constants: #define, constant variables, enumerations • Operators and statements • Function declarations and definitions • Pointers; call-by-reference • Arrays: arrays and pointers, arrays as parameters, strings • Command-line arguments • Input/output functions • Text files • Structures • Dynamic memory mgmt.: malloc(), calloc(), realloc(), free() • Dynamic memory mgmt. errors: dangling pointer, memory leak, double free • Abstract data types; opaque pointers • Void pointers • Function pointers and function callbacks • Parameterized macros and their dangers (see King Section 14.3)