Capítulo de livro Acesso aberto Revisado por pares

Termination Analysis of Java Bytecode

2008; Springer Science+Business Media; Linguagem: Inglês

10.1007/978-3-540-68863-1_2

ISSN

1611-3349

Autores

Elvira Albert, Puri Arenas, Michael Codish, Samir Genaim, Germán Puebla, Damiano Zanardini,

Tópico(s)

Formal Methods in Verification

Resumo

Termination analysis has received considerable attention, traditionally in the context of declarative programming, and recently also for imperative languages. In existing approaches, termination is performed on source programs. However, there are many situations, including mobile code, where only the compiled code is available. In this work we present an automatic termination analysis for sequential Java Bytecode programs. Such analysis presents all of the challenges of analyzing a low-level language as well as those introduced by object-oriented languages. Interestingly, given a bytecode program, we produce a constraint logic program, CLP, whose termination entails termination of the bytecode program. This allows applying the large body of work in termination of CLP programs to termination of Java bytecode. A prototype analyzer is described and initial experimentation is reported.

Referência(s)