首页> 外国专利> Alternate and iterative analysis of computer programs for locating translatable code by resolving callbacks and other conflicting mutual dependencies

Alternate and iterative analysis of computer programs for locating translatable code by resolving callbacks and other conflicting mutual dependencies

机译:通过解析回调和其他相互冲突的相互依赖性来定位计算机翻译代码的计算机程序的交替和迭代分析

摘要

Information about the effects of calling each entry point in a program and information about external calls made by the program are recorded in an image information file. In addition to the addresses of the entry points and call destinations, the information may include any callback parameters and register usage associated with the entry points, and any definite values passed by the calls. When translating two separate but mutually dependent programs that are not easily merged for simultaneous translation, the image information files for the respective programs permit the programs to be alternately translated with rapid convergence by an iterative method of checked assumptions and re- translation. By matching the addresses of the entry points of a first program with the addresses of the external calls for a second program, and by matching the addresses of the external calls in the first program with the addresses of the program entry points in the second program, the relevant external calls and entry points in the image information file for the second program are identified. One program should be retranslated when a preceding retranslation of the other program changes the information for the matching calls and entry points in such a way that changed information might enable additional instructions to be discovered in the program under consideration for translation.
机译:有关调用程序中每个入口点的效果的信息以及有关程序进行的外部调用的信息都记录在图像信息文件中。除了入口点和呼叫目的地的地址之外,该信息还可以包括与入口点关联的任何回调参数和寄存器用法,以及由呼叫传递的任何确定的值。当翻译不容易合并以进行同时翻译的两个独立但相互依赖的程序时,相应程序的图像信息文件将通过检验假设和重新翻译的迭代方法,以快速收敛的方式交替翻译程序。通过将第一程序的入口点的地址与第二程序的外部调用的地址进行匹配,并将第一程序中的外部调用的地址与第二程序中的程序入口的地址进行匹配,标识第二个程序的图像信息文件中的相关外部调用和入口点。当另一个程序的先前重新翻译更改了匹配的调用和入口点的信息时,应重新翻译一个程序,以使更改的信息可以使正在考虑翻译的程序中发现其他指令。

著录项

  • 公开/公告号US5317740A

    专利类型

  • 公开/公告日1994-05-31

    原文格式PDF

  • 申请/专利权人 DIGITAL EQUIPMENT CORPORATION;

    申请/专利号US19910666223

  • 发明设计人 RICHARD L. SITES;

    申请日1991-03-07

  • 分类号G06F9/45;G06F9/00;

  • 国家 US

  • 入库时间 2022-08-22 04:31:41

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号