paperbot · PL 论文追踪

全部论文 待读 收藏

P2 In-fat pointer: hardware-assisted tagged-pointer spatial memory safety defense with subobject granularity protection

In-fat pointer:硬件辅助的带标签指针空间内存安全防护,具有子对象粒度保护
ASPLOS Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2021匹配度 1/10 · 论文聚焦硬件辅助的 C/C++ 空间内存安全与标签指针机制,属于系统安全/体系结构方向,与用户关注的 LLM/Agent 与静态分析结合、浮点程序分析、贝叶斯程序分析等核心问题无直接交集。引用 26 inbox
Shengjie Xu, Wei Huang, David Lie
crossref: 2026-09-12

AI 速览

一句话:提出 In-fat pointer,一种硬件辅助的带标签指针机制,以子对象粒度防护 C/C++ 空间内存安全。

C/C++ 通过底层指针操作给予程序员灵活性,但也因此不是内存安全的:解引用超出对应对象合法地址范围的指针会导致空间内存安全错误乃至安全漏洞。已有防护方案难以同时具备低性能开销、与遗留代码兼容以及对所有对象和子对象的全面保护。本文提出 In-fat pointer,一种硬件辅助的带标签指针空间内存安全防御方案,并把保护粒度提升到子对象级别。摘要未给出具体实现与实验结果,但该工作的目标是在上述三个维度上弥补现有方案的不足。

问题
C/C++ 的低层指针操作易导致空间内存安全错误,例如解引用超出对象合法地址范围的指针;现有防护难以同时满足低开销、遗留代码兼容和全面对象/子对象保护。
方法
提出 In-fat pointer,利用硬件辅助的带标签指针对空间内存安全进行防护,并将保护粒度细化到子对象。
评估
摘要未报告具体评估方法与结果;其目标特性包括低性能开销、与遗留代码兼容,以及对所有对象和子对象的全面保护。
原文摘要(Abstract)

Programming languages like C and C++ are not memory-safe because they provide programmers with low-level pointer manipulation primitives. The incorrect use of these primitives can result in bugs and security vulnerabilities: for example, spatial memory safety errors can be caused by dereferencing pointers outside the legitimate address range belonging to the corresponding object. While a range of schemes to provide protection against these vulnerabilities have been proposed, they all suffer from the lack of one or more of low performance overhead, compatibility with legacy code, or comprehensive protection for all objects and subobjects.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot6138,
  title = {In-fat pointer: hardware-assisted tagged-pointer spatial memory safety defense with subobject granularity protection},
  author = {Shengjie Xu and Wei Huang and David Lie},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446761}
}