arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.03602cs.CRcs.PL
收藏

SecRSL:C11发布-获取并发的安全分离逻辑(扩展版,带技术附录)

SecRSL: Security Separation Logic for C11 Release-Acquire Concurrency (Extended version with technical appendices)

Pengbo Yan, Toby Murray

摘要:

我们提出了安全松弛分离逻辑(SecRSL),一个用于证明具有松弛访问的释放-获取片段中的C11程序的信息流安全性的分离逻辑。SecRSL是第一个安全逻辑,它(1)支持对高级语言程序的弱内存推理;(2)继承了分离逻辑的组合,局部推理的优点;(3)表达安全策略,如值依赖分类。据我们所知,SecRSL也是第一个在公理内存模型上开发的安全逻辑。因此,我们也提出了第一个定义的信息流安全的公理弱记忆模型,对我们证明SecRSL声音。SecRSL确保程序满足恒定时间的安全保证,同时没有未定义的行为。我们应用SecRSL来实现和验证一系列并发原语的功能正确性和恒定时间安全性,包括自旋锁模块,混合灵敏度互斥体和多个同步通道实现。后者的经验性能评估表明SecRSL的权力,以支持安全和高性能的并发C程序的开发。

英文摘要:

We present Security Relaxed Separation Logic (SecRSL), a separation logic for proving information-flow security of C11 programs in the Release-Acquire fragment with relaxed accesses. SecRSL is the first security logic that (1) supports weak-memory reasoning about programs in a high-level language; (2) inherits separation logic's virtues of compositional, local reasoning about (3) expressive security policies like value-dependent classification. SecRSL is also, to our knowledge, the first security logic developed over an axiomatic memory model. Thus we also present the first definitions of information-flow security for an axiomatic weak memory model, against which we prove SecRSL sound. SecRSL ensures that programs satisfy a constant-time security guarantee, while being free of undefined behaviour. We apply SecRSL to implement and verify the functional correctness and constant-time security of a range of concurrency primitives, including a spinlock module, a mixed-sensitivity mutex, and multiple synchronous channel implementations. Empirical performance evaluations of the latter demonstrate SecRSL's power to support the development of secure and performant concurrent C programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑