Published May 10, 2022 | Version v1

ISSTA 22 Artifact for "Finding Bugs in Gremlin-Based Graph Database Systems via Randomized Differential Testing"

  • 1. Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences

Description

Grand is a tool for finding logic bugs in Gremlin-Based Graph Database Systems (GDBs). We refer to logic bugs as those bugs that GDBs return an unexpected result (e.g., incorrect query result or unexpected error) without crashing the GDBs for a given query.


Grand operates in the following three phases:
1. Graph database generation: The goal of this phase is to generate a populated graph database for each target GDB. Specially, Grand first randomly generates the graph schema to define the types of vertices and edges. Then, the detailed vertices and edges can be randomly generated according to the generated graph schema. Finally, the generated database will be written into target GDBs.
2. Gremlin query generation: This phase is aimed to generate syntactically correct and valid Gremlin queries. We first construct a traversal model for Gremlin APIs, and then generate Gremlin queries based on the constructed traversal model.
3. Differential Testing: Grand executes the generated Gremlin queries and validates the query results by differential testing.

Files

Grand.zip

Files (262.6 MB)

Name Size
md5:5d9d536a794eb15a60476aac4f7cc7fa
262.6 MB Preview Download