Automated Program Analysis: Revisiting Precondition Inference through Constraint Acquisition
- 1. Université Paris-Saclay, CEA, List
- 2. Université de Montpellier
- 3. SIMULA Reseach Lab
Description
Program annotations under the form of function pre/postconditions are crucial for many software engineering and program verification applications. Unfortunately, such annotations are rarely available and must be retrofit by hand. In this paper, we explore how Constraint Acquisition (CA), a learning framework from Constraint Programming, can be leveraged to automatically infer program preconditions in a black-box manner, from input-output observations. We propose PreCA, the first ever framework based on active constraint acquisition dedicated to infer memory-related preconditions. PreCA overpasses prior techniques based on program analysis and formal methods, offering well-identified guarantees and returning more precise results in practice.
Files
Files
(2.6 GB)
Name | Size | Download all |
---|---|---|
md5:0655dc75c6004134eb95e37333e85201
|
2.6 GB | Download |
md5:8a1c24ef2abc55209c9f3797c7e019c4
|
286 Bytes | Download |