Light-weight validation of native images
First Claim
Patent Images
1. A method comprising:
- employing at least one processor configured to execute computer-executable instructions stored in memory to perform the following acts;
receiving metadata created during pre-compilation of intermediate language code of an assembly to a native image, wherein the metadata includes multiple identifiers that capture identifying information regarding the assembly from which the native image was produced and comprise one or more of a last modified timestamp, module version, strong name hash, or targeted patch band attribute;
comparing a version of an assembly with the multiple identifiers sequentially, based on an increasing order of resource utilization to perform a comparison with a particular identifier, until the version of the assembly is determined to correspond to the native image based on one of the multiple identifiers or the comparing is performed with all of the multiple identifiers; and
identifying the native image as valid when the version of the assembly is determined to correspond to the native image and otherwise identifying the native image as invalid.
2 Assignments
0 Petitions
Accused Products
Abstract
One or more identifiers that facilitate efficient native image validation can be generated and stored in an auxiliary file upon pre-compiling of an assembly. The native image can be validated against an assembly from which the native image is generated, among other files that influence the generated contents of the native image, based upon the auxiliary file and included identifiers. Additionally, native image validation can be performed in an increasing cost sequence associated with each identifier included within the auxiliary file.
-
Citations
17 Claims
-
1. A method comprising:
-
employing at least one processor configured to execute computer-executable instructions stored in memory to perform the following acts; receiving metadata created during pre-compilation of intermediate language code of an assembly to a native image, wherein the metadata includes multiple identifiers that capture identifying information regarding the assembly from which the native image was produced and comprise one or more of a last modified timestamp, module version, strong name hash, or targeted patch band attribute; comparing a version of an assembly with the multiple identifiers sequentially, based on an increasing order of resource utilization to perform a comparison with a particular identifier, until the version of the assembly is determined to correspond to the native image based on one of the multiple identifiers or the comparing is performed with all of the multiple identifiers; and identifying the native image as valid when the version of the assembly is determined to correspond to the native image and otherwise identifying the native image as invalid. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system comprising:
-
a hardware processor coupled to a memory, the hardware processor configured to execute computer-executable instructions stored in the memory that when executed perform the following acts; receives multiple validation identifiers from an auxiliary file created during pre-compilation of intermediate language code of an assembly to a native image, wherein the multiple validation identifiers capture identifying information regarding the assembly from which the native image was produced and comprise one or more of a last modified timestamp, a module version, a strong name hash, or a targeted patch band attribute; compares a version of an assembly with the multiple validation identifiers sequentially, based on an increasing order of resource utilization to perform a comparison with a particular validation identifier, until the version of the assembly is determined to correspond to the native image based on one of the multiple validation identifiers or the comparing is performed with all of the multiple validation identifiers; and identifies the native image as valid when the version of the assembly is determined to correspond to the native image and otherwise identifies the native image as invalid. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage device having instructions stored thereon that upon execution of the instructions by at least one processor perform a method, the method comprising:
-
receiving multiple validation identifiers from an auxiliary file created during pre-compilation of intermediate language code of an assembly generating a native image, wherein the multiple validation identifiers capture identifying information regarding the assembly from which the native image was produced and comprise at least one of a last modified timestamp, module version, strong name hash, or targeted patch band attribute; comparing a version of an assembly with the multiple validation identifiers sequentially, based on an increasing order of resource utilization to perform a comparison with a particular validation identifier, until the version of the assembly is determined to correspond to the native image based on one of the multiple validation identifiers or the comparing is performed with all of the multiple validation identifiers; and identifying the native image as valid when the version of the assembly is determined to correspond to the native image and otherwise identifying the native image as invalid. - View Dependent Claims (16, 17)
-
Specification