Memory repeat release error detection method

The invention discloses a memory repeat release error detection method, and belongs to the technical field of software engineering. The method comprises the steps of building a memory pool and an operation queue pool, recording each request or release operation of a debugging program on a memory blo...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HAN LERAN, WANG CHONG, LU XIANGYU, CUI LIDONG, ZHANG KAIHE, LI XIANG, LI PAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a memory repeat release error detection method, and belongs to the technical field of software engineering. The method comprises the steps of building a memory pool and an operation queue pool, recording each request or release operation of a debugging program on a memory block in the memory pool into an operation queue corresponding to the memory block, judging whether release is significantly repeated, and positioning a code causing a program error in the program codes according to information recorded by the operation queue. The method provided by the invention is rigorous, concise and compact, and convenient to achieve, particularly provides a solid foundation for memory call troubleshooting by using the data structures such as the memory pool and the operation queue pool; compared with the prior art, the method can more simply and efficiently position the code causing the memory repeat release error, and is an important improvement for an existing code troubleshooting and debuggin