Modular Information Flow through Ownership

被引:3
|
作者
Crichton, Will [1 ]
Patrignani, Marco [2 ]
Agrawala, Maneesh [1 ]
Hanrahan, Pat [1 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] Univ Trento, Trento, Italy
来源
PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22) | 2022年
关键词
information flow; ownership types; rust;
D O I
10.1145/3519939.3523445
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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% of cases drawn from large Rust codebases. We illustrate the applicability of Flowistry by using it to implement prototypes of a program slicer and an information flow control system.
引用
收藏
页码:1 / 14
页数:14
相关论文
共 50 条
  • [21] Supply chain information integration based on information flow
    Wu, Q
    Fourth Wuhan International Conference on E-Business: The Internet Era & The Global Enterprise, Vols 1 and 2, 2005, : 456 - 460
  • [22] An Empirical Study on Information Flow Analysis Through Supply Chain Value Stream Mapping in an Automotive Industry
    Murali S.
    Balasubramanian M.
    Kumar R.S.
    Journal of The Institution of Engineers (India): Series C, 2023, 104 (04) : 695 - 703
  • [23] Modelling Information Flow for Collaboration
    Durugbo, Christopher
    Tiwari, Ashutosh
    Alcock, Jeffrey R.
    TECHNOLOGICAL INNOVATION FOR SUSTAINABILITY, 2011, 349 : 3 - 10
  • [24] Journal information flow in nanotechnology
    Rostislav A. Andrievski
    Svetlana V. Klyuchareva
    Journal of Nanoparticle Research, 2011, 13 : 6221 - 6230
  • [25] Information flow in social groups
    Wu, F
    Huberman, BA
    Adamic, LA
    Tyler, JR
    PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2004, 337 (1-2) : 327 - 335
  • [26] Information-flow interfaces
    Bartocci, Ezio
    Ferrere, Thomas
    Henzinger, Thomas A.
    Nickovic, Dejan
    Oliveira da Costa, Ana
    FORMAL METHODS IN SYSTEM DESIGN, 2024, : 3 - 48
  • [27] An axiomatization of information flow measures
    Alvim, Mario S.
    Chatzikokolakis, Konstantinos
    McIver, Annabelle
    Morgan, Carroll
    Palamidessi, Catuscia
    Smith, Geoffrey
    THEORETICAL COMPUTER SCIENCE, 2019, 777 : 32 - 54
  • [28] Arrows for secure information flow
    Li, Peng
    Zdancewic, Steve
    THEORETICAL COMPUTER SCIENCE, 2010, 411 (19) : 1974 - 1994
  • [29] Information Flow Monitoring System
    Han, Sang Hun
    Nasridinov, Aziz
    Ryu, Keun Ho
    IEEE ACCESS, 2018, 6 : 23820 - 23827
  • [30] Dependent Information Flow Types
    Lourenco, Luisa
    Caires, Luis
    ACM SIGPLAN NOTICES, 2015, 50 (01) : 317 - 328