Artigo Acesso aberto Revisado por pares

Dynamic Java program analysis using virtual machine modification

2015; Institute for System Programming of the Russian Academy of Sciences (ISPRAS); Volume: 27; Issue: 2 Linguagem: Inglês

10.15514/ispras-2015-27(2)-2

ISSN

2220-6426

Autores

M. Ermakov, S. Vartanov,

Tópico(s)

Software Testing and Debugging Techniques

Resumo

This article focuses on practical questions of performing program analysis for applications executed using interpreters and virtual machines. Using Dalvik virtual machine in Android operating system as target interpreter layer, we showcase the possibilities of program analysis through automatic execution data extraction and profiling. The article describes functional modifications for Dalvik virtual machine which allow generating extra statistics and data to be intercepted by a debugger client for further processing. We conclude with the brief overview of a set of experiments performed on a set of standard Android applications, identifying several memory usage trends; lastly, we discuss possible future improvements for the implemented system.

Referência(s)