Patent · US Active

Early detection of an access to de-allocated memory

US8151086B2 · kind B2 · utility

2Cited by
2References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 9, 2008
Grant dateApr 3, 2012
Priority date
Expiry dateDec 25, 2030

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F12/1483
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Disclosed is a method of detecting an access to de-allocated memory, comprising: creating a pool of fixed size memory blocks that are a non-zero integer multiple of a page size of a processor; receiving a request for an allocation of a block of memory; recording a set of allocation context information in a fixed size memory block; returning a pointer to an allocation of memory within said fixed size memory block; receiving a request to de-allocate said block of memory; recording a set of de-allocation context information in said fixed size memory block; and, setting an indicator in a page table entry associated with said fixed size memory block to a first value that indicates access to said fixed size memory block is not allowed.

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