Problem diagnosis technique of memory corruption based on regular expression generated during application compiling
Abstract
According to one embodiment, a method, computer system, and computer program product for memory corruption diagnosis is provided. The present invention may include generating a pattern expression (PE) header file, wherein a plurality of common datatypes associated with a software program are pre-defined. The invention may further include generating a PE for each of the plurality of common datatypes, and generating a PE table by merging the generated PEs for each of the plurality of common datatypes. Upon discovery that memory corruption has occurred, the invention may include transmitting a recorded state of the software program as a core dump file to a server, and using a dump utility to identify overlay content of the core dump file. Lastly, the invention may include identifying a possible source program of the memory corruption by matching the PE tables against the illegally-written overlay content.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor-implemented method for memory corruption diagnosis, the method comprising: generating a pattern expression (PE) header file; incorporating the PE header file into a plurality of programs; compiling the plurality of programs; converting, by a mathematical process, a plurality of datatypes associated with the plurality of compiled programs into PEs; storing the mathematical process in the PE header file; and responsive to one or more source programs writing into an illegal or invalid memory block, identifying one or more compiled programs of the plurality of compiled programs as the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- Cass, Stephen, “The 2016 Top Programming Languages C is No. 1, but big data is still the big winner”, IEEE Spectrum, Posted Jul. 26, 2016, 2 pages, <http://spectrum.ieee.org/computing/software/the-2016-top-programming-languages>.
- Cooprider et al., “Efficient Memory Safety for TinyOS”, SenSys'07, Nov. 6-9, 2007, pp. 205-218.
- IBM: List of IBM Patents or Patent Applications Treated as Related (Appendix P), Dec. 18, 2019, pp. 1-2.
- Mell, et al., “The NIST Definition of Cloud Computing,” National Institute of Standards and Technology, U.S. Department of Commerce, Special Publication 800-145, Sep. 2011, pp. 1-7.
- Sezer et al., “MemSherlock: An Automated Debugger for Unknown Memory Corruption Vulnerabilities”, CCS'07, Oct. 29-Nov. 2, 2007, pp. 562-572.