• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (10): 99-104.

• 论文 • Previous Articles     Next Articles

A Software Runtime Verification Method Based on the 3Valued Semantics

SUI Ping1,ZHAO Changzhi1,DONG Wei1,LI Bingpeng2   

  1. (1.School of Computer Science,National University of Defense Technology,Changsha 410073;2.Shanghai Branch,Nanjing Political College,Shanghai 200433,China)
  • Received:2010-05-20 Revised:2010-10-26 Online:2011-10-25 Published:2011-10-25

Abstract:

Runtime verification complements the two traditional approaches for ensuring that a system is correct, namely model checking and testing. Unlike these approaches which try to ensure that all possible executions of the system are correct, runtime verification concentrates on the correctness of the current execution of the system. This paper presents a runtime verification method based on the 3valued semantics. One hand, this method provides a complete solution from code instrumentation and system information extraction to monitor generation and verifying requirement specification against runtime tracing. On the other hand, the monitor based on the 3valued semantics has the ability to find the smallest good (bad) prefix, so the monitor can find the violation as early as possible. Meanwhile, we have developed the prototype tool and have applied it in an example.

Key words: 3valued semantic;runtime verification;monitor