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

基于代理的系统的安全性强制执行

Runtime Enforcement for Component-Based Systems

Hadil Charafeddine, Khalil El-Harake, Yliès Falcone, Mohamad Jaber

摘要:

强制验证是一种越来越流行和有效的动态验证技术,旨在确保正确的运行时行为(w.r.t.正式规范)的系统。在本文中,我们介绍了运行时执行规范的基于组件的系统(CBS)建模的BIP(行为,交互和优先级)框架。BIP是一个功能强大、表达能力强的基于组件的异构系统形式化构造框架。然而,由于BIP的表现力,在设计时仍然难以实施复杂的行为属性。首先,我们为CBS提出了一个理论上的运行时执行框架,其中我们描绘了一个可执行属性集的层次结构(即,可以强制的属性)根据允许系统偏离该属性的观测步骤的数量(即,k步可重复性的概念)。为了确保初始系统和被监控系统的正确执行之间的观测等价性,我们证明了i)只有口吃不变的属性应该在CBS上使用我们的监控器强制执行,ii)安全属性是1步可执行的。给定一个抽象的强制执行监视器(作为有限状态机)的一些1步可执行的规范,我们正式仪器(在相关位置)一个给定的BIP系统集成的监视器。在运行时,监视器观察并自动避免系统w.r. t行为中的任何错误。规格。我们的方法在一个可用的工具中完全实现,我们用来i)避免在用餐哲学家基准上发生死锁,ii)确保机器人在地图上的正确位置。

英文摘要:

Runtime enforcement is an increasingly popular and effective dynamic validation technique aiming to ensure the correct runtime behavior (w.r.t. a formal specification) of systems using a so-called enforcement monitor. In this paper we introduce runtime enforcement of specifications on component-based systems (CBS) modeled in the BIP (Behavior, Interaction and Priority) framework. BIP is a powerful and expressive component-based framework for formal construction of heterogeneous systems. However, because of BIP expressiveness, it remains difficult to enforce at design-time complex behavioral properties. First we propose a theoretical runtime enforcement framework for CBS where we delineate a hierarchy of sets of enforceable properties (i.e., properties that can be enforced) according to the number of observational steps a system is allowed to deviate from the property (i.e., the notion of k-step enforceability). To ensure the observational equivalence between the correct executions of the initial system and the monitored system, we show that i) only stutter-invariant properties should be enforced on CBS with our monitors, ii) safety properties are 1-step enforceable. Given an abstract enforcement monitor (as a finite-state machine) for some 1-step enforceable specification, we formally instrument (at relevant locations) a given BIP system to integrate the monitor. At runtime, the monitor observes and automatically avoids any error in the behavior of the system w.r.t. the specification. Our approach is fully implemented in an available tool that we used to i) avoid deadlock occurrences on a dining philosophers benchmark, and ii) ensure the correct placement of robots on a map.

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

↑