Defensive heap memory management
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: 23 · Forward citations: 50.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A data structure in a computer memory for memory management in a data processing system comprising: at least one memory block; memory debug information associated with said memory block a primary allocation of memory; a primary data structure associated with and referenced by said primary allocation of memory, said primary data structure containing a plurality of first attribute sets describing said primary allocation of memory; a secondary allocation of memory associated with and referenced by said primary allocation of memory: a secondary data structure associated with and referring to said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗