Skip to main content

Technical Reports: CMU-CyLab-15-004

Title:Monitors and Blame Assignment for Higher-Order Session Types
Authors:Limin Jia, Hannah Gommerstadt, and Frank Pfenning
Publication Date:November 6, 2015

Abstract

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.

Full Report: CMU-CyLab-15-004