Journal article

Transformation-Enabled Precondition Inference

B Kafle, G Gange, PJ Stuckey, P Schachte, H SØndergaard

Theory and Practice of Logic Programming | Cambridge University Press (CUP) | Published : 2021

Abstract

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 sh..

View full abstract