Checking safety properties using compositional reachability analysis

被引:41
作者
Cheung, SC
Kramer, J
机构
[1] Hong Kong Univ Sci & Technol, Dept Comp Sci, Hong Kong, Peoples R China
[2] Univ London Imperial Coll Sci Technol & Med, Dept Comp, London SW7 2BZ, England
关键词
design; theory; verification; compositional reachability analysis; distributed systems; model checking; safety properties; static analysis;
D O I
10.1145/295558.295570
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The software architecture of a distributed program can be represented by a hierarchical composition of subsystems, with interacting processes at the leaves of the hierarchy. Compositional reachability analysis (CRA) is a promising state reduction technique which can be automated and used in stages to derive the overall behavior of a distributed program based on its architecture. CRA is particularly suitable for the analysis of programs that are subject to evolutionary change. When a program evolves, only the behaviors of those subsystems affected by the change need be reevaluated. The technique however has a limitation. The properties available for analysis are constrained by the set of actions that remain globally observable. Properties involving actions encapsulated by subsystems may therefore not be analyzed. In this article, we enhance the CRA technique to check safety properties which may contain actions that are not globally observable. To achieve this, the state machine model is augmented with a special trap state labeled as pi. We propose a scheme to transform, in stages, a property that involves hidden actions to one that involves only globally observable actions. The enhanced technique also includes a mechanism aiming at reducing the debugging effort. The technique is illustrated using a gas station system example.
引用
收藏
页码:49 / 78
页数:30
相关论文
共 59 条
[1]   DEFINING LIVENESS [J].
ALPERN, B ;
SCHNEIDER, FB .
INFORMATION PROCESSING LETTERS, 1985, 21 (04) :181-185
[2]  
ANDERSON RJ, 1996, P 4 ACM SIGSOFT S FD, P156
[3]  
[Anonymous], 1995, LNCS
[4]   AUTOMATED-ANALYSIS OF CONCURRENT SYSTEMS WITH THE CONSTRAINED EXPRESSION TOOLSET [J].
AVRUNIN, GS ;
BUY, UA ;
CORBETT, JC ;
DILLON, LK ;
WILEDEN, JC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (11) :1204-1222
[5]  
BHARADWAJ R, 1997, NRLMR5540977999 INF
[6]  
BROY M, 1993, KORREKTE SOFTWARE DU
[7]  
CHEUNG KH, 1998, P 1 ACM SIGSOFT INT
[8]   Checking subsystem safety properties in compositional reachability analysis [J].
Cheung, SC ;
Kramer, J .
PROCEEDINGS OF THE 18TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1996, :144-154
[9]  
CHEUNG SC, 1994, IEEE T SOFTWARE ENG, V20, P579, DOI 10.1109/32.310668
[10]  
CHEUNG SC, 1997, P 6 EUR SOFTW ENG C, P227