Invention Grant
- Patent Title: Identification of missing call and return instructions for management of a return address stack
- Patent Title (中): 识别返回地址堆栈的管理的缺失调用和返回指令
-
Application No.: US13875704Application Date: 2013-05-02
-
Publication No.: US09323536B2Publication Date: 2016-04-26
- Inventor: Clement Marc Demongeot , Louis-Marie Vincent Mouton , Jocelyn Francois Orion Jaubert
- Applicant: ARM LIMITED
- Applicant Address: GB Cambridge
- Assignee: ARM Limited
- Current Assignee: ARM Limited
- Current Assignee Address: GB Cambridge
- Agency: Nixon & Vanderhye P.C.
- Main IPC: G06F9/00
- IPC: G06F9/00 ; G06F9/44 ; G06F9/34 ; G06F9/38 ; G06F9/30

Abstract:
A data processing apparatus and method of data processing are disclosed. A fetch unit retrieves program instructions comprising call instructions and return instructions from memory to be executed by an execution unit. A branch prediction unit generates a return address prediction for an identified return instruction with reference to a return address stack. The branch prediction unit performs a return address push onto said return address stack when the execution unit executes a call instruction and performs a return address pop from the return address stack when the execution unit executes a return instruction. An error detection unit identifies a missing call instruction or a missing return instruction in said program instructions by reference to the return address prediction, a resolved return address indicated by the execution unit when the return instruction is executed and the content of the return address stack.
Public/Granted literature
- US20140331028A1 IDENTIFICATION OF MISSING CALL AND RETURN INSTRUCTIONS FOR MANAGEMENT OF A RETURN ADDRESS STACK Public/Granted day:2014-11-06
Information query