Skip to content

Subhiiiiii/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

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 90.5%
  • ANTLR 7.8%
  • StringTemplate 1.2%
  • Rust 0.4%
  • Python 0.1%
  • Shell 0.0%