arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.12434cs.PL
收藏

Fuel:一个更安全的存储管理框架

Fuel: A Compiler Framework for Safe Memory Management

Dimitri Racordon, Aurélien Coet, Didier Buchs

摘要:

流敏感类型系统提供了一种优雅的方式来确保程序设计语言中的内存安全。不幸的是,它们在新的或现有的语言中的采用往往受到实现或将它们集成到编译器中的痛苦努力的阻碍。本文介绍了我们的努力,以减轻这一任务的早期结果。我们引入了Fuel,这是一个基于类型能力的库,可以插入到编译器工具链中来检查内存安全属性。Fuel建立在基于能力的系统领域的成熟思想基础上,并添加了一种利用动态检查的机制,以恢复静态推理太困难或不可能的能力。这种方法允许分析潜在地覆盖典型类型系统可能没有足够的表达能力来静态地推理内存安全的情况。

英文摘要:

Flow-sensitive type systems offer an elegant way to ensure memory-safety in programming languages. Unfortunately, their adoption in new or existing languages is often hindered by a painful effort to implement or integrate them into compilers. This paper presents early results in our effort to alleviate this task. We introduce Fuel, a type capability-based library that can be plugged onto a compiler toolchain to check for memory-safety properties. Fuel builds upon well-established ideas in the domain of capability-based system, and adds a mechanism leveraging dynamic checks to recover capabilities where static reasoning is either too difficult or impossible. This approach allows the analysis to potentially cover situations where a typical type system might not be expressive enough to statically reason about memory safety.

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

↑