网站大量收购独家精品文档,联系QQ:2885784924

动态二进制翻译的调试器研究.pdf

  1. 1、本文档共49页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
动态二进制翻译的调试器研究

动态二进制翻译中的调试器研究 摘 要 动态二进制翻译器采用运行时翻译的方法来动态生成可执行代 码,而传统调试器只能被用来调试静态生成的代码,所以传统调试器 无法被用来调试运行在动态二进制翻译平台之上的可执行程序。为了 调试运行在动态二进制翻译平台之上的可执行程序,本文将提出一个 构建在动态二进制翻译平台之中的调试器框架。 调试器的实现与其所处的机器平台有着强烈的依赖关系,而动态 二进制翻译平台又包含源机器端与目标机器端两种不同的指令集架 构,因此动态二进制翻译平台调试器的实现将同时依赖于这两种机器 平台。为了降低调试器与机器平台的耦合性,本文提出的调试器还具 有可重定向性。 本文创新性地提出了一种具有可重定性的,构建于动态二进制翻 译平台之中的调试器框架。它在中间语言中加入一些调试器原语,降 低了调试器对机器平台的依赖性,使得该框架可以很快地在新的翻译 器中得到实现。它还在动态二进制翻译调试器领域引入回退执行、观 察点和调试脚本等新的概念,使调试过程的消耗时间从十几倍运行时 间降到两倍以内。通过在CrossBit 平台的实现与验证,证明该技术能 高效地帮助程序发现错误所在,提高系统的开发进度。 关键字:动态二进制翻译,调试器,CrossBit 第 I 页 A Research on Debugger of Dynamic Binary Translation ABSTRACT Dynamic binary translator generates the native code on the fly in runtime using translation technology. As the traditional debugger is targeted for statically generated code, it cannot be used to debug the program on dynamic binary translator. In order to enable debugging the program on dynamic binary translator, in this paper, we propose a new debug architecture for applications executing with dynamic binary translation systems. Debugger’s implementation is tightly coupled with the target machine platform. It’s even worse in dynamic binary translation system, as there are two related machine platforms in dynamic binary translation system. The debugger architecture is designed to be retargetable to decouple this relationship. In this paper, we describe a retargetable debugger architecture, and it’s based on dynamic binary translator. New intermediate instructions are designed to decouple the debugger from machine platform. It also introduces some debugging technology to dynamic binary translation, including revers

文档评论(0)

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档