Invention Grant
- Patent Title: Method and system for stack back-tracing in computer programs
- Patent Title (中): 计算机程序中堆栈跟踪的方法和系统
-
Application No.: US12378007Application Date: 2009-02-10
-
Publication No.: US08458671B1Publication Date: 2013-06-04
- Inventor: Mathew Hostetter , Vineet Soni , Richard Schooler
- Applicant: Mathew Hostetter , Vineet Soni , Richard Schooler
- Applicant Address: US CA San Jose
- Assignee: Tilera Corporation
- Current Assignee: Tilera Corporation
- Current Assignee Address: US CA San Jose
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
The present invention relates to a method, system, and computer program product for performing a computer program analysis. The computer program includes a plurality of instructions. The method performs a static analysis of the computer program to compute the states of a stack pointer (SP), a frame pointer (FP), and a link register (LR) at one or more instructions of the program. The static analysis is preferably performed at compile time. Further, the method computes the states of the SP, the FP, and the LR at the instructions as determined by a dynamic analysis, wherein the dynamic analysis is preferably modeled (performed) during the static analysis. Furthermore, the states determined by the static analysis and the dynamic analysis are compared. If a discrepancy is found between the two states, metadata (information operators) is inserted into the program.
Information query