AndroLog: Android Instrumentation and Code Coverage Analysis
<|reference_start|>AndroLog: Android Instrumentation and Code Coverage Analysis: Dynamic analysis has emerged as a pivotal technique for testing Android apps, enabling the detection of bugs, malicious code, and vulnerabilities. A key metric in evaluating the efficacy of tools employed by both research and practitioner communities for this purpose is code coverage. Obtaining code coverage typically requires planting probes within apps to gather coverage data during runtime. Due to the general unavailability of source code to analysts, there is a necessity for instrumenting apps to insert these probes in black-box environments. However, the tools available for such instrumentation are limited in their reliability and require intrusive changes interfering with apps' functionalities.   This paper introduces AndroLog a novel tool developed on top of the Soot framework, designed to provide fine-grained coverage information at multiple levels, including class, methods, statements, and Android components. In contrast to existing tools, AndroLog leaves the responsibility to test apps to analysts, and its motto is simplicity. As demonstrated in this paper, AndroLog can instrument up to 98% of recent Android apps compared to existing tools with 79% and 48% respectively for COSMO and ACVTool. AndroLog also stands out for its potential for future enhancements to increase granularity on demand. We make AndroLog available to the community and provide a video demonstration of AndroLog (see section 8).<|reference_end|>
@article{samhi2024androlog:,
    title={AndroLog: Android Instrumentation and Code Coverage Analysis},
    author={Jordan Samhi, Andreas Zeller},
    journal={arXiv preprint arXiv:2404.11223},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.11223},
    primaryClass={cs.SE}
}