Verifying Parallel Algorithms and Programs Using Coloured Petri Nets

被引:0
作者
Westergaard, Michael [1 ]
机构
[1] Eindhoven Univ Technol, Dept Math & Comp Sci, NL-5600 MB Eindhoven, Netherlands
来源
TRANSACTIONS ON PETRI NETS AND OTHER MODELS OF CONCURRENCY VI | 2012年 / 7400卷
关键词
AD-HOC NETWORKS; PROTOCOL; VALIDATION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Coloured Petri nets have proved to be a useful formalism for modeling distributed algorithms, i.e., algorithms where nodes communicate via message passing. Here we describe an approach for automatic extraction of models of parallel algorithms and programs, i.e., algorithms and programs where processes communicate via shared memory. The models can be verified for correctness, here to prove absence of mutual exclusion violations and to find dead-and live-locks. This makes it possible to verify software using a model-extraction approach using coloured Petri nets, where a formal model is extracted from runnable code. We extract models in a manner so we can also support a model-driven development approach, where code is generated from a model, enabling a combined approach, supporting extracting a model from an abstract description and generation of correct implementation code. We illustrate our idea by applying the technique to a parallel implementation of explicit state-space exploration. Our approach builds on having a coloured Petri net model corresponding to the program and using the model to verify properties. We have already treated generation of code from coloured Petri nets, so in this paper we focus on the translation the other way around. We have an implementation of the translation from code to coloured Petri nets.
引用
收藏
页码:146 / 168
页数:23
相关论文
共 20 条
[1]  
[Anonymous], 2003, The SPIN Model Checker
[2]  
Ball T., 2002, POPL 02, P1
[3]  
Beyer D., 2007, STTT, V7, P505
[4]  
BILLINGTON J, 1985, P IFIP WG 6 1 5 INT, P59
[5]   Counterexample-guided abstraction refinement for symbolic model checking [J].
Clarke, E ;
Grumberg, O ;
Jha, S ;
Lu, Y ;
Veith, H .
JOURNAL OF THE ACM, 2003, 50 (05) :752-794
[6]  
Espensen KL, 2008, LECT NOTES COMPUT SC, V5062, P152, DOI 10.1007/978-3-540-68746-7_13
[7]  
Havelund K., 2000, International Journal on Software Tools for Technology Transfer (STTT), V2, P366
[8]  
*IEEE, IEEE1666
[9]  
Jensen K, 2009, COLOURED PETRI NETS: MODELLING AND VALIDATION OF CONCURRENT SYSTEMS, P1, DOI 10.1007/b95112
[10]  
Kristensen LM, 2010, LECT NOTES COMPUT SC, V6371, P215, DOI 10.1007/978-3-642-15898-8_14