DeepAI AI Chat
Log In Sign Up

A Hoare Logic with Regular Behavioral Specifications

05/13/2022
by   Gidon Ernst, et al.
Universität München
Universität Augsburg
The University of Melbourne
0

We present a Hoare logic that extends program specifications with regular expressions that capture behaviors in terms of sequences of events that arise during the execution. The idea is similar to session types or process-like behavioral contracts, two currently popular research directions. The approach presented here strikes a particular balance between expressiveness and proof automation, notably, it can capture interesting sequential behavior across multiple iterations of loops. The approach is modular and integrates well with autoactive deductive verification tools. We describe and demonstrate our prototype implementation in SecC using two case studies: A matcher for E-Mail addresses and a specification of the game steps in the VerifyThis Casino challenge.

READ FULL TEXT

page 1

page 2

page 3

page 4

04/30/2019

Behavioral Program Logic and LAGC Semantics without Continuations (Technical Report)

We present Behavioral Program Logic (BPL), a dynamic logic for trace pro...
02/19/2021

Crowbar: Behavioral Symbolic Execution for Deductive Verification of Active Objects

We present the Crowbar tool, a deductive verification system for the ABS...
09/24/2021

Mining Shape Expressions with ShapeIt

We present ShapeIt, a tool for mining specifications of cyber-physical s...
10/05/2021

Deductive Verification of Programs with Underspecified Semantics by Model Extraction

We present a novel and well automatable approach to formal verification ...
01/19/2022

Code Sophistication: From Code Recommendation to Logic Recommendation

A typical approach to programming is to first code the main execution sc...
08/21/2020

Describing Console I/O Behavior for Testing Student Submissions in Haskell

We present a small, formal language for specifying the behavior of simpl...
11/10/2020

Computational Design and Fabrication of Corrugated Mechanisms from Behavioral Specifications

Orthogonally assembled double-layered corrugated (OADLC) mechanisms are ...