Discovering program's behavioral patterns by inferring graph-grammars from execution traces

Chunying Zhao*, Keven Ates, Jun Kong, Kang Zhang

*Corresponding author for this work

Research output: Chapter in Book/Conference Proceeding/ReportConference Paper published in a bookpeer-review

4 Citations (Scopus)

Abstract

Frequent patterns in program executions represent recurring sequences of events. These patterns can be used to reveal the hidden structures of a program, and ease the comprehension of legacy systems. Existing grammar-induction approaches generally use sequential algorithms to infer formal models from program executions, in which program executions are represented as strings. Software developers, however, often use graphs to illustrate the process of program executions, such as UML diagrams, flowcharts and call graphs. Taking advantage of graphs' expressiveness and intuitiveness for human cognition, we present a graph-grammar induction approach to discovering program's behavioral patterns by analyzing execution traces represented in graphs. Moreover, to improve the efficiency, execution traces are abstracted to filter redundant or unrelated traces. A grammar induction environment called VEGGIE is adopted to facilitate the induction. Evaluation is conducted on an open source project JHotDraw. Experimental results show the applicability of the proposed approach.

Original languageEnglish
Title of host publicationProceedings - 20th IEEE International Conference on Tools with Artificial Intelligence, ICTAI'08
Pages395-402
Number of pages8
DOIs
Publication statusPublished - 2008
Externally publishedYes
Event20th IEEE International Conference on Tools with Artificial Intelligence, ICTAI'08 - Dayton, OH, United States
Duration: 3 Nov 20085 Nov 2008

Publication series

NameProceedings - International Conference on Tools with Artificial Intelligence, ICTAI
Volume2
ISSN (Print)1082-3409

Conference

Conference20th IEEE International Conference on Tools with Artificial Intelligence, ICTAI'08
Country/TerritoryUnited States
CityDayton, OH
Period3/11/085/11/08

Fingerprint

Dive into the research topics of 'Discovering program's behavioral patterns by inferring graph-grammars from execution traces'. Together they form a unique fingerprint.

Cite this