Fraunhofer-Gesellschaft

Publica

Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Reviser: Efficiently updating IDE-/IFDS-based data-flow analyses in response to incremental program changes

 
: Arzt, Steven; Bodden, Eric

:

Association for Computing Machinery -ACM-:
36th International Conference on Software Engineering, ICSE 2014. Proceedings : Hyderabad, India, May 31 - June 7, 2014
New York: ACM, 2014
ISBN: 978-1-4503-2768-8
ISBN: 978-1-4503-2756-5
pp.288-298
International Conference on Software Engineering (ICSE) <36, 2014, Hyderabad>
English
Conference Paper
Fraunhofer SIT ()
inter-procedural static analysis; low-sensitive analysis; IFDS; IDE; incremental analysis

Abstract
Most application code evolves incrementally, and especially so when being maintained after the applications have been deployed. Yet, most data-flow analyses do not take advantage of this fact. Instead they require clients to recompute the entire analysis even if little code has changed - a time consuming undertaking, especially with large libraries or when running static analyses often, e.g., on a continuous-integration server. In this work, we present Reviser, a novel approach for automatically and efficiently updating inter-procedural data-flow analysis results in response to incremental program changes. Reviser follows a clear-and-propagate philosophy, aiming at clearing and recomputing analysis information only where required, thereby greatly reducing the required computational effort. The Reviser algorithm is formulated as an extension to the IDE framework for Inter-procedural Finite Distributed Environment problems and automatically updates arbitrary IDE-based analyses. We have implemented Reviser as an open-source extension to the Heros IFDS/IDE solver and the Soot program-analysis framework. An evaluation of Reviser on various client analyses and target programs shows performance gains of up to 80% in comparison to a full recomputation. The experiments also show Reviser to compute the same results as a full recomputation on all instances tested.

: http://publica.fraunhofer.de/documents/N-374679.html