Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-09T11:31:26.579Z Has data issue: false hasContentIssue false

Transformation-Enabled Precondition Inference

Published online by Cambridge University Press:  23 September 2021

BISHOKSAN KAFLE
Affiliation:
IMDEA Software Institute, Madrid, Spain (e-mail: bishoksan.kafle@imdea.org)
GRAEME GANGE
Affiliation:
Faculty of IT, Monash University, Clayton Vic. 3800, Australia (e-mails: graeme.gange@monash.edu, peter.stuckey@monash.edu)
PETER J. STUCKEY
Affiliation:
Faculty of IT, Monash University, Clayton Vic. 3800, Australia (e-mails: graeme.gange@monash.edu, peter.stuckey@monash.edu)
PETER SCHACHTE
Affiliation:
School of Computing and Information Systems, The University of Melbourne, Vic. 3010, Australia (e-mails: schachte@unimelb.edu.au, harald@unimelb.edu.au)
HARALD SØNDERGAARD
Affiliation:
School of Computing and Information Systems, The University of Melbourne, Vic. 3010, Australia (e-mails: schachte@unimelb.edu.au, harald@unimelb.edu.au)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Precondition inference is a non-trivial problem with important applications in program analysis and verification. We present a novel iterative method for automatically deriving preconditions for the safety and unsafety of programs. Each iteration maintains over-approximations of the set of safe and unsafe initial states, which are used to partition the program’s initial states into those known to be safe, known to be unsafe and unknown. We then construct revised programs with those unknown initial states and iterate the procedure until the approximations are disjoint or some termination criteria are met. An experimental evaluation of the method on a set of software verification benchmarks shows that it can infer precise preconditions (sometimes optimal) that are not possible using previous methods.

Information

Type
Original Article
Copyright
© The Author(s), 2021. Published by Cambridge University Press