Testing noninterference, quickly
Artikel i vetenskaplig tidskrift, 2013

Information-flow control mechanisms are difficult to design and labor intensive to prove correct. To reduce the time wasted on proof attempts doomed to fail due to broken definitions, we advocate modern random testing techniques for finding counterexamples during the design process. We show how to use QuickCheck, a property-based random-testing tool, to guide the design of a simple information-flow abstract machine. We find that both sophisticated strategies for generating well-distributed random programs and readily falsifiable formulations of noninterference properties are critically important. We propose several approaches and evaluate their effectiveness on a collection of injected bugs of varying subtlety. We also present an effective technique for shrinking large counterexamples to minimal, easily comprehensible ones. Taken together, our best methods enable us to quickly and automatically generate simple counterexamples for all these bugs.

Författare

C. Hritcu

University of Pennsylvania

John Hughes

Chalmers, Data- och informationsteknik, Programvaruteknik

Benjamin C. Pierce

University of Pennsylvania

A. Spector-Zabusky

University of Pennsylvania

D. Vytiniotis

Microsoft Research

A.A.D. Amorim

University of Pennsylvania

L. Lampropoulos

University of Pennsylvania

ACM SIGPLAN Notices

1523-2867 (ISSN)

Vol. 48 9 455-468

Ämneskategorier

Programvaruteknik

Mer information

Senast uppdaterat

2018-09-06