按年被提到
20182018 · 2 次2026
编程语言与编译器›编译器与运行时优化·arXiv:1802.09517 · cs.CR

Memory Tagging and how it improves C/C++ memory safety

Kostya Serebryany, Evgenii Stepanov, Aleksey Shlyapnikov, Vlad Tsyrklevich, Dmitry Vyukov · 2018
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 2 人首次 2018-02-27 · 最近 2019-05-17
2不同的人
3活跃月份
3讨论串
45被引(OpenAlex)
arXiv 摘要(候选层不写导读)

Memory safety in C and C++ remains largely unresolved. A technique usually called "memory tagging" may dramatically improve the situation if implemented in hardware with reasonable overhead. This paper describes two existing implementations of memory tagging: one is the full hardware implementation in SPARC; the other is a partially hardware-assisted compiler-based tool for AArch64. We describe the basic idea, evaluate the two implementations, and explain how they improve memory safety. This paper is intended to initiate a wider discussion of memory tagging and to motivate the CPU and OS vendors to add support for it in the near future.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
评论wyldfire · 2018-12

“IIRC the ARM tagging would protect ~8 (maybe 16?) byte regions. More info on this is at [1] [2] -- note that some of this discusses a software-only approach (with likely higher performance impact). I think the majority of performance cost for HW Asan will come from the additional bits stored to memory, but it was "modest" (< 5%?). A couple of additional …”

UC Berkeley to build open-source secure enclave using RISC-V原评论 ↗
评论wyldfire · 2019-05

“> Sanitizers are a game changer, they bring C++ closer to languages like Java and Rust. This is a stretch, IMO. I suppose it is ever-so-slightly-closer. > They do not bring the safety to production, since you probably do not want to use sanitizers in production or release You're right, they're not intended for use in production -- until now! ARM dedica…”

Building better software with better tools: sanitizers vs. Valgrind原评论 ↗
被提交为 story · 1 次