arrow
返回

Interface grammars for modular software model checking

delete2008-09-01
delete9
delete
OA
AI
G
Graham Hughes *
Tevfik Bultan 封面图
Tevfik Bultan (Tevfik Bultan)
DOI:10.1109/TSE.2008.72delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Verification techniques that rely on state enumeration (such as model checking) face two important challenges: 1) state space explosion: exponential increase in the state space with the increasing number of components and 2) environment generation: modeling components that are either not available for analysis or that are outside the scope of the verification tool at hand. We propose a semiautomated approach for attacking these two problems. In our approach, interfaces for the components that are outside the scope of the current verification effort are specified using an interface specification language based on grammars. Specifically, an interface grammar for a component specifies the sequences of method invocations that are allowed by that component. Using interface grammars, one can specify nested call sequences that cannot be specified using interface specification formalisms that rely on finite state machines. Moreover, our interface grammars allow specification of semantic predicates and actions, which are Java code segments that can be used to express additional interface constraints. We have built an interface compiler that takes the interface grammar for a component as input and generates a stub for that component. The resulting stub is a table-driven parser. Invocation of a method within the component becomes the look-ahead symbol for the stub/parser. The stub/parser uses a parser stack, the look-ahead, and a parse table to guide the parsing. The semantic predicates and semantic actions that appear on the right-hand side of the production rules are executed when they appear at the top of the stack. The stub/parser generated from the interface grammar of a component can be used to replace that component during state space exploration, either to assuage the state space explosion or to provide an executable environment for the component that is being verified. We conducted a case study by writing an interface grammar for the Enterprise JavaBeans (EJB) persistence interface. Using our interface compiler, we automatically generated an EJB stub using the EJB interface grammar. We used the JPF model checker to check EJB clients using this automatically generated EJB stub. Our results show that EJB clients can be verified efficiently with JPF using our approach, whereas they cannot be verified with JPF directly since JPF cannot handle EJB components.
Keyword:
specification languages
model checking
interface grammars
modular verification
Modular Software Model Checking for Distributed Systems
err2014-05-01
err20
errOAAI
errLeungwattanakit, Watcharin; Artho, Cyrille; Hagiya, Masami; Tanabe, Yoshinori; Yamamoto, Mitsuharu; Takahashi, Koichi
err分享
err收藏
Software Model Checking
err2009-10-09
err266
PREAI
errJhala, Ranjit; Majumdar, Rupak
err分享
err收藏
err分享
err收藏
Model checking large software specifications
err1998-07-01
err118
errOAAI
errChan, W; Anderson, RJ; Beame, P; Burns, S; Modugno, F; Notkin, D; Reese, JD
err分享
err收藏
Model-checking for adventure videogames冒险视频游戏的模型检查
err2009-03-01
err17
PREAI
errMoreno-Ger, Pablo; Fuentes-Fernandez, Ruben; Sierra-Rodriguez, Jose-Luis; Fernandez-Manjon, Baltasar
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

University of California System 封面图
University of California System
学者数:
37.7W
论文数: 33.8W
被引数: 55.6W
引用论文

引用论文

Association between Pre-Existing Sleep Disorders and Survival Rates of Patients with Breast Cancer
err2022-02-04
err0
errOAAI
errYen-Chang Chen; Wan-Ming Chen; Ming-Feng Chiang; Ben-Chang Shia; Szu-Yuan Wu
err分享
err收藏
err分享
err收藏
Counselling adults who experience a first seizure
err2017-07-01
err0
errOAAI
errKaren T. Legg; Mark Newton
err分享
err收藏
学者 查看更多内容