INVESTIGADORES
PONZIO Pablo Daniel
artículos
Título:
Automated Workarounds from Java Program Specifications based on SAT Solving
Autor/es:
MARCELO UVA; PABLO PONZIO; GERMÁN REGIS; NAZARENO AGUIRRE; MARCELO FRIAS
Revista:
LECTURE NOTES IN COMPUTER SCIENCE
Editorial:
Springer
Referencias:
Año: 2017
ISSN:
0302-9743
Resumen:
The failures that bugs in software lead to can sometimes be bypassed by the so called workarounds: when a (faulty) routine fails, alternative routines that the system offers can be used in place of the failing one, to circumvent the failure. Previous works have exploited this workarounds notion to automatically recover from runtime failures in some application domains. However, existing approaches that compute workarounds automatically either require the user to manually build an abstract model of the software under consideration, or to provide equiv- alent sequences of operations from which workarounds are computed, diminishing the automation of workaround-based system recovery.In this paper, we present two techniques that automatically compute workarounds from Java code equipped with formal specifications, avoid- ing abstract software models and user provided equivalences. These tech- niques employ SAT solving to compute workarounds on concrete program state characterizations. The first employs SAT solving to compute tra- ditional workarounds, while the second directly exploits SAT solving to circumvent a failing method, building a state that mimics the (correct) behaviour of this failing routine. Our experiments, based on case studies involving implementations of collections and a library for date arith- metic, enable us to show that the techniques can effectively compute workarounds from complex contracts in an important number of cases, in time that makes them feasible to be used for run time repairs.