Improving dynamic software analysis by applying grammar inference principles

  • Authors:
  • Neil Walkinshaw;Kirill Bogdanov;Mike Holcombe;Sarah Salahuddin

  • Affiliations:
  • The Department of Computer Science, Regent Court, 211 Portobello Street, Sheffield S1 4DP, U.K.;The Department of Computer Science, Regent Court, 211 Portobello Street, Sheffield S1 4DP, U.K.;The Department of Computer Science, Regent Court, 211 Portobello Street, Sheffield S1 4DP, U.K.;The Department of Computer Science, Regent Court, 211 Portobello Street, Sheffield S1 4DP, U.K.

  • Venue:
  • Journal of Software Maintenance and Evolution: Research and Practice - Special Issue on Program Comprehension through Dynamic Analysis (PCODA)
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.