Improving dynamic software analysis by applying grammar inference principles
Author(s) -
Walkinshaw Neil,
Bogdanov Kirill,
Holcombe Mike,
Salahuddin Sarah
Publication year - 2008
Publication title -
journal of software maintenance and evolution: research and practice
Language(s) - English
Resource type - Journals
eISSN - 1532-0618
pISSN - 1532-060X
DOI - 10.1002/smr.373
Subject(s) - computer science , grammar induction , rule based machine translation , inference , grammar , sample (material) , domain (mathematical analysis) , software , artificial intelligence , machine learning , natural language processing , theoretical computer science , programming language , linguistics , mathematics , philosophy , chemistry , chromatography , mathematical analysis
Grammar inference is a family of machine learning techniques that aim to infer grammars from a sample of sentences in some (unknown) language. Dynamic analysis is a family of techniques in the domain of software engineering that attempts to infer rules that govern the behaviour of software systems from a sample of executions. Despite their disparate domains, both fields have broadly similar aims; they try to infer rules that govern the behaviour of some unknown system from a sample of observations. Deriving general rules about program behaviour from dynamic analysis is difficult because it is virtually impossible to identify and supply a complete sample of necessary program executions. The problems that arise with incomplete input samples have been extensively investigated in the grammar inference community. This has resulted in a number of advances that have produced increasingly sophisticated solutions that are more successful at accurately inferring grammars from (potentially) sparse information about the underlying system. This paper investigates the similarities and shows how many of these advances can be applied with similar effect to dynamic analysis problems by a series of small experiments on random state machines. Copyright © 2008 John Wiley & Sons, Ltd.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom