Secure execution of native code
AssigneeNXP B.V.
InventorsErnst Haselsteiner, Christian Kirchstaetter
Life of this patent
Estimating the term…
Abstract
A computing device comprises: a memory; a processor; an interpreter; and a Memory Management Unit. The interpreter is for controlling the processor to execute a program comprising at least one first instruction in a format that is not native to the processor and at least one second instruction in machine code that is native to the processor. The Memory Management Unit is adapted to control access by the processor to the memory and possibly also to peripherals when the at least one second instruction is executed.
Claims13
A computing device comprising:
- a memory;
- a processor;
- an interpreter, for controlling the processor to execute a program comprising at least one first instruction in a format that is not native to the processor, the program calling at least one second instruction in machine code that is native to the processor;
- and
- a Memory Management Unit, hereinafter MMU, adapted to control access by the processor to the memory when the at least one second instruction is executed and to prevent access to a portion of the memory allocated to the interpreter but not allocated to said second instruction.
A method of executing a program for a computing device comprising a processor and a memory, the program comprising at least one first instruction in a format that is not native to the processor and calling at least one second instruction in machine code that is native to the processor, the method comprising:
- interpreting the at least one first instruction using an interpreter and controlling the processor to execute the same;
- and
- executing the at least one second instruction using the processor, wherein access to the memory is controlled using an MMU, preventing access to a portion of the memory allocated to the interpreter but not allocated to said second instruction.
Dependencies are inferred from the claim text.