计算机科学 > 程序设计语言
[提交于 2020年2月18日 (v1),最后修订于 2026年8月8日 (此版本, v2)]
标题:ConSORT: Context- and Flow-Sensitive Ownership Refinement Types for Imperative Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present ConSORT, a type system for safety verification in the presence of mutability and aliasing. Mutability requires strong updates to model changing invariants during program execution, but aliasing between pointers makes it difficult to determine which invariants must be updated in response to mutation. Our type system addresses this difficulty with a novel combination of refinement types and fractional ownership types. Fractional ownership types provide flow-sensitive and precise aliasing information for reference variables. ConSORT interprets this ownership information to soundly handle strong updates of potentially aliased references. We have proved ConSORT sound and implemented a prototype, fully automated inference tool. We evaluated our tool and found it verifies non-trivial programs including data structure implementations.
提交历史
来自:Atsushi Igarashi[v1] 2020年2月18日 星期二 18:01:25 UTC (116 KB)
[v2] 2026年8月8日 星期六 08:28:19 UTC (112 KB)