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

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

计算机科学 > 形式语言与自动机理论

arXiv:2410.23764 (cs)
[提交于 2024年10月31日]

标题:Static Analysis Framework for Detecting Use-After-Free Bugs in C++

作者:Vlad-Alexandru Teodorescu, Dorel Lucanu
查看论文《Static Analysis Framework for Detecting Use-After-Free Bugs in C++》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Pointers are a powerful, but dangerous feature provided by the C and C++ programming languages, and incorrect use of pointers is a common source of bugs and security vulnerabilities. Making secure software is crucial, as vulnerabilities exploited by malicious actors not only lead to monetary losses, but possibly loss of human lives. Fixing these vulnerabilities is costly if they are found at the end of development, and the cost will be even higher if found after deployment. That is why it is desirable to find the bugs as early in the development process as possible. We propose a framework that can statically find use-after-free bugs at compile-time and report the errors to the users. It works by tracking the lifetime of objects and memory locations pointers might point to and, using this information, a possibly invalid dereferencing of a pointer can be detected. The framework was tested on over 100 handwritten small tests, as well as 5 real-world projects, and has shown good results detecting errors, while at the same time highlighting some scenarios where false positive reports may occur. Based on the results, it was concluded that our framework achieved its goals, as it is able to detect multiple patterns of use-after-free bugs, and correctly report the errors to the programmer.
评论: In Proceedings FROM 2024, arXiv:2410.23020
主题: 形式语言与自动机理论 (cs.FL)
引用方式: arXiv:2410.23764 [cs.FL]
  (或者 arXiv:2410.23764v1 [cs.FL] 对于此版本)
  https://doi.org/10.48550/arXiv.2410.23764
期刊参考: EPTCS 410, 2024, pp. 99-115
相关 DOI: https://doi.org/10.4204/EPTCS.410.7

提交历史

来自:EPTCS
[v1] 2024年10月31日 星期四 09:27:38 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.FL
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-10
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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