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

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

计算机科学 > 数据库

arXiv:2312.04941 (cs)
[提交于 2023年12月11日]

标题:Detecting DBMS Bugs with Context-Sensitive Instantiation and Multi-Plan Execution

作者:Jiaqi Li, Ke Wang, Yaoguang Chen, Yajin Zhou, Lei Wu, Jiashui Wang
查看论文《Detecting DBMS Bugs with Context-Sensitive Instantiation and Multi-Plan Execution》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:DBMS bugs can cause serious consequences, posing severe security and privacy concerns. This paper works towards the detection of memory bugs and logic bugs in DBMSs, and aims to solve the two innate challenges, including how to generate semantically correct SQL queries in a test case, and how to propose effective oracles to capture logic bugs. To this end, our system proposes two key techniques. The first key technique is called context-sensitive instantiation, which considers all static semantic requirements (including but not limited to the identifier type used by existing systems) to generate semantically valid SQL queries. The second key technique is called multi-plan execution, which can effectively capture logic bugs. Given a test case, multi-plan execution makes the DBMS execute all query plans instead of the default optimal one, and compares the results. A logic bug is detected if a difference is found among the execution results of the executed query plans. We have implemented a prototype system called Kangaroo and applied it to three widely used and well-tested DBMSs, including SQLite, PostgreSQL, and MySQL. Our system successfully detected 50 new bugs. The comparison between our system with the state-of-the-art systems shows that our system outperforms them in terms of the number of generated semantically valid SQL queries, the explored code paths during testing, and the detected bugs.
主题: 数据库 (cs.DB); 密码学与安全 (cs.CR)
引用方式: arXiv:2312.04941 [cs.DB]
  (或者 arXiv:2312.04941v1 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2312.04941

提交历史

来自:Jiaqi Li
[v1] 2023年12月11日 星期一 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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