Patents
US 7,827,375 B2#3597112 Most CitedActiveUnited States (USPTO)Utility

Defensive heap memory management

22Forward Citations (#3597112 Global)
1.4/yrCitation Velocity (#4032863 Global)
5.26Citation PageRank (#3049137 Global)
25Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A data structure, method and system are provided incorporating a general purpose memory allocator and defensive heap memory manager. This provides an ability to reliably detect various types of memory errors, dynamically enable or disable memory debugging, enhance success of read and write operations using various memory verification techniques. Further, through separation of control information associated with allocated and free chunks of memory from the chunks themselves (separation of metadata from actual data), enhanced protection of vital information about the heap memory layout in general is provided. The heap memory manager uses read, write, and execute protected heap header walls and pool header walls and may, for each pool and memory block, separately use hidden front and back Memory Debug Information Areas (MDIAs) with checksums and well-known signature fields thereby enhancing overall memory management.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 22.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for managing memory by a memory manager of a data processing system, said method comprising: allocating a memory chunk, including a front memory debug information area (MDIA) and a rear MDIA; determining debugging conditions indicated by a plurality of debug options indicators in said front MDIA, wherein performing said determination may be made selectively; and selectively modifying said debug options indicators.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the front MDIA contains a first checksum and the rear MDIA contains a second checksum, further comprising: determining a status of the first checksum and the second checksum wherein said status indicating corrupted data; responsive to said status performing the method of: determining a range of corrupt data based upon the status; finding control information related to said corrupt data; and perform

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (25)

PatentTitleYearCitations
US 5,247,634 AMethod of managing memory allocation by association of memory blocks with a tree structure199383
US 5,341,483 ADynamic hierarchial associative memory199481
US 5,404,511 ACompact disc player with fragment memory management199526
US 5,410,669 AData processor having a cache memory capable of being used as a linear ram bank1995111
US 5,561,786 AComputer method and system for allocating and freeing memory utilizing segmenting and free block lists1996217
US 5,652,864 AConcurrent storage allocations or returns without need to lock free storage chain199760
US 5,680,582 AMethod for heap coalescing where blocks do not cross page of segment boundaries199730
US 5,737,516 AData processing system for performing a debug function and method therefor1998181
US 5,742,793 AMethod and apparatus for dynamic memory management by association of free memory blocks using a binary tree organized in an address and size dependent manner199850
US 5,797,689 AAvoiding memory fragmentation in printers199811
US 5,809,554 AUser control of multiple memory heaps199884
US 5,893,162 AMethod and apparatus for allocation and management of shared memory with data in memory stored as multiple linked lists199981
US 5,943,692 AMobile client computer system with flash memory management utilizing a virtual address map and variable length data1999222
US 5,964,893 AData processing system for performing a trace function and method therefor199984
US 5,974,528 AMicrocomputer with embedded flash memory having on-chip programming capability and method of programming data into the embedded flash memory199949