System and method for detecting memory management programming errors
Abstract
A memory management functions system enables an efficient memory management programming errors. The system includes a server code that reports detailed trace data showing memory management calls; memory that was allocated but not freed; memory requested to be freed that was not allocated; corrupted memory immediately following the allocated space; and incorrect exit from a stored procedure that bypasses reporting and memory cleanup. In addition, the present system frees on exit, memory leaks or memories that were allocated but not explicitly freed earlier. These features allow a programmer to more readily easily detect and debug memory management errors within their program code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for detecting memory management programming errors, comprising: a calling function requesting a first memory function; replacing the first memory function with a replacement first memory function when the first memory function is detected; the replacement first memory function allocating a memory required by the first memory function; the replacement first memory function further adding a record to a list of allocations, wherein the entry comprises an address, memory size, a name of the calling function, and a line number of the calling function; wherein the first memory function is a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗