Automated detection of non-termination and nullpointerexceptions for Java Bytecode

  • Authors:
  • Marc Brockschmidt;Thomas Ströder;Carsten Otto;Jürgen Giesl

  • Affiliations:
  • LuFG Informatik 2, RWTH Aachen University, Germany;LuFG Informatik 2, RWTH Aachen University, Germany;LuFG Informatik 2, RWTH Aachen University, Germany;LuFG Informatik 2, RWTH Aachen University, Germany

  • Venue:
  • FoVeOOS'11 Proceedings of the 2011 international conference on Formal Verification of Object-Oriented Software
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Recently, we developed an approach for automated termination proofs of Java Bytecode (JBC), which is based on constructing and analyzing termination graphs. These graphs represent all possible program executions in a finite way. In this paper, we show that this approach can also be used to detect non-termination or NullPointerExceptions. Our approach automatically generates witnesses, i.e., calling the program with these witness arguments indeed leads to non-termination resp. to a NullPointerException. Thus, we never obtain "false positives". We implemented our results in the termination prover AProVE and provide experimental evidence for the power of our approach.