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

A New Approach to Detect the Overlap between Runtime Stack and Static Data Sections

在线阅读下载全文

作  者:谷晓铭[1] 霍玮[1] 桂剑[1] 贾耀仓[1] 

机构地区:[1]中国科学院计算技术研究所先进编译技术研究组

出  处:《计算机工程与应用》2006年第20期86-88,112,共4页Computer Engineering and Applications

摘  要:嵌入式系统中由于内存限制,容易出现运行栈和数据区重叠的错误。已有的两种检测该错误的方法在准确性和易用性方面存在缺陷,不适用于基于软件模拟器的大规模回归测试。文章通过改变运行栈与静态数据区的布局,将运行栈与静态数据区重叠的错误转化为运行栈超越内存地址空间的错误。新方法大大简化了这种运行时错误的检测和调试。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.

关 键 词:嵌入式系统工具链 ELF文件格式 运行栈 静态数据区 链接器 软件模拟器 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象