计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2006年
20期
86-88,112
,共4页
谷晓铭%霍玮%桂剑%贾耀仓
穀曉銘%霍瑋%桂劍%賈耀倉
곡효명%곽위%계검%가요창
嵌入式系统工具链%ELF文件格式%运行栈%静态数据区%链接器%软件模拟器
嵌入式繫統工具鏈%ELF文件格式%運行棧%靜態數據區%鏈接器%軟件模擬器
감입식계통공구련%ELF문건격식%운행잔%정태수거구%련접기%연건모의기
嵌入式系统中由于内存限制,容易出现运行栈和数据区重叠的错误.已有的两种检测该错误的方法在准确性和易用性方面存在缺陷,不适用于基于软件模拟器的大规模回归测试.文章通过改变运行栈与静态数据区的布局,将运行栈与静态数据区重叠的错误转化为运行栈超越内存地址空间的错误.新方法大大简化了这种运行时错误的检测和调试.
嵌入式繫統中由于內存限製,容易齣現運行棧和數據區重疊的錯誤.已有的兩種檢測該錯誤的方法在準確性和易用性方麵存在缺陷,不適用于基于軟件模擬器的大規模迴歸測試.文章通過改變運行棧與靜態數據區的佈跼,將運行棧與靜態數據區重疊的錯誤轉化為運行棧超越內存地阯空間的錯誤.新方法大大簡化瞭這種運行時錯誤的檢測和調試.
감입식계통중유우내존한제,용역출현운행잔화수거구중첩적착오.이유적량충검측해착오적방법재준학성화역용성방면존재결함,불괄용우기우연건모의기적대규모회귀측시.문장통과개변운행잔여정태수거구적포국,장운행잔여정태수거구중첩적착오전화위운행잔초월내존지지공간적착오.신방법대대간화료저충운행시착오적검측화조시.