发明名称 Identifying plausible variable length machine code of selecting address in numerical sequence, decoding code strings, and following execution transfer paths
摘要 Information about the location of untranslated instructions in an original program is discovered during execution of a partial translation of the program, and that information is used later during re-translation of the original program. Preferably the information includes origin addresses of translated instructions and corresponding destination address of untranslated instructions of execution transfers that occur during the execution of the partial translation. Preferably this feedback of information from execution to re-translation is performed after each execution of the translated program so that virtually all of the instructions in the original program will eventually be located and translated. To provide an indication of the fraction of the code that has been translated, the program is scanned to find plausible code in the areas of memory that do not contain translated code. The plausible code is identified by selecting addresses according to three different scanning modes and attempting to decode variable-length instructions beginning at the selected addresses. The scanning modes include a first mode in which addresses are selected in numerical sequence by a scan pointer, a second mode in which addresses are selected in instruction-length sequence by an instruction decode pointer, and a third mode in which the selected addresses are destination addresses of previously-decoded execution transfer instructions.
申请公布号 US5287490(A) 申请公布日期 1994.02.15
申请号 US19910666216 申请日期 1991.03.07
申请人 DIGITAL EQUIPMENT CORPORATION 发明人 SITES, RICHARD L.
分类号 G06F9/45;(IPC1-7):G06F5/00 主分类号 G06F9/45
代理机构 代理人
主权项
地址