Correctly slicing extended finite state machines

Amtoft, Torben, Androutsopoulos, Kelly ORCID: and Clark, David (2020) Correctly slicing extended finite state machines. In: From lambda calculus to cybersecurity through program analysis - essays dedicated to Chris Hankin on the occasion of his retirement. Di Pierro, Alessandra, Malacaria, Pasquale and Nagarajan, Rajagopal ORCID:, eds. Theoretical Computer Science and General Issues (12065) . Springer International Publishing, Switzerland, pp. 149-197. pbk-ISBN 9783030411022, e-ISBN 9783030411039. [Book Section] (doi:10.1007/978-3-030-41103-9_6)


We consider slicing extended finite state machines. Extended finite state machines (EFSMs) combine a finite state machine with a store and can model a range of computational phenomena, from high-level software to cyber-physical systems. EFSMs are essentially interactive, possibly non-terminating or with multiple exit states and may be nondeterministic, so standard techniques for slicing, developed for control flow graphs of programs with a functional semantics, are not immediately applicable.

This paper addresses the various aspects of correctness for slicing of EFSMs, and provides syntactic criteria that we prove are sufficient for our proposed notions of semantic correctness. The syntactic criteria are based on the ``weak commitment" and ``strong commitment" properties highlighted by Danicic et alia. We provide polynomial-time algorithms to compute the least sets satisfying each of these two properties. We have conducted experiments using widely-studied benchmark and industrial EFSMs that compare our slicing algorithms with those using existing definitions of control dependence.

We found that our algorithms produce the smallest average slices sizes, 21% of the original EFSMs when ``weak commitment'' is sufficient and 58% when ``strong commitment'' is needed (to preserve termination properties).

Item Type: Book Section
Additional Information: Part of the Lecture Notes in Computer Science book series (LNCS, volume 12065), also part of the Theoretical Computer Science and General Issues book sub series (LNTCS, volume 12065).
Keywords (uncontrolled): Optimization
Research Areas: A. > School of Science and Technology > Computer Science
Item ID: 30342
Useful Links:
Depositing User: Kelly Androutsopoulos
Date Deposited: 09 Jun 2020 12:30
Last Modified: 11 Jun 2020 15:14

Actions (login required)

View Item View Item


Activity Overview

Additional statistics are available via IRStats2.