期刊文献+

一种检测运行栈与静态数据区重叠的新方法 被引量:2

A New Approach to Detect the Overlap between Runtime Stack and Static Data Sections
在线阅读 下载PDF
导出
摘要 嵌入式系统中由于内存限制,容易出现运行栈和数据区重叠的错误。已有的两种检测该错误的方法在准确性和易用性方面存在缺陷,不适用于基于软件模拟器的大规模回归测试。文章通过改变运行栈与静态数据区的布局,将运行栈与静态数据区重叠的错误转化为运行栈超越内存地址空间的错误。新方法大大简化了这种运行时错误的检测和调试。 Embedded systems have limited memory and the stack and static data sections may overlap at runtime.The two known approaches to detect the problem are deficient in accuracy and usability and not suitable for large regression testing based on software simulator.This paper proposes a new method to transforms the error that runtime stack overlaps with the static data sections to the one that runtime stack exceeds the memory space by modifying the layout of runtime stack and static data sections.This new method can simplify the detection and debugging of the runtime error significantly.
出处 《计算机工程与应用》 CSCD 北大核心 2006年第20期86-88,112,共4页 Computer Engineering and Applications
关键词 嵌入式系统工具链 ELF文件格式 运行栈 静态数据区 链接器 软件模拟器 embedded system toolchain,ELF file format,nmtime stack,static data sections,linker,software simulator
  • 相关文献

参考文献5

  • 1Tool Interface Standard (TIS) Executable and Linking Format (ELF)Specification[S].version 1.2,TIS Committee,1995
  • 2Alfred V Aho,Ravi Sethi,Jeffrey D Ullman.Compilers:Principles,Techniques,and Tools[M].Addison Wesley,1986
  • 3Steven S Muchnick,Morgan Kaufmann.Advanced Compiler Design Implementation.1997
  • 4Documentation for binutils 2.16.2005
  • 5Randal E Bryant,David R O 'Hallaron.Computer Systems A programmer's Perspective[M].Prentice Hall,2002

同被引文献30

  • 1冯玉琳,黄涛,李京.面向对象的软件构造[J].软件学报,1996,7(3):129-136. 被引量:21
  • 2林泊,周明辉,刘天成,黄罡,梅宏.一个J2EE应用服务器的Web容器集成框架[J].软件学报,2006,17(5):1195-1203. 被引量:13
  • 3邱航,何明耘,陈雷霆.网络游戏引擎中同步技术研究综述[J].计算机应用研究,2007,24(1):14-17. 被引量:1
  • 4王玉亭,孙剑.应用程序框架中对象动态创建和RTTI机制的实现[J].计算机与现代化,2007(8):50-52. 被引量:5
  • 5Kennedy K, Allen J R. Optimizing Compilers for Modern Architectures: A Dependence-Based Approach. San Francisco, CA, USA: Morgan Kaufmann Publishers Inc, 2001.
  • 6Weiser M. Program slicing//Proceedings of the 5th International Conference on Software Engineering (ICSE' 81). San Diego, California, USA, 1981:439-449.
  • 7Hotwitz S, Reps T, Binkley D. Interprocedural slicing using dependence graphs//Proceedings of the ACM SIGPLAN 1988 Conference on Programming Language Design and Implementation (PLDI' 88). Atalanta, Georgia, 1988 : 35-46.
  • 8Altekar G, Stoica I. ODR: Output-deterministic replay for multicore debugging//Proceedings of the ACM SIGOPS 22nd Sympgiium ou Operatiug Systems Principles (SOSP' 09 ). Bigsky, Montana, USA, 2009:193-206.
  • 9Bhansali S, Claen W-K, Jong S D et al. Framework for in struetion-level tracing and analysis of program executions// Proceedings of the 2nd International Conference on Virtual Exeeution Environments ( VEE: 06 ). Ottawa, Ontario, Canada, 2006:154-163.
  • 10Patil H, Pereira C, Stalleup Met al. PinPlay: A framework for deterministic replay and reproducible analysis o( parallel programs//Proeeedings of the 8th Annual IEEE/ACM International Symposium on Code Generation and Optimization (CGO'10). Toronto, Ontario, Canada, 2010, 2-11.

引证文献2

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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