按年被提到
20232023 · 4 次2026
GWP-ASan: Sampling-Based Detection of Memory-Safety Bugs in Production
GWP-ASan:在生产环境中基于采样检测内存安全错误
Kostya Serebryany, Chris Kennelly, Mitch Phillips, Matt Denton, Marco Elver, Alexander Potapenko, Matt Morehouse, Vlad Tsyrklevich, Christian Holler, Julian Lettner, David Kilzer, Lander Brandt · 2023
用页级保护分配加低频采样,近零开销抓线上内存错误
被提及 · 5 人首次 2023-11-17 · 最近 2024-04-19
5不同的人
3活跃月份
5讨论串
13被引(OpenAlex)
论文介绍一类能在生产环境中以接近零开销检测堆释放后使用(use-after-free)和堆缓冲区溢出的工具,核心是页粒度的受保护分配加低频采样,作者称之为给一个有 36 年历史的想法加了一个“if”语句并使其能大规模运行。文中给出基本算法、若干变体和实现,以及在移动端、桌面和服务端应用上多年部署的结果。
HN 为什么提它
输入里没有保留评论摘录;只知道多位用户在数个月内提到它,大致是作为生产环境内存安全检测的实践参考。
方法难度 3 / 5约 30 分钟经得起时间
读之前最好知道
1C/C++ 内存管理
2堆分配器与虚拟内存页保护
3use-after-free 与缓冲区溢出
4AddressSanitizer 等检测工具
HN 书评
没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)讨论串里没有 ≥100 字的评论,只有提交记录。
被提交为 story · 5 次
- GWP-ASan: Sampling-Based Detection of Memory-Safety Bugs in Production ↗matt_d · 2023-11-17 · 1 分
- GWP-ASan: Sampling-Based Detection of Memory-Safety Bugs in Production ↗pjmlp · 2023-11-18 · 1 分
- GWP-ASan: Sampling-Based Detection of Memory-Safety Bugs in Production ↗EvgeniyZh · 2023-11-21 · 1 分
- GWP-ASan: Sampling-Based Detection of Memory-Safety Bugs in Production ↗reshabh · 2023-12-14 · 2 分
- GWP-ASan: Sampling-Based Detection of Memory-Safety Bugs in Production ↗todsacerdoti · 2024-04-19 · 2 分