首页> 外文会议>European Conference on Software Maintenance and Reengineering >Analyzing Assembler to Eliminate Dead Functions: An Industrial Experience
【24h】

Analyzing Assembler to Eliminate Dead Functions: An Industrial Experience

机译:分析汇编器以消除死亡功能:工业经验

获取原文

摘要

Industrial software systems often contain fragments of code that are vestigial, that is, they were created long ago for a specific purpose but are no longer useful within the current design of the system. In this work, we describe how we have adapted some research tools to remove such code, we use a hybrid static analysis approach of both source code and assembler to construct a model of the system, and then use graph querying to detect possible dead functions. Suspected dead functions are then commented out of the source. The system is then rebuilt and run against existing test suites to verify that the removals do not affect the semantics of the system. Finally, we discuss the results of performing this technique on a large and long-lived industrial software system as well as a large open source system.
机译:工业软件系统通常包含痕迹的代码碎片,即它们是长时间创建的特定目的,但在系统的当前设计中不再有用。 在这项工作中,我们描述了我们如何改编一些研究工具来删除此类代码,我们使用源代码和汇编程序的混合静态分析方法来构造系统的模型,然后使用图形查询来检测可能的死函数。 然后将疑似死亡函数退出来源。 然后,系统重建并运行现有的测试套件以验证除去不会影响系统的语义。 最后,我们讨论了在大型和长期的工业软件系统以及大型开源系统上执行此技术的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号