METHODS AND APPARATUSES FOR SECURE COMPILATION
First Claim
Patent Images
1. A computer implemented method, comprising:
- In response to receiving a compilation request from an application to compile a source code during run time, identifying from a cache executable code that matches the source code from the compilation request;
determining whether the executable code is authorized to be returned to the application in response to the compilation request;
identifying, if the executable code is not authorized to be returned to the application, one or more compilers to build an executable code for the source code according to the compilation request; and
storing security attributes with the executable code in the cache.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus that provide secure executable codes generated during run time via a trusted compiler server are described. An application can send a service request to the compiler server to request executable codes. The compiler server can determine whether the service request is permitted to be served based on a security policy imposed and the security settings associated with the service request. Availability of certain compilers can be allowed if the application is authorized according to the service request.
99 Citations
17 Claims
-
1. A computer implemented method, comprising:
-
In response to receiving a compilation request from an application to compile a source code during run time, identifying from a cache executable code that matches the source code from the compilation request; determining whether the executable code is authorized to be returned to the application in response to the compilation request; identifying, if the executable code is not authorized to be returned to the application, one or more compilers to build an executable code for the source code according to the compilation request; and storing security attributes with the executable code in the cache. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer implemented method comprising:
-
identifying a compilation option that satisfies security settings associated with an application to build an executable code from a source code of the application; sending a compilation request including the compilation option to a trusted compiler server for retrieving the executable code if the compilation option can be identified; and executing the executable code if the executable code is successfully retrieved from the compiler server according to the compilation request. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
-
in response to receiving a compilation request from an application to compile a source code during run time, identifying from a cache executable code that matches source code from the compilation request; determining whether the executable code is authorized to be returned to the application in response to the compilation request; identifying, if the executable code is not authorized to be returned to the application, one or more compilers to build an executable code for the source code according to the JIT compilation request; and storing security attributes with the executable code in the cache.
-
-
16. A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
-
determining compilation options satisfying security settings associated with an application to build an executable from a source code of the application; sending a compilation request including the compilation options to a compiler server for retrieving the executable code; and executing the executable code if the executable code is successfully retrieved from the compiler server according to the compilation request.
-
-
17. An apparatus, comprising:
-
a memory storing executable instructions including an application and a compiler server; a cache storing an executable code associated with meta data corresponding to a source code of the application; and a processor coupled to memory and the cache, the processor being configured to execute the executable instructions from the memory to; identify, in response to receiving a compilation request from an application to compile a source code during run time, from a cache executable cod that matches source code from the compilation request; determine whether the executable code is authorized to be returned to the application in response to the compilation request; identify, if the executable code is not authorized to be returned to the application, one or more compilers to build an executable code for the source code according to the compilation request; and store security attributes with the executable code in the cache.
-
Specification