Metamorphic testing of Datalog engines
Muhammad Numair Mansur, Maria Christakis, Valentin Wüstholz
摘要
Datalog is a popular query language with applications in several domains. Like any complex piece of software, Datalog engines may contain bugs. The most critical ones manifest as incorrect results when evaluating queries-we refer to these as query bugs. Given the wide applicability of the language, query bugs may have detrimental consequences, for instance, by compromising the soundness of a program analysis that is implemented and formalized in Datalog. In this paper, we present the first metamorphic-testing approach for detecting query bugs in Datalog engines. We ran our tool on three mature engines and found 13 previously unknown query bugs, some of which are deep and revealed critical semantic issues.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Detecting Logic Bugs in Graph Database Management Systems via Injective and Surjective Graph Query Transformation 引用了 Finding bugs in database systems via query partitioning
- Detecting Logic Bugs in Graph Database Management Systems via Injective and Surjective Graph Query Transformation 引用了 Finding bugs in Gremlin-based graph database systems via Randomized differential testing
- Detecting Logic Bugs in Graph Database Management Systems via Injective and Surjective Graph Query Transformation 引用了 Testing Database Engines via Pivoted Query Synthesis
- Fuzz4All: Universal Fuzzing with Large Language Models 引用了 Random testing for C and C++ compilers with YARPGen
- Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Securify: Practical Security Analysis of Smart Contracts
- Finding bugs in database systems via query partitioning 引用了 Testing Database Engines via Pivoted Query Synthesis
- Dependency-Aware Metamorphic Testing of Datalog Engines 引用了 Ethainter: a smart contract security analyzer for composite vulnerabilities
- Dependency-Aware Metamorphic Testing of Datalog Engines 引用了 Finding bugs in database systems via query partitioning
- Dependency-Aware Metamorphic Testing of Datalog Engines 引用了 Random testing for C and C++ compilers with YARPGen
- Dependency-Aware Metamorphic Testing of Datalog Engines 引用了 Securify: Practical Security Analysis of Smart Contracts
- Finding bugs in Gremlin-based graph database systems via Randomized differential testing 引用了 Finding bugs in database systems via query partitioning
- Finding bugs in Gremlin-based graph database systems via Randomized differential testing 引用了 Testing Database Engines via Pivoted Query Synthesis
引用它的顶会 Paper20
- Fuzz4All: Universal Fuzzing with Large Language ModelsChunqiu Steven Xia, Matteo Paltenghi, Jia Le Tian, Michael Pradel 等ICSE 2024 · 155 次引用
- Finding bugs in Gremlin-based graph database systems via Randomized differential testingYingying Zheng, Wensheng Dou, Yicheng Wang, Zheng Qin 等ISSTA 2022 · 36 次引用
- Automated testing of image captioning systemsBoxi Yu, Zhiqing Zhong, Xinran Qin, Jiayi Yao 等ISSTA 2022 · 24 次引用
- Detecting Logic Bugs in Graph Database Management Systems via Injective and Surjective Graph Query TransformationYuancheng Jiang, Jiahao Liu, Jinsheng Ba, Roland H. C. Yap 等ICSE 2024 · 14 次引用
- Dependency-Aware Metamorphic Testing of Datalog EnginesMuhammad Numair Mansur, Valentin Wüstholz, Maria ChristakisISSTA 2023 · 10 次引用
它引用的 Paper12
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
- Ethainter: a smart contract security analyzer for composite vulnerabilitiesLexi Brent, Neville Grech, Sifis Lagouvardos, Bernhard Scholz 等PLDI 2020 · 163 次引用
- Testing Database Engines via Pivoted Query SynthesisManuel Rigger, Zhendong SuOSDI 2020 · 150 次引用
- Random testing for C and C++ compilers with YARPGenVsevolod Livinskii, Dmitry Babokin, John RegehrOOPSLA 2020 · 140 次引用
- Finding bugs in database systems via query partitioningManuel Rigger, Zhendong SuOOPSLA 2020 · 116 次引用
相关 Paper
- Finding Cross-Rule Optimization Bugs in Datalog EnginesChi Zhang, Linzhang Wang, Manuel RiggerOOPSLA 2024 · 2 次引用
- ValScope: Value-Semantics-Aware Metamorphic Testing for Detecting Logical Bugs in DBMSsLi Lin, Liehang Chen, Rongxin WuOSDI 2026
- Interrogation Testing of Program Analyzers for Soundness and Precision IssuesDavid Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria ChristakisASE 2024 · 2 次引用
- Dinkel: State-Aware and Granular Framework for Validating Graph DatabasesCeline Wüst, Zu-Ming Jiang, Zhendong SuVLDB 2026
- Automated Debugging of Datalog ProgramsJiashen Wei, Baoyuan Luo, Runshuo Xie, Yun Qi 等OOPSLA 2026
