2019 · 24 citations · 36 references
ComputingComputer EngineeringComputer ScienceAlgorithmsMachine LearningProgramming LanguagesControl-flow AnalysisData-flow AnalysisDeductive VerificationType CheckingType SystemsPrecondition CheckingPreconditions
In this paper, we present a novel learning framework for inferring stateful preconditions (i.e., preconditions constraining not only primitive-type inputs but also non-primitive-type object states) modulo a test generator, where the quality of the preconditions is based on their safety and maximality with respect to the test generator. We instantiate the learning framework with a specific learner and test generator to realize a precondition synthesis tool for C#. We use an extensive evaluation to show that the tool is highly effective in synthesizing preconditions for avoiding exceptions as well as synthesizing conditions under which methods commute.
36
J. R. Quinlan · Machine Learning · 1986 · 14.8K citations · Full text
Patrice Godefroid, Nils Klarlund, Koushik Sen · ACM SIGPLAN Notices · 2005 · 2.1K citations
Koushik Sen, Darko Marinov, Gul Agha · 2005 · 1.7K citations
Patrice Godefroid, Nils Klarlund, Koushik Sen · 2005 · 1.5K citations
Glenn Ammons, Rastislav Bodík, James R. Larus · 2002 · 669 citations · Full text