arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.08961cs.SEcs.FL
收藏

Lola规格的经验证防锈剂

Verified Rust Monitors for Lola Specifications

Bernd Finkbeiner, Stefan Oswald, Noemi Passing, Maximilian Schwenger

摘要:

网络物理系统的安全取决于其监测机制的正确性。如果监视器的规范是手动实现的或由不可靠的软件解释的,则这是有问题的。我们提出了一个验证编译器,它将基于流的监控语言Lola中的规范转换为Rust中的实现。生成的代码包含验证注释,使Viper工具包能够自动证明功能正确性,不存在内存错误,并保证终止。编译器基于规范的依赖性分析,并行化监视器中不同流的评估。我们提出了令人鼓舞的实验结果与显示器规格在文献中找到。对于每一个规范,我们的方法都能够产生正确性证明或发现规范中的错误。

英文摘要:

The safety of cyber-physical systems rests on the correctness of their monitoring mechanisms. This is problematic if the specification of the monitor is implemented manually or interpreted by unreliable software. We present a verifying compiler that translates specifications given in the stream-based monitoring language Lola to implementations in Rust. The generated code contains verification annotations that enable the Viper toolkit to automatically prove functional correctness, absence of memory faults, and guaranteed termination. The compiler parallelizes the evaluation of different streams in the monitor based on a dependency analysis of the specification. We present encouraging experimental results obtained with monitor specifications found in the literature. For every specification, our approach was able to either produce a correctness proof or to uncover errors in the specification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑