Java字节码转换形式化推理的通用框架
Towards a General Framework for Formal Reasoning about Java Bytecode Transformation
摘要:
程序转换引起了广泛的兴趣,因为它用于多种目的:改变程序的语义、向程序添加功能或执行优化。在本文中,我们专注于程序转换在字节码级别。由于这些转换可能会引入错误,因此我们的目标是提供一种正式的方法来验证更新并确定其正确性。提出的形式化框架定义了更新的形式语义,作为静态验证的基础,并提出了一种基于Hoare三元组和最弱前提演算的字节码转换行为推理方案
英文摘要:
Program transformation has gained a wide interest since it is used for several purposes: altering semantics of a program, adding features to a program or performing optimizations. In this paper we focus on program transformations at the bytecode level. Because these transformations may introduce errors, our goal is to provide a formal way to verify the update and establish its correctness. The formal framework presented includes a definition of a formal semantics of updates which is the base of a static verification and a scheme based on Hoare triples and weakest precondition calculus to reason about behavioral aspects in bytecode transformation
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。