Improving dynamic software analysis by applying grammar inference principles

Neil Walkinshaw, Kirill Bogdanov, Mike Holcombe, Sarah Salahuddin
<span title="">2008</span> <i title="Wiley"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/2444h2zhhngjfme2q37xcq22de" style="color: black;">Journal of Software Maintenance and Evolution Research and Practice</a> </i> &nbsp;
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
more &raquo; ... ns. 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.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1002/smr.373">doi:10.1002/smr.373</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/4cbdwhpg5bg7vlgj7qnw4y657y">fatcat:4cbdwhpg5bg7vlgj7qnw4y657y</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20170810091638/http://www.cs.le.ac.uk/people/nw91/Files/JSME08.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/4d/81/4d819374c9a618c11743b0df11bdfba660d581c6.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1002/smr.373"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> wiley.com </button> </a>