期刊文献+

一种DWARF格式C语言调试信息分析方法 被引量:2

A Method to Analyze DWARF Format C Language Debugging Information
下载PDF
导出
摘要 DWARF格式是一种常见的调试信息格式,它以节点作为存储调试信息的基本单元。BWDSP系列芯片的调试系统使用一种自主可控的算法分析C语言的DWARF调试信息。该方法首先读取.debug_abbrev节区,获得节点的缩略信息。然后读取.debug_info节区,获取调试信息节点属性的取值,并把这些调试信息存储为内部数据结构。该算法已经在BWDSP系列芯片的调试系统中得到成功的使用,实践验证了其可行性与正确性。 DWARF format is a widely used debugging information format. It uses entries as basic element to store debugging information. The debugger system of BWDSP develops an innovative algorithm to analyze DWARF debugging information of C language. Firstly, the algorithm read.debug_abbrev section to retrieve abbreviation information of entry. Then the algorithm analyzes.debug_info section to get value of attribute of entries, and finally stores the extracted information in local data structures.The algorithm has been applied successfully in debugger system of BWDSP and has been proved to be applicable and corrective.
作者 林广栋 黄光红 耿锐 LIN Guang-dong, HUANG Guang-hong, GENG Rui (NO. 38th Research Institute of China Electronic Technology Group Corporation, Hefei 230088, China)
出处 《电脑知识与技术》 2014年第9期5825-5833,5836,共10页 Computer Knowledge and Technology
关键词 DWARF 调试信息 调试系统 BWDSP DWARF debugging information debugger system BWDSP
  • 相关文献

参考文献4

二级参考文献10

共引文献9

同被引文献17

引证文献2

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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