Princeton University
Princeton University
复制标题
DOI:
10.1111/an.1968.9.10.2.2
复制
发表时间:
2001
期刊:
影响因子:
--
通讯作者:
elfdump 10symbol.o;Robert Dondero
中科院分区:
文献类型:
--
作者:
elfdump 10symbol.o;Robert Dondero
• 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)