Generating verification metadata and verifying a runtime type based on verification metadata
First Claim
1. One or more non-transitory machine-readable media storing instructions which, when executed by one or more processors, cause:
- obtaining a runtime type loaded based on a first runtime type reference during a first runtime;
determining that the runtime type loaded based on the first runtime type reference during the first runtime includes a statement that is associated with a second runtime type reference and a third runtime type reference;
obtaining a runtime type loaded based on the second runtime type reference during the first runtime;
obtaining a runtime type loaded based on the third runtime type reference during the first runtime;
determining that a particular assignable relationship exists between (a) the runtime type loaded based on the second runtime type reference during the first runtime and (b) the runtime type loaded based on the third runtime type reference during the first runtime;
generating verification metadata, associated with the first runtime type reference, indicating the particular assignable relationship associated with (a) the second runtime type reference and (b) the third runtime type reference;
wherein a verification constraint for using the verification metadata to verify a runtime type loaded based on the first runtime type reference during a second runtime requires that an actual assignable relationship between a runtime type loaded based on the second runtime type reference during the second runtime and a runtime type loaded based on the third runtime type reference during the second runtime adheres to the particular assignable relationship associated with the second runtime type reference and the third runtime type reference indicated by the verification metadata.
0 Assignments
0 Petitions
Accused Products
Abstract
Operations include (a) receiving a request to verify a first runtime type loaded based on a first runtime type reference; (b) identifying verification metadata comprising a stored assignable relationship between a second runtime type reference and a third runtime type reference; (c) determining whether an actual assignable relationship between a second runtime type and a third runtime type adheres to the stored assignable relationship between the second runtime type reference and the third runtime type reference; and (d) responsive at least to determining that the actual assignable relationship adheres to the stored assignable relationship, determining that the first runtime type is verified based on the verification metadata.
-
Citations
20 Claims
-
1. One or more non-transitory machine-readable media storing instructions which, when executed by one or more processors, cause:
-
obtaining a runtime type loaded based on a first runtime type reference during a first runtime; determining that the runtime type loaded based on the first runtime type reference during the first runtime includes a statement that is associated with a second runtime type reference and a third runtime type reference; obtaining a runtime type loaded based on the second runtime type reference during the first runtime; obtaining a runtime type loaded based on the third runtime type reference during the first runtime; determining that a particular assignable relationship exists between (a) the runtime type loaded based on the second runtime type reference during the first runtime and (b) the runtime type loaded based on the third runtime type reference during the first runtime; generating verification metadata, associated with the first runtime type reference, indicating the particular assignable relationship associated with (a) the second runtime type reference and (b) the third runtime type reference; wherein a verification constraint for using the verification metadata to verify a runtime type loaded based on the first runtime type reference during a second runtime requires that an actual assignable relationship between a runtime type loaded based on the second runtime type reference during the second runtime and a runtime type loaded based on the third runtime type reference during the second runtime adheres to the particular assignable relationship associated with the second runtime type reference and the third runtime type reference indicated by the verification metadata. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
at least one device including a hardware processor; and the system being configured to perform operations comprising; obtaining a runtime type loaded based on a first runtime type reference during a first runtime; determining that the runtime type loaded based on the first runtime type reference during the first runtime includes a statement that is associated with a second runtime type reference and a third runtime type reference; obtaining a runtime type loaded based on the second runtime type reference during the first runtime; obtaining a runtime type loaded based on the third runtime type reference during the first runtime; determining that a particular assignable relationship exists between (a) the runtime type loaded based on the second runtime type reference during the first runtime and (b) the runtime type loaded based on the third runtime type reference during the first runtime; generating verification metadata, associated with the first runtime type reference, indicating the particular assignable relationship associated with (a) the second runtime type reference and (b) the third runtime type reference; wherein a verification constraint for using the verification metadata to verify a runtime type loaded based on the first runtime type reference during a second runtime requires that an actual assignable relationship between a runtime type loaded based on the second runtime type reference during the second runtime and a runtime type loaded based on the third runtime type reference during the second runtime adheres to the particular assignable relationship associated with the second runtime type reference and the third runtime type reference indicated by the verification metadata. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A method, comprising:
-
obtaining a runtime type loaded based on a first runtime type reference during a first runtime; determining that the runtime type loaded based on the first runtime type reference during the first runtime includes a statement that is associated with a second runtime type reference and a third runtime type reference; obtaining a runtime type loaded based on the second runtime type reference during the first runtime; obtaining a runtime type loaded based on the third runtime type reference during the first runtime; determining that a particular assignable relationship exists between (a) the runtime type loaded based on the second runtime type reference during the first runtime and (b) the runtime type loaded based on the third runtime type reference during the first runtime; generating verification metadata, associated with the first runtime type reference, indicating the particular assignable relationship associated with (a) the second runtime type reference and (b) the third runtime type reference; wherein a verification constraint for using the verification metadata to verify a runtime type loaded based on the first runtime type reference during a second runtime requires that an actual assignable relationship between a runtime type loaded based on the second runtime type reference during the second runtime and a runtime type loaded based on the third runtime type reference during the second runtime adheres to the particular assignable relationship associated with the second runtime type reference and the third runtime type reference indicated by the verification metadata; wherein the method is performed by at least one device including a hardware processor.
-
Specification