发明名称 Mechanism for re-writing an executable having mixed code and data
摘要 A method for permitting software optimization tools, software instrumenting tools and other analysis tools to re-write executables having mixed instructions and data uses a data structure having an entry for each multi-bit word in an executable file. Each entry of the data structure includes a number of flags that are set to identify the type of the multi-bit word in the associated line of the executable file. The types include instruction, data and unclassified. Each entry also includes a flag that indicates that the multi-bit word should not be optimized and a flag indicating that the multi-bit word is a problem branch. The no-optimize and problem branch flags may be used to identify multi-bit words that may be either branch instructions or data, and to ensure that such multi-bit words are not affected by optimization or other rewriting of the executable. In addition, a problem fall through flag is provided to maintain program flow for possible fall through code segments.
申请公布号 US6324689(B1) 申请公布日期 2001.11.27
申请号 US19980164255 申请日期 1998.09.30
申请人 COMPAQ COMPUTER CORPORATION 发明人 LOWNEY PAUL GEOFFREY;GOODWIN DAVID WILLIAM;COHN ROBERT
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址