Step over operation for machine code function calls
US-9122792-B2 · Sep 1, 2015 · US
US9703948B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9703948-B2 |
| Application number | US-201414229822-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 28, 2014 |
| Priority date | Mar 28, 2014 |
| Publication date | Jul 11, 2017 |
| Grant date | Jul 11, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A processor includes a decode unit to decode a return target restrictive return from procedure (RTR return) instruction. A return target restriction unit is responsive to the RTR return instruction to determine whether to restrict an attempt by the RTR return instruction to make a control flow transfer to an instruction at a return address corresponding to the RTR return instruction. The determination is based on compatibility of a type of the instruction at the return address with the RTR return instruction and based on compatibility of first return target restrictive information (RTR information) of the RTR return instruction with second RTR information of the instruction at the return address. A control flow transfer unit is responsive to the RTR return instruction to transfer control flow to the instruction at the return address when the return target restriction unit determines not to restrict the attempt.
Opening claim text (preview).
What is claimed is: 1. A processor comprising: a decode unit to decode a return target restrictive return from procedure (RTR return) instruction; a return target restriction unit, which includes at least some circuitry, coupled with the decode unit, and responsive to the RTR return instruction, to determine whether to restrict an attempt by the RTR return instruction to make a control flow transfer to an instruction at a return address corresponding to the RTR return instruction, based on compatibility of a type of the instruction at the return address with the RTR return instruction, and based on compatibility of first return target restrictive information (RTR information) of the RTR return instruction with second RTR information of the instruction at the return address; and a control flow transfer unit coupled with the return target restriction unit and with the decode unit, the control flow transfer unit, responsive to the RTR return instruction, to transfer control flow to the instruction at the return address when the return target restriction unit determines not to restrict the attempt. 2. The processor of claim 1 , wherein the return target restriction unit is to determine not to restrict the attempt when a first value corresponding to the first RTR information matches a second value corresponding to the second RTR information, and is to determine to restrict the attempt when the first value does not match the second value. 3. The processor of claim 2 , wherein the return target restriction unit is to determine not to restrict the attempt when the first value equals the second value, and is to determine to restrict the attempt when the first value does not equal the second value. 4. The processor of claim 1 , wherein the return target restriction unit is to determine to restrict the attempt when an opcode of the instruction at the return address is not one of a set of no more than five opcodes that correspond to all instructions that are of a type compatible with the RTR return instruction, and which are to be used to mark potentially allowable return targets for the RTR return instruction. 5. The processor of claim 1 , wherein the RTR return instruction has an immediate to provide the first RTR information, and wherein the instruction at the return address has an immediate to provide the second RTR information. 6. The processor of claim 1 , wherein, when the return target restriction unit determines not to restrict the attempt, the processor is to perform the instruction at the return address as a no operation. 7. The processor of claim 1 , wherein, when the return target restriction unit determines to restrict the attempt, the return target restriction unit is to cause one of an exception, a fault, and an interrupt. 8. The processor of claim 1 , wherein the decode unit is to decode the RTR return instruction which is to have an immediate and an opcode that is same as a legacy return from procedure instruction that existed in an instruction set before the RTR return instruction, wherein the legacy return from procedure instruction was originally to cause a number of bytes indicated by the immediate to be popped from a stack, and wherein the processor is to use the immediate for the first RTR information. 9. The processor of claim 1 , wherein the decode unit is to decode the RTR return instruction which is to have an immediate and an opcode that is same as a legacy return from procedure instruction that existed in an instruction set before the RTR return instruction, and wherein the processor has a first mode in which the immediate is to correspond to the first RTR information and a second mode in which the immediate is to be ignored.
Test or assess a computer or a system · CPC title
by adding security routines or objects to programs · CPC title
Instruction analysis, e.g. decoding, instruction word fields · CPC title
for indirect branch instructions · CPC title
to perform operations for flow control · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.