Modular Information Flow through Ownership

11/26/2021
by   Will Crichton, et al.
0

Statically analyzing information flow, or how data influences other data within a program, is a challenging task in imperative languages. Analyzing pointers and mutations requires access to a program's complete source. However, programs often use pre-compiled dependencies where only type signatures are available. We demonstrate that ownership types can be used to soundly and precisely analyze information flow through function calls given only their type signature. From this insight, we built Flowistry, a system for analyzing information flow in Rust, an ownership-based language. We prove the system's soundness as a form of noninterference using the Oxide formal model of Rust. Then we empirically evaluate the precision of Flowistry, showing that modular flows are identical to whole-program flows in 94 Rust codebases. We illustrate the applicability of Flowistry by using it to implement prototypes of a program slicer and an information flow control system.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/04/2017

Control Flow Information Analysis in Process Model Matching Techniques

Online Appendix to: "Analyzing Control Flow Information to Improve the E...
research
11/29/2021

Enabling Reusable Physical Design Flows with Modular Flow Generators

Achieving high code reuse in physical design flows is challenging but in...
research
07/12/2019

Augmenting Type Signatures for Program Synthesis

Effective program synthesis requires a way to minimise the number of can...
research
02/23/2011

Weighted Radial Variation for Node Feature Classification

Connections created from a node-edge matrix have been traditionally diff...
research
02/13/2020

Learning to Represent Programs with Property Signatures

We introduce the notion of property signatures, a representation for pro...
research
07/15/2019

A Relational Static Semantics for Call Graph Construction

The problem of resolving virtual method and interface calls in object-or...
research
07/26/2017

Confidentiality enforcement by hybrid control of information flows

An information owner, possessing diverse data sources, might want to off...

Please sign up or login with your details

Forgot password? Click here to reset