跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2302.01811 (cs)
[提交于 2023年2月6日]

标题:CheckedCBox: Type Directed Program Partitioning with Checked C for Incremental Spatial Memory Safety

作者:Liyi Li, Arunkumar Bhattar, Le Chang, Mingwei Zhu, Aravind Machiry
查看论文《CheckedCBox: Type Directed Program Partitioning with Checked C for Incremental Spatial Memory Safety》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Spatial memory safety violation is still a major issue for C programs. Checked-C is a safe dialect of C and extends it with Checked pointer types and annotations that guarantee spatial memory safety in a backward-compatible manner, allowing the mix of checked pointers and regular (unchecked) pointer types. However, unchecked code vulnerabilities can violate the checked code's spatial safety guarantees. We present CheckedCBox, which adds a flexible, type-directed program partitioning mechanism to Checked-C, by enhancing the Checked-C type system with tainted types that enable flexible partitioning of the program into checked and unchecked regions, in a manner such that unchecked region code does not affect the spatial safety in the checked region. We formalize our type system and prove the non-crashing and non-exposure properties of a well-typed CheckedCBox program. We implemented CheckedCBox in a configurable manner, which enables us to use existing sandbox mechanisms (eg WebAssembly) to execute programs. Consequently, in doing so, CheckedCBox has prevented four known vulnerabilities by efficiently partitioning the program.
评论: Liyi Li and Arunkumar Bhattar contributed equally to this work
主题: 密码学与安全 (cs.CR); 程序设计语言 (cs.PL)
引用方式: arXiv:2302.01811 [cs.CR]
  (或者 arXiv:2302.01811v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2302.01811

提交历史

来自:Arunkumar Bhattar
[v1] 2023年2月6日 星期一 00:00:00 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-02
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站