Dynamically generated code process sandboxing using authenticated pointers
AssigneeQUALCOMM Incorporated
InventorsCan ACAR, Robert TURNER, Alexander GANTMAN
Life of this patent
Estimating the term…
Loading patent…
AssigneeQUALCOMM Incorporated
InventorsCan ACAR, Robert TURNER, Alexander GANTMAN
Estimating the term…
A method is provided for safely executing dynamically generated code to avoid the possibility of an attack in unprotected memory space. Upon ascertaining that dynamically generated code is to be executed, a processing circuit and/or operating system kernel restrict the dynamically generated code to use a first memory region within an unprotected memory space, where the first memory region is distinct (e.g., reserved) from other memory regions used by other processes executed by the processing circuit. A first processing stack is maintained for the dynamically generated code within the first memory region. This first processing stack is separate from a general processing stack used by other processes executed by the processing circuit. A stack pointer is switched/pointed to the first processing stack when the dynamically generated code is executed and the stack pointer is switched/pointed to the general processing stack when the dynamically generated code ends.
A method operational at a processing circuit, comprising:
A processing device, comprising:
A non-transitory processor-readable storage medium having one or more instructions that, when executed by at least one processing circuit, cause the at least one processing circuit to:
Dependencies are inferred from the claim text.