×

Method for compiling program components in a mixed static and dynamic environment

  • US 6,973,646 B1
  • Filed: 07/21/2000
  • Issued: 12/06/2005
  • Est. Priority Date: 07/21/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, in a mixed static and dynamic environment, for a virtual machine in which statically precompiled code may be securely executed by a virtual machine by means of a compiler or code generator, the method comprising the steps of:

  • a) saving pre-compiled programs, including determining where to place said programs, annotating the programs with dependent information, annotating the programs with dependence information, and processing the programs to produce a further annotated executable code with annotations to help adapt the code to a new executable environment;

    b) verifying that an intermediate code representation of the program is safe;

    c) forming a secure hash describing the precompiled code;

    d) forming a secure hash describing the intermediate code representation;

    e) digitally signing the secure hashes of the precompiled code and the intermediate code representation;

    the executing virtual machine reuses the precompiled code and the intermediate code representation byf) verifying that the secure hash of the intermediate code representation matches the digitally signed secure hash for the intermediate code representation;

    g) verifying that the secure hash of the precompiled code matches the digitally signed secure hash for the precompiled code; and

    h) loading and executing the precompiled code;

    wherein the step of annotating the programs with dependence information includes the steps of annotating the programs with fine-grain dependencies, and processing said fine-grain dependencies by a dependence granularity adjuster to replace some fine-grain dependencies by coarser-grain dependencies to produce a final list of dependence annotations.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×