Dynamic analysis method and system for program heap space

The invention discloses a dynamic analysis method and system for a program heap space. The method comprises the steps that S1, program distribution and heap space release behaviors are captured to obtain information of a heap space object; s2, analyzing a data structure of a heap space object of the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU BUQUAN, QI XUAN, SHEN QIDA, MA CHUNYU, MU RUICHAO
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 dynamic analysis method and system for a program heap space. The method comprises the steps that S1, program distribution and heap space release behaviors are captured to obtain information of a heap space object; s2, analyzing a data structure of a heap space object of the program; s3, in combination with the information and the data structure of the heap space object, regularly obtaining heap space data of the program and generating snapshot data of the heap space object; and S4, analyzing the two groups of snapshot data of the specified heap space object to determine the dynamic change of the heap space object. The heap space change of the whole life cycle of the program is tracked in a non-intrusive mode, the detailed data structure of the heap space object is recorded, and the snapshot is formed, so that the use condition of the heap space of the program is further analyzed conveniently. 本发明公开了一种程序堆空间的动态分析方法及系统,本发明方法包括:S1,捕获程序的分配、释放堆空间行为以获取堆空间对象的信息;S2,分析程序的堆空间对象的数据结构;S3,结合堆空间对象的