Invention Grant
- Patent Title: Early detection of an access to de-allocated memory
- Patent Title (中): 早期检测到取消分配内存的访问
-
Application No.: US12248734Application Date: 2008-10-09
-
Publication No.: US08151086B2Publication Date: 2012-04-03
- Inventor: Ben McDavitt , Jeremy Zeller , Dale Harris
- Applicant: Ben McDavitt , Jeremy Zeller , Dale Harris
- Applicant Address: US CA Milpitas
- Assignee: LSI Corporation
- Current Assignee: LSI Corporation
- Current Assignee Address: US CA Milpitas
- Agency: Cochran Freund & Young LLC
- Agent Alexander J. Neudeck
- Main IPC: G06F12/06
- IPC: G06F12/06 ; G06F11/07

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.
Public/Granted literature
- US20100095081A1 EARLY DETECTION OF AN ACCESS TO DE-ALLOCATED MEMORY Public/Granted day:2010-04-15
Information query