Symmaries: Java程序形式安全摘要的自动推断
Symmaries: Automatic Inference of Formal Security Summaries for Java Programs
AI总结:
Symmaries通过自动化生成Java程序的安全摘要,提升静态分析工具的精度和可扩展性。
摘要:
我们介绍了一种可扩展、模块化且正确的途径,用于自动为Java字节码程序生成形式安全规范,以方法摘要的形式呈现。摘要提供了一种抽象表示方法的安全行为,包括在何种条件下方法可以安全调用,以及信息流和别名更新的规范。此类摘要可以被静态代码分析工具所消费,同时也帮助开发人员理解代码片段(如库)的行为,以便在重新使用时评估其安全影响。我们的方法在名为Symmaries的工具中实现,该工具自动化了安全摘要的生成。我们应用Symmaries到Java API库中以提取其安全规范,并对大型真实世界应用进行评估以检验其可扩展性。我们的结果表明,该工具能够扩展到分析拥有数十万行代码的应用程序,并且Symmaries在使用堆模型时实现了有前景的精度。我们证明了我们的方法在保证终止无关非干扰方面是正确的。
英文摘要:
We introduce a scalable, modular, and sound approach for automatically constructing formal security specifications for Java bytecode programs in the form of method summaries. A summary provides an abstract representation of a method's security behavior, consisting of the conditions under which the method can be securely invoked, together with specifications of information flows and aliasing updates. Such summaries can be consumed by static code analysis tools and also help developers understand the behavior of code segments, such as libraries, in order to evaluate their security implications when reused in applications. Our approach is implemented in a tool called Symmaries, which automates the generation of security summaries. We applied Symmaries to Java API libraries to extract their security specifications and to large real-world applications to evaluate its scalability. Our results show that the tool successfully scales to analyze applications with hundreds of thousands of lines of code, and that Symmaries achieves a promising precision depending on the heap model used. We prove the soundness of our approach in terms of guaranteeing termination-insensitive non-interference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。