发明名称 |
Method and apparatus for annotating a computer program to facilitate subsequent processing of the program |
摘要 |
A method and apparatus annotates a computer program to facilitate subsequent processing of the program. Code representing the program is generated at a first computer system. Annotations are generated for the code that provide information about the code. At a second computer, the code is processed according to the information provided by the annotations. The annotations, for example, can indicate a control flow graph representing a flow of execution of the code. Also, the information provided by the annotations can be a register allocation that maps data structures of the code to registers of the second computer system. The second computer system can use such information to guide the interpreting of the code or to transform the code into a more optimized form. Other exemplary annotations can indicate that running the executable form of the code would perform an unauthorized operation at the second computer system. The second computer system could then reject the code instead of performing subsequent processing on the code. When the source of the annotations is untrusted by the second computer system, the second computer system can use a checker to verify the integrity of the annotations.
|
申请公布号 |
US6253370(B1) |
申请公布日期 |
2001.06.26 |
申请号 |
US19970982088 |
申请日期 |
1997.12.01 |
申请人 |
COMPAQ COMPUTER CORPORATION |
发明人 |
ABADI MARTIN;GHEMAWAT SANJAY;STATA RAYMOND PAUL |
分类号 |
G06F9/445;(IPC1-7):G06F9/445 |
主分类号 |
G06F9/445 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|