期刊文献+

C语言内存错误分析与研究 被引量:2

The Analysis and Research of C Language Memory Error
在线阅读 下载PDF
导出
摘要 指针是C语言的精华所在,正确使用指针能使程序简洁高效,能避免内存错误和程序异常,保证程序的正确性和可移植性。针对指针在编程过程中可能出现的错误,阐述了C编译器对数据进行内存分配的策略,通过具体的实例进行分析,并给出解决方法。 The pointer is the essence of the C language. The proper use of pointer can make the program simple and efficient, can avoid memory errors and exceptions and guarantees the correctness of program and portability. According to thepossible errors of pointer in the course of programming, the memory allocation strategy of data of the C compiler has beenexpounded and given the solution through the analysis of specific examples.
出处 《电脑编程技巧与维护》 2014年第14期22-22,63,共2页 Computer Programming Skills & Maintenance
关键词 C语言 指针 内存分配 内存错误 C Language Pointer Memory Allocation Memory Error
  • 相关文献

参考文献3

二级参考文献16

  • 1吕维梅,刘坚.C/C++程序安全漏洞的分类与分析[J].计算机工程与应用,2005,41(5):123-125. 被引量:18
  • 2曹红.深析C语言的指针[J].通化师范学院学报,2007,28(8):34-36. 被引量:2
  • 3EDMUND M.CLARKE,ORNA GRUMBERG,DORON A.Pe- led.Model Checking[M].Massachusetts:The MIT Press,1999.
  • 4NIPKOW T.,PAULSON L..Isabelle/HOL--A Proof Assis- tant for Higher-Order Logic[M].New York:Springer, c2002.
  • 5CRUZ JORGE.Constraint Reasoning for Differential Models [M].The IOS Press,2005.
  • 6WEIBENBACHER GEORG.An Abstraction/Refinement S- cheme for Model Checking C Programs [D].Technischen Universital Graz,Master's thesis,2003.
  • 7RICHARD M.STALLMAN.GNU Compiler Collection Inter- nals for GCC3.3[C].January 2002:101-141.
  • 8J.VIEGA,JT.BLOCH,Y.KOHNO,et al.A Static Vulnerability Sca-nner for C and C++ Code[J].In Proceedings of the 16th, Annual Computer Security Applications Conference(ACSAC 2000).IEEE,2000.
  • 9DAVID EVANS, DAVID LAROCHELLE.Improving Secu- rity Using Extensible Lightweight Static Analysis [J].IEEE Software,Jan./Feb.2002.
  • 10张天良.C++中常见内存错误及对策浅析[J].中国西部科技,2008,7(35):3-3. 被引量:2

共引文献4

同被引文献4

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部