首页> 外文学位 >Automatic delinking of executables for object code reuse
【24h】

Automatic delinking of executables for object code reuse

机译:自动解除可执行文件的链接以重用目标代码

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

摘要

Reusing source code whenever possible is a common practice and saves the programmer much time. Unfortunately, source code is often times unavailable. Therefore, the ability to reuse functionality from binary executables is highly desirable. However, such reuse is difficult when source code is unavailable. Part of the reason is because all variables and instructions are allocated into specific and fixed locations in the binary during the linking process and hence become nonrelocatable. In this thesis, we present D ELINKER, a tool that can automatically delink a binary executable into relocatable object files such that programmers can relink these object files when developing a new program, thereby enabling object code reuse. DELINKER addresses a number of technical challenges including binary code decomposition, memory address recognition, and relocation table reconstruction. The evaluation of DEL INKER with the SPEC CPU2006 benchmark shows that we can use D ELINKER to delink a binary program into a set of object files and relink the object files by using an off-the-self linker without any errors. We also present a simple case study showing the DEL INKER can significantly save a programmer's efforts by enabling component reuse when developing complicated functions such as (third-party) encryption and decryption functions.
机译:只要有可能,重用源代码是一种常见的做法,可以节省程序员很多时间。不幸的是,源代码常常不可用。因此,非常需要能够从二进制可执行文件重用功能的能力。但是,当源代码不可用时,这样的重用是困难的。部分原因是因为在链接过程中,所有变量和指令都被分配到二进制文件中的特定位置和固定位置,因此无法重定位。在本文中,我们介绍了D ELINKER,该工具可以将二进制可执行文件自动解链接为可重定位的目标文件,以便程序员在开发新程序时可以重新链接这些目标文件,从而实现目标代码的重用。 DELINKER解决了许​​多技术难题,包括二进制代码分解,内存地址识别和重定位表重建。使用SPEC CPU2006基准测试对DEL INKER的评估表明,我们可以使用D ELINKER将二进制程序解链接到一组目标文件中,并使用不带任何错误的自动链接器重新链接目标文件。我们还提供了一个简单的案例研究,表明在开发复杂的功能(如(第三方)加密和解密功能)时,DEL INKER通过启用组件重用可以大大节省程序员的工作量。

著录项

  • 作者

    Schieb, Brian A.;

  • 作者单位

    The University of Texas at Dallas.;

  • 授予单位 The University of Texas at Dallas.;
  • 学科 Computer science.
  • 学位 M.S.C.S.
  • 年度 2016
  • 页码 63 p.
  • 总页数 63
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 康复医学;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号