Carnegie Mellon University
Browse

Monitors and Blame Assignment for Higher-Order Session Types (CMU-CyLab-15-004)

Download (571.1 kB)
journal contribution
posted on 2015-11-06, 00:00 authored by Limin JiaLimin Jia, Hannah Gommerstadt, Frank Pfenning

Session types provide a means to prescribe the communication behavior between concurrent message-passing processes. However, in a distributed setting, some processes may be written in languages that do not support static typing of sessions or may be compromised by a malicious intruder, violating invariants of the session types. In such a setting, dynamically monitoring communication between processes becomes a necessity for identifying undesirable actions. In this paper, we show how to dynamically monitor communication to enforce adherence to session types in a higher-order setting. We present a system of blame assignment in the case when the monitor detects an undesirable action and an alarm is raised. We prove that dynamic monitoring does not change system behavior for welltyped processes, and that one of an indicated set of possible culprits must have been compromised in case of an alarm.

History

Date

2015-11-06

Usage metrics

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC