计算机科学 ›› 2014, Vol. 41 ›› Issue (Z6): 445-450.
江梦涛,潘朋飞,宋杨,荆琦
JIANG Meng-tao,PAN Peng-fei,SONG Yang and JING Qi
摘要: Linux内核中的编译选项为内核提供了功能定制的可能性,但从传统静态代码分析的角度较难获得编译选项的改变对软件代码实际的影响。基于Linux内核源码,提出一种从编译选项开始,一直到函数调用关系的分析思路,同时给出了与编译选项相关的源代码的分层模型及其具体的分析做法,对于理解Linux内核源码特别是其中的编译依赖有现实意义。
[1] Linux Kernel Organization,Inc.Kconifg Introductionin LinuxKernel Source Code.https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt [2] Linux Kernel Organization,Inc.Makefile Introductionin LinuxKernel Source Code.https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt [3] Linux Kernel Organization,Inc.Building External Modules inLinux Kernel.https://www.kernel.org/doc/Documentation/kbuild/modules.txt |
No related articles found! |
|