2012 | OriginalPaper | Buchkapitel
Automated Detection of Non-termination and NullPointerExceptions for Java Bytecode
verfasst von : Marc Brockschmidt, Thomas Ströder, Carsten Otto, Jürgen Giesl
Erschienen in: Formal Verification of Object-Oriented Software
Verlag: Springer Berlin Heidelberg
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
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
NullPointerException
s. 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.