首页> 外文期刊>Computer architecture news >Lifting Assembly to Intermediate Representation: A Novel Approach Leveraging Compilers
【24h】

Lifting Assembly to Intermediate Representation: A Novel Approach Leveraging Compilers

机译:将汇编提升为中间代表:一种利用编译器的新颖方法

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

摘要

Translating low-level machine instructions into higher-level intermediate language (IL) is one of the central steps in many binary analysis and instrumentation systems. Existing systems build such translators manually. As a result, it takes a great deal of effort to support new architectures. Even for widely deployed architectures, full instruction sets may not be modeled, e.g., mature systems such as Valgrind still lack support for AVX, FMA4 and SSE4.1 for x86 processors. To overcome these difficulties, we propose a novel approach that leverages knowledge about instruction set semantics that is already embedded into modern compilers such as GCC. In particular, we present a learning-based approach for automating the translation of assembly instructions to a compiler's architecture-neutral IL. We present an experimental evaluation that demonstrates the ability of our approach to easily support many architectures (x86, ARM and AVR), including their advanced instruction sets. Our implementation is available as open-source software.
机译:将低级机器指令转换为高级中间语言(IL)是许多二进制分析和仪器系统的核心步骤之一。现有系统手动构建此类翻译器。结果,要花费大量的精力来支持新的体系结构。即使对于广泛部署的架构,也可能无法对完整的指令集进行建模,例如,诸如Valgrind之类的成熟系统仍然缺乏对x86处理器的AVX,FMA4和SSE4.1的支持。为了克服这些困难,我们提出了一种新颖的方法,该方法利用了已经嵌入到现代编译器(例如GCC)中的有关指令集语义的知识。特别是,我们提出了一种基于学习的方法,用于自动将汇编指令转换为与编译器无关的体系结构IL。我们提供了一个实验评估,证明了我们的方法能够轻松支持许多架构(x86,ARM和AVR),包括其高级指令集的能力。我们的实现可以作为开源软件获得。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号