arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.00758cs.LO
收藏

监控超属性

Monitoring Hyperproperties

Bernd Finkbeiner, Christopher Hahn, Marvin Stenger, Leander Tentrup

摘要:

超属性,如非干扰性和观察确定性,将多个系统执行相互关联。它们不能用标准的时态逻辑(如LTL、CTL和CTL*)来表示,因此不能用标准的运行时验证技术来监视。HyperLTL扩展了线性时间时态逻辑(LTL),在迹上显式量化,以表达Hyperproperties。我们研究了HyperLTL公式在三种不同输入模型下的运行时验证问题:(1)并行模型,其中并行处理固定数量的系统执行。(2)无限顺序模型,其中系统执行是顺序处理的,每次一个执行。在这个模型中,传入执行的数量可能会永远增长。(3)有界顺序模型,其中跟踪按顺序处理,传入执行的数量是有界的。我们证明了对于输入模型(1)和(3),决定HyperLTL公式的可监控性是PSPACE完全的。对于输入模型(2)中的无替代HyperLTL公式,判定可监控性是PSPACE完全的。对于每个输入模型,我们都提供了实用的监控算法。我们还提出了各种优化技术。通过识别规范的属性,如自反性,对称性和传递性,我们减少了跟踪之间的比较次数。对于顺序模型,我们提出了一种技术,最大限度地减少了需要存储的痕迹的数量。最后,我们提供了一个优化,简洁地表示存储的痕迹共享共同的前缀。我们评估了我们的优化,表明这会导致更可扩展的监控,特别是显着降低内存消耗。

英文摘要:

Hyperproperties, such as non-interference and observational determinism, relate multiple system executions to each other. They are not expressible in standard temporal logics, like LTL, CTL, and CTL*, and thus cannot be monitored with standard runtime verification techniques. HyperLTL extends linear-time temporal logic (LTL) with explicit quantification over traces in order to express Hyperproperties. We investigate the runtime verification problem of HyperLTL formulas for three different input models: (1) The parallel model, where a fixed number of system executions is processed in parallel. (2) The unbounded sequential model, where system executions are processed sequentially, one execution at a time. In this model, the number of incoming executions may grow forever. (3) The bounded sequential model where the traces are processed sequentially and the number of incoming executions is bounded. We show that deciding monitorability of HyperLTL formulas is PSPACE-complete for input models (1) and (3). Deciding monitorability is PSPACE-complete for alternation-free HyperLTL formulas in input model (2). For every input model, we provide practical monitoring algorithms. We also present various optimization techniques. By recognizing properties of specifications such as reflexivity, symmetry, and transitivity, we reduce the number of comparisons between traces. For the sequential models, we present a technique that minimized the number of traces that need to be stored. Finally, we provide an optimization that succinctly represents the stored traces by sharing common prefixes. We evaluate our optimizations, showing that this leads to much more scalable monitoring, in particular, significantly lower memory consumption.

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

↑