Patent ID: 8646050

Claim:
A method of processing just-in-time code, the method comprising: reserving a block of a memory of a device via an application running on the device, the application having a memory layout in the memory, the block of memory specified via a plurality of addresses in the memory; receiving computer code by the application at a device that enforces a code signing requirement; identifying an unsigned just-in-time executable portion of the computer code based on attributes in the computer code; randomly selecting a memory region within the block of memory in the memory of the device, the randomly selected memory region having a load address in the memory, wherein the block of memory includes at least a previously selected memory region which is prohibited from being reused by the application and wherein the randomly selected memory region does not include addresses of the previously selected memory region; loading the unsigned just-in-time executable portion of the computer code to the randomly selected memory region via the load address of the memory to randomize the memory layout; and executing the unsigned just-in-time executable portion in the randomly selected memory region as if the unsigned just-in-time executable portion was signed computer code.