期刊文献+

面向软件逆向工程的GLR优化算法 被引量:1

Optimized GLR Algorithm for Software Reverse Engineering
下载PDF
导出
摘要 GLR分析方法主要用于自然语言的处理分析,较少应用于软件逆向工程领域的语法分析。针对软件逆向工程领域的语法分析特点,分析传统确定性分析算法的局限性,阐述采用GLR分析算法的目的。通过实例剖析GLR算法的主要性能瓶颈,从分析表构造、分析动作执行等多个层面对算法进行优化,提出一种面向软件逆向工程的GLR优化算法。该算法已在一个可视化语法分析器自动生成环境中实现。实验结果表明,在分析无二义性输入串时,该优化算法与传统的LALR(1)文法具有可比性,实用价值较高。 GLR parsing method is mainly used in the processing and analyzing of natural languages, and is rarely used in the parsing of software reverse engineering. The low parsing speed is an important reason. The limitation of the traditional deterministic parsing methods and the necessity of GLR parsing method are introduced according to the parsing characteristics of software reverse engineering. An optimized GLR method is presented, which is implemented in a visual parser generator. Experimental result shows that this method has comparable parsing speed with the traditional LALR(1) parser, and can be used in the parsing of software reverse engineering.
出处 《计算机工程》 CAS CSCD 2013年第6期12-20,共9页 Computer Engineering
基金 国家自然科学基金资助项目(60573084) 北京林业大学青年科技基金资助项目(2010BLX14)
关键词 GLR分析 语法分析器 GLR优化算法 软件再工程 软件逆向工程 分析器生成器 GLR analysis parser generator optimized GLR algorithm software reengineering software reverse engineering parsergenerator
  • 相关文献

参考文献25

  • 1Cleverand L.A Program Understanding Support Environ- ment[J].IBM Systems Journal, 1989, 28(2): 324-344. 被引量:1
  • 2Nelson M L.A Survey of Reverse Engineering and Program Comprehension[EB/OL].[2012-09-20].http://www.arisa.se/ files/LL-03b.pdf. 被引量:1
  • 3Free Software Foundation.Bison-GNU Parser Genera- tor[EB/OL].[2012-10-12].http://www.gnu.org/software/bison/. 被引量:1
  • 4Sippu S, Soisalen-Soininen E.Parsing Theory[M].Berlin, Germany: Springer, 1990. 被引量:1
  • 5Warwick I, Neville C.A Generated Parser of C++[EB/OL].[2012-08-25].http://citeseerx.ist.psu.edu/viewdoc/download? doi=10.1.1.28.4282&rep=rep1&type=pdf. 被引量:1
  • 6Capers J.The Year 2000 Software Problem——Quantifying the Costs and Assessing the Consequences[M].New York, USA: ACM Press, 1998. 被引量:1
  • 7Bernt K, Andreas W, Peter D, et al.Program Comprehension in Multi-language Systems[C]//Proceedings of the 5th Working Conference on Reverse Engineering.Honolulu, USA: [s.n.], 1998. 被引量:1
  • 8Kienle H M, Muller H A.Leveraging Program Analysis for Web Site Reverse Engineering[C]//Proceedings of the 3rd International Workshop on Web Site Evolution.Florence, Italy: [s.n.], 2001. 被引量:1
  • 9Parkes A.Introduction to Languages, Machines and Logic: Computable Languages, Abstract Machines and Formal Logic[M].Berlin, Gremany: Springer, 2002. 被引量:1
  • 10Unger S H.A Global Parser for Context-free Phrase Structure Grammars[J].Communications of the ACM, 1968, 11(4): 240-247. 被引量:1

二级参考文献7

  • 1李虎,金茂忠,许福,张敏.程序设计语言的GLR优化分析[J].软件学报,2005,16(2):174-183. 被引量:2
  • 2J R Levine, T Mason, D Brown. Lex & Yacc [M]. Third edition. Sebastopol, USA: O'Reilly & Associates Inc, 1995. 被引量:1
  • 3A V Aho, R Sethi, J D Ullman. Compilers: Principles, Techniques, and Tools [M]. Reading MA: Addison-Wesley, 1986. 被引量:1
  • 4R N Horspool. Incremental generation of LR parsers [J]. Computer Languages, 1990, 15(4) ; 205-233. 被引量:1
  • 5F Deremer, T Pennello. Efficient computation of LALR ( 1 ) look-ahead sets [J]. ACM TOPLAS, 1982, 4(4): 615-649. 被引量:1
  • 6C Donnelly, R Stallmen. The Bison Manual: Using the YACCCompatible Parser Generator for Bison Version 1.875 [M]. Boston, USA: GNU Press, 2004. 被引量:1
  • 7M Astudill. GOLD parsing system [OL]. http://www. devincook com/goldparser/index. htm. 2006. 被引量:1

共引文献2

同被引文献9

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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