期刊文献+

基于LLVM的程序关注点影响分析 被引量:1

LLVM-based Impact Analysis on Program Concerns
下载PDF
导出
摘要 在LLVM中间形式上,得到影响某特定程序关注点的程序片段,削减不相关部分。基于Andersen指向分析算法构建准确的调用图,得到程序执行中可能到达给定程序节点的基本块;根据指向分析、调用图及调用点处的修改信息,得到了影响关注点的程序片段。实验结果表明,本方法可高效计算出影响程序关注点的程序子集并得到正确的削减片段。 At LLVM intermediate representation level, we obtained program snippets that have influences on special program con- cerns and pruned those unrelated parts. By building accurate call graphs based on Andersen' s points-to analysis, we got the basic blocks that reach the specific program node during execution; with the help of call graph and the modification information, we generated slices affecting the p/'ogram point. Experimental result shows that this applied approach can compute subset that has im- pact on the program point efficiently and correctly.
作者 陈泓旭
出处 《计算机与现代化》 2014年第4期203-207,共5页 Computer and Modernization
关键词 LLVM中间形式 影响分析 可达性分析 程序切片 LLVM IR impact analysis reachabitity analysis program slicing
  • 相关文献

参考文献15

  • 1Cadar C, Dunbar D, Englar D R. KLEE: Unassisted and automatic generation of high-coverage tests for complex sys- tem programs [ C ]// Proceedings of the Sth USENIX Con-ference on Operating Systems Design and Implementation. 2008 : 209 -224.
  • 2Chipounov V, Kuznetsov V, Candea G. S2E: A platform for in-vivo multi-path analysis of software systems [ C ]// Proceedings of the 16th International Conference on Archi- tectural Support for Programming Languages and Operating Systems. 2011:265-278.
  • 3Cui H, Hu G, Wu J, et al. Verifying system hales using rule- directed symbolic execution[ C]//Proceedings of the 18th In- ternational Conference on Architectural Support for Program- ming I.anguages and Operating Systems. 2013:329-342.
  • 4LLVM. The LLVM Compiler Infrastructure[ EB/OL]. ht- tp://llvm, org/, 2013-12-12.
  • 5Andersen L O. Program Analysis and Specialization for the C Programming Language [ D ]. University of Copenhagen, DIKU, 1994.
  • 6Steensgaard B. Points-to analysis in almost linear time [C]// Proceedings of the 23rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. 1996:32-41.
  • 7Openrefactory. Openrefactory Homepage [ EB/OL ]. ht- tp ://openrefactory. org/, 2013-12-12.
  • 8Weiser M. Program slicing[ C]// Proceedings of the 5thInternational Conference on Software Engineering. 1981: 439-449.
  • 9GNU. GNU Coreutils[EB/OL]. http://www, gnu. org/ software/coreutils/, 2013 -12 - 12.
  • 10Munawar Hafiz, Auburn A L. OpenRefactory/C: An infra- structure for developing program transformations for C pro- grams[ C]//Proceedings of the 3rd Annual Conference on Systems, Programming, and Applications : Software for Hu- manity. 2012:27-28.

同被引文献8

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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