Skip to content

albertZhangTJ/sqlancer-lancerfuzz

 
 

Repository files navigation

SQLancer-SGL

SQLancer logo

This repository contains a flavor of SQLancer with grammar-based fuzzing capabilities, enabled by SQL Generation Language(SGL).

SQLancer (Synthesized Query Lancer) is a tool to automatically test Database Management Systems (DBMS) in order to find logic bugs in their implementation. We refer to logic bugs as those bugs that cause the DBMS to fetch an incorrect result set (e.g., by omitting a record). For full SQLancer documentation, see here.

SQL Generation Language (SGL, previously LancerFuzz) is a metasyntax language designed to effectively and efficiently specify SQL dialects for fuzzing purposes. SGL has an EBNF-like design based on ANTLR. Beyond typical context-free grammar features, SGL has a variable system for maintaining context for test case generation. SGL also features a predicate system on the grammar level to enforce semantic constraints in the target languages. For full SGL documentation, see here.

Quick Start

TODO

About

SQLancer, with grammar-based fuzzing capability

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 91.3%
  • ANTLR 7.3%
  • Smalltalk 1.0%
  • Rust 0.3%
  • Python 0.1%
  • Shell 0.0%