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 条
  • [1] INFORMATION FLOW THROUGH U-NETS
    Lee, Suemin
    Bajic, Ivan, V
    2021 IEEE 18TH INTERNATIONAL SYMPOSIUM ON BIOMEDICAL IMAGING (ISBI), 2021, : 812 - 816
  • [2] Determining information flow through a network of simulated neurons
    Cathal J Cooney
    Eoin Lynch
    BMC Neuroscience, 13 (Suppl 1)
  • [4] A case for information ownership in ERP systems
    von Sohns, SH
    Hertenberger, MP
    SECURITY AND PROTECTION IN INFORMATION PROCESSING SYSTEMS, 2004, 147 : 135 - 149
  • [5] Information flow to dissipate an ionic fluctuation through a membrane channel
    Fornes, JA
    JOURNAL OF COLLOID AND INTERFACE SCIENCE, 1996, 177 (02) : 411 - 413
  • [6] TRADING VOLUME DYNAMICS, INFORMATION AND OWNERSHIP STRUCTURE
    Del Rio, Cristina
    Santamaria, Rafael
    REVISTA DE ECONOMIA APLICADA, 2010, 18 (52): : 121 - 149
  • [7] Flow Information Improve Information Flow of the Enterprise Management
    Qian, Geoffrey
    Chao, Marcus
    EBM 2010: INTERNATIONAL CONFERENCE ON ENGINEERING AND BUSINESS MANAGEMENT, VOLS 1-8, 2010, : 5041 - +
  • [8] Safe Open-Nested Transactions Through Ownership
    Agrawal, Kunal
    Lee, I-Ting Angelina
    Sukha, Jim
    ACM SIGPLAN NOTICES, 2009, 44 (04) : 151 - 162
  • [9] Safer Open-Nested Transactions Through Ownership
    Agrawal, Kunal
    Lee, I-Ting Angelina
    Sukha, Jim
    PPOPP'08: PROCEEDINGS OF THE 2008 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2008, : 291 - 292
  • [10] Safe Open-Nested Transactions Through Ownership
    Agrawal, Kunal
    Lee, I-Ting Angelina
    Sukha, Jim
    SPAA'08: PROCEEDINGS OF THE TWENTIETH ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2008, : 110 - 112