Synthesizing contracts correct modulo a test generator
2021 ◽
Vol 5
(OOPSLA)
◽
pp. 1-27
Keyword(s):
We present an approach to learn contracts for object-oriented programs where guarantees of correctness of the contracts are made with respect to a test generator. Our contract synthesis approach is based on a novel notion of tight contracts and an online learning algorithm that works in tandem with a test generator to synthesize tight contracts. We implement our approach in a tool called Precis and evaluate it on a suite of programs written in C#, studying the safety and strength of the synthesized contracts, and compare them to those synthesized by Daikon.
2021 ◽
Vol 0
(0)
◽
Keyword(s):
Keyword(s):
2017 ◽
Vol 10
(13)
◽
pp. 284
2018 ◽
Vol 65
(11)
◽
pp. 1788-1792
◽
2019 ◽
Vol 33
◽
pp. 3232-3239
◽
2019 ◽
Vol 356
(13)
◽
pp. 7548-7570
◽