Secure just-in-time (jit) code generation
AssigneeenSilo Ltd.
InventorUdi YAVO
Life of this patent
Estimating the term…
Abstract
A method of securely executing a Just-In-Time (JIT) compiled code in a runtime environment, comprising using one or more processors for receiving from a JIT executing process a request to compile in runtime a code segment, initiating a JIT compiling process to compile the code segment in order to generate an executable code segment, storing the executable code segment in a shared memory and providing to the JIT executing process a pointer to the executable code segment in the shared memory. Wherein the JIT executing process having read-execute access rights to the shared memory and the JIT executing process and the JIT compiling process are different processes.
Claims11
A computer implemented method of securely executing a Just-In-Time (JIT) compiled code in a runtime environment, comprising:
- using at least one processor for:
- receiving from a JIT executing process a request to compile in runtime a code segment;
- initiating a JIT compiling process to compile said code segment o generate an executable code segment;
- storing said executable code segment in a shared memory;
- and
- providing to said JIT executing process a pointer to said executable code segment in said shared memory, said JIT executing process having read-execute access rights to said shared memory;
- wherein said if executing process and said JIT compiling process are different processes.
A system for securely executing a Just-In-Time (JIT) compiled code in a runtime environment, comprising:
- at least one processor adapted to execute code, said code comprising:
- code instructions to receive from a JIT executing process a request to compile in runtime a code segment;
- code instructions to initiate a JIT compiling process to compile said code segment to generate an executable code segment;
- code instructions to store said executable code segment in a shared memory;
- and
- code instructions to provide to said JIT executing process a pointer to said executable code segment in said shared memory, said JIT executing process having read-execute access rights to said shared memory;
- wherein said JIT executing process and said compiling process are different processes.
A system for securely executing a Just-In-Time (JIT) compiled code in a runtime environment, comprising:
- at least one processor adapted to execute code, said code comprising:
- code instructions to initiate a JIT executing process comprising at east one un-compiled code segment;
- and
- code instructions to execute a JIT compiling process to compile said at least me code segment to generate at least one corresponding executable code segment;
- wherein in response to a request from said JIT executing process to compile said at least one code segment, said JIT compiling process compiles said at least one code segment to generate said corresponding executable code segment and stores said corresponding executable code segment in a shared memory to which said executing process has read-execute access rights.
Dependencies are inferred from the claim text.