【24h】

Generic control flow reconstruction from assembly code

机译:从汇编代码重构通用控制流

获取原文
获取原文并翻译 | 示例

摘要

Processors used in embedded systems are usually characterized by specialized irregular hardware architectures for which traditional code generation and optimization techniques fail. Especially for these types of processors the Propan system has been developed that enables high-quality machine-dependent postpass optimizers to be generated from a concise hardware specification. Optimizing code transformations as featured by Propan require the control flow graph of the input program to be known. The control flow reconstruction algorithm is generic, i.e. machine-independent, and automatically derives the required hardware-specific knowledge from the machine specification. The reconstruction is based on an extended program slicing mechanism and is tailored to assembly programs. It has been retargeted to assembly programs of two contemporary microprocessors, the Analog Devices SHARC and the Philips TriMedia TM1000. Experimental results show that the assembly-based slicing enables the control flow graph of large assembly programs to be constructed in short time. Our experiments also demonstrate that the hardware design significantly influences the precision of the control flow reconstruction and the required computation time.
机译:嵌入式系统中使用的处理器通常以专用的不规则硬件体系结构为特征,传统的代码生成和优化技术会因为这种体系结构而失败。特别是对于这些类型的处理器,已经开发了 Propan 系统,该系统能够根据简洁的硬件规格生成高质量的与机器相关的后通过优化器。如 Propan 所示,优化代码转换需要知道输入程序的控制流程图。控制流重构算法是通用的,即与机器无关,并且从机器规格中自动得出所需的特定于硬件的知识。重建基于扩展的程序切片机制,并针对汇编程序进行了量身定制。它已被重新定位为两个现代微处理器(ADI公司的SHARC和Philips TriMedia TM1000)的汇编程序。实验结果表明,基于汇编的切片可以在短时间内构建大型汇编程序的控制流程图。我们的实验还表明,硬件设计会显着影响控制流重构的精度和所需的计算时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号