Assume-Guarantee Algorithms for Automatic Detection of Software Failures

  • Authors:
  • Mohammad Zulkernine;Rudolph E. Seviora

  • Affiliations:
  • -;-

  • Venue:
  • IFM '02 Proceedings of the Third International Conference on Integrated Formal Methods
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents an approach based on assume-guarantee style reasoning for automatic detection of software failures. Reasoning about failures requires knowing the expected behavior. The paper considers the case when the requirement specification of the behavior of the target system is available, and expressed in a formalism based on communicating finite state machines. The failure detector observes the external inputs and outputs, and receives partial information about the internal state of the target system. Using this information, it interprets the specification, and determines whether a failure has occurred. A key issue in the interpretation of the specification is the efficiency of handling of inherent nondeterminism present in the specification. The paper describes, in a step by step manner, a compositional approach for online failure detection which reduces the computational costs of dealing with non-determinism. The details of the algorithms required in each of the steps are provided. To evaluate the algorithms described, a prototype failure detector was used to detect failures of the control program of a small telephone exchange. We present some of the results obtained.