期刊检索

  • 2024年第56卷
  • 2023年第55卷
  • 2022年第54卷
  • 2021年第53卷
  • 2020年第52卷
  • 2019年第51卷
  • 2018年第50卷
  • 2017年第49卷
  • 2016年第48卷
  • 2015年第47卷
  • 2014年第46卷
  • 2013年第45卷
  • 2012年第44卷
  • 2011年第43卷
  • 2010年第42卷
  • 第1期
  • 第2期

主管单位 中华人民共和国
工业和信息化部
主办单位 哈尔滨工业大学 主编 李隆球 国际刊号ISSN 0367-6234 国内刊号CN 23-1235/T

期刊网站二维码
微信公众号二维码
引用本文:邱景,苏小红,马培军.一种使用静态分析的汇编代码缺陷检测方法[J].哈尔滨工业大学学报,2013,45(2):53.DOI:10.11918/j.issn.0367-6234.2013.02.010
QIU Jing,SU Xiaohong,MA Peijun .Defect detection for assembly codes based on static analysis[J].Journal of Harbin Institute of Technology,2013,45(2):53.DOI:10.11918/j.issn.0367-6234.2013.02.010
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  下载PDF阅读器  关闭
过刊浏览    高级检索
本文已被:浏览 2471次   下载 2358 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种使用静态分析的汇编代码缺陷检测方法
邱景, 苏小红, 马培军
(哈尔滨工业大学 计算机科学与技术学院, 150001 哈尔滨) 
摘要:
针对当前缺乏汇编代码自动化审查工具的情况,对汇编代码人工审查方法进行研究,提出了一种基于静态分析的汇编代码缺陷检测方法.该方法中,在控制流线性化后,运用特征识别处理间接寻址跳转,采用结点克隆处理延迟条件分支,使用调用序列处理存在递归函数的过程间控制流图的构造.在此基础上,实现了ADSP SHARC汇编代码检测工具,并进行了静态分析测试和缺陷检测测试.测试结果表明,该方法可以有效地检测汇编代码中的不可退出点、循环、寄存器、以及内存访问缺陷.
关键词:  汇编代码  静态分析  缺陷检测  延迟分支
DOI:10.11918/j.issn.0367-6234.2013.02.010
分类号:
基金项目:国家自然科学基金资助项目 (61173021).
Defect detection for assembly codes based on static analysis
QIU Jing, SU Xiaohong, MA Peijun 
(School of Computer Science and Technology, Harbin Institute of Technology,150001 Harbin, China)
Abstract:
Aiming at the present situation that needs to develop a code review tool for assembly codes, this paper studies the procedure of manual code reviews and proposes a method to detect defects in assembly codes based on static analysis. After the control flow linearization, compiler patterns are used to solve indirect jumps, and node cloning is used to recover the control flow of the delayed branch. In the construction of inter-procedural control flow graph, the recursive function is in-lined by means of a call trace with limited depth. The prototyping tool for ADSP SHARC assembly codes is realized finally. Experimental results show that the tool can effectively detect defects in loops, registers, and memory accessing.
Key words:  assembly code  static analysis  defect detection  delayed branch 

友情链接LINKS