Verifying Functional Correctness Properties At the Level of Java Bytecode
<|reference_start|>Verifying Functional Correctness Properties At the Level of Java Bytecode: The breakneck evolution of modern programming languages aggravates the development of deductive verification tools, which struggle to timely and fully support all new language features. To address this challenge, we present ByteBack: a verification technique that works on Java bytecode. Compared to high-level languages, intermediate representations such as bytecode offer a much more limited and stable set of features; hence, they may help decouple the verification process from changes in the source-level language.   ByteBack offers a library to specify functional correctness properties at the level of the source code, so that the bytecode is only used as an intermediate representation that the end user does not need to work with. Then, ByteBack reconstructs some of the information about types and expressions that is erased during compilation into bytecode but is necessary to correctly perform verification. Our experiments with an implementation of ByteBack demonstrate that it can successfully verify bytecode compiled from different versions of Java, and including several modern language features that even state-of-the-art Java verifiers (such as KeY and OpenJML) do not directly support$\unicode{x2013}$thus revealing how ByteBack's approach can help keep up verification technology with language evolution.<|reference_end|>
@article{paganoni2024verifying,
    title={Verifying Functional Correctness Properties At the Level of Java
  Bytecode},
    author={Marco Paganoni and Carlo A. Furia},
    journal={arXiv preprint arXiv:2409.20071},
    year={2024},
    doi={10.1007/978-3-031-27481-7_20},
    archivePrefix={arXiv},
    eprint={2409.20071},
    primaryClass={cs.PL cs.LO}
}