Patentable/Patents/US-10540261
US-10540261

Problem diagnosis technique of memory corruption based on regular expression generated during application compiling

PublishedJanuary 21, 2020
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical 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.

Patent Claims
13 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer system for memory corruption diagnosis, the computer system comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising: generating a pattern expression (PE) header file, wherein a plurality of common datatypes associated with a software program are pre-defined; modifying the software program to include the PE header file; modifying the software program to add an annotation symbol of a plurality of annotation symbols to a common datatype of the plurality of common datatypes; generating a PE for each of the plurality of common datatypes based on the modified software program; generating a PE table by merging the generated PE for each of the plurality of common datatypes; on determining that a memory corruption has occurred, transmitting a recorded state of the software program in a working memory storage as a core dump file to a server; identifying, by a dump utility, overlay content of the core dump file; converting, by the dump utility, the identified overlay content to a human-readable value, and; identifying a possible source program of the memory corruption by matching each PE stored in the generated table for each of the plurality of common datatypes against illegally written data in the converted overlay content.

2

2. The computer system of claim 1 , wherein the table represents a char datatype and a string datatype of the software program as a plurality of regular expressions.

3

3. The computer system of claim 1 , wherein the table represents an int datatype, a long datatype, and a float datatype of the software program as a plurality of numerical values.

4

4. The computer system of claim 1 , wherein the table represents an int datatype, a long datatype, and a float datatype of the software program as a plurality of regular expressions.

5

5. The computer system of claim 1 , wherein a PE for each of the plurality of common datatypes is generated by a compiler.

6

6. The computer system of claim 1 , wherein the core dump file is transmitted to a production server.

7

7. The computer system of claim 1 , wherein the program instructions are implemented on a computing device using a programming language selected from a group comprising; C, COBOL, Python®, C++, and C#.

8

8. A computer program product for memory corruption diagnosis, the computer program product comprising: one or more computer-readable tangible storage media and program instructions stored on at least one of the one or more tangible storage media, the program instructions executable by a processor, the program instructions comprising: generating a pattern expression (PE) header file, wherein a plurality of common datatypes associated with a software program are pre-defined; modifying the software program to include the PE header file; modifying the software program to add an annotation symbol of a plurality of annotation symbols to a common datatype of the plurality of common datatypes; generating a PE for each of the plurality of common datatypes based on the modified software program; generating a PE table by merging the generated PE for each of the plurality of common datatypes; on determining that a memory corruption has occurred, transmitting a recorded state of the software program in a working memory storage as a core dump file to a server; identifying, by a dump utility, overlay content of the core dump file; converting, by the dump utility, the identified overlay content to a human-readable value, and; identifying a possible source program of the memory corruption by matching each PE stored in the generated table for each of the plurality of common datatypes against illegally written data in the converted overlay content.

9

9. The computer program product of claim 8 , wherein the table represents a char datatype and a string datatype of the software program as a plurality of regular expressions.

10

10. The computer program product of claim 8 , wherein the table represents an int datatype, a long datatype, and a float datatype of the software program as a plurality of numerical values or regular expressions.

11

11. The computer program product of claim 8 , wherein the core dump file is transmitted to a production server.

12

12. The computer program product of claim 8 , wherein a PE for each of the plurality of common datatypes is generated by a compiler.

13

13. The computer program product of claim 8 , where the program instructions are implemented on a computing device using a programming language selected from a group comprising; C, COBOL, Python®, C++, and C#.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

April 7, 2017

Publication Date

January 21, 2020

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Problem diagnosis technique of memory corruption based on regular expression generated during application compiling” (US-10540261). https://patentable.app/patents/US-10540261

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.