Patent · US Active

Dynamic identification of stack frames

US11188470B2 · kind B2 · utility

2Cited by
2References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 20, 2020
Grant dateNov 30, 2021
Priority date
Expiry dateMay 20, 2040

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2212/451
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method, system and product, configured to perform: during an execution of a program, obtaining boundaries of a stack frame of a function that is currently present in a stack, wherein said obtaining the boundaries comprises: obtaining a return address of the function in the stack; determining a length of the function using a mapping of return addresses of one or more functions in the program and corresponding lengths of the one or more functions; and determining the boundaries of the stack frame of the function based on a value of a stack pointer of the stack and based on the length of the function; based on the boundaries of the stack frame of the function, determining that the stack frame is overflown; and in response to said determining that the stack frame is overflown, performing a responsive action.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.