Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Just-in-time static analysis

: Do, L.N.Q.; Ali, K.; Livshits, B.; Bodden, E.; Smith, J.; Murphy-Hill, E.


Association for Computing Machinery -ACM-; Association for Computing Machinery -ACM-, Special Interest Group on Software Engineering -SIGSOFT-:
ISSTA 2017, 26th ACM SIGSOFT International Symposium on Software Testing and Analysis. Proceedings : Santa Barbara, CA, USA, July 10 - 14, 2017
New York: ACM, 2017
ISBN: 978-1-4503-5076-1
International Symposium on Software Testing and Analysis (ISSTA) <26, 2017, Santa Barbara/Calif.>
Conference Paper
Fraunhofer IEM ()

We present the concept of Just-In-Time (JIT) static analysis that interleaves code development and bug fixing in an integrated development environment. Unlike traditional batch-style analysis tools, a JIT analysis tool presents warnings to code developers over time, providing the most relevant results quickly, and computing less relevant results incrementally later. In this paper, we describe general guidelines for designing JIT analyses. We also present a general recipe for transforming static data-flow analyses to JIT analyses through a concept of layered analysis execution. We illustrate this transformation through Cheetah, a JIT taint analysis for Android applications. Our empirical evaluation of Cheetah on real-world applications shows that our approach returns warnings quickly enough to avoid disrupting the normal worklow of developers. This result is confirmed by our user study, in which developers fixed data leaks twice as fast when using Cheetah compared to an equivalent batch-style analysis.