Built-in framework support
Includes built-in support for many libraries and frameworks, such as ASP.NET, EntityFramework, Gin, GORM, and more.
CodeQL CLI
Run CodeQL queries from the command line.
Code Scanning
Enable code scanning on GitHub to run standard CodeQL queries.
Code scanning analysis
Queries are used in code scanning analyses to find problems in source code.
Database Creation
Process of extracting a relational representation from source code.
Language guides
Guides for C/C++, C#, Go, Java, JavaScript, Python, Ruby, Rust, Swift, and GitHub Actions.
Language support
Supports C/C++, C#, GitHub Actions, Go, Java/Kotlin, JavaScript/TypeScript, Python, Ruby, Rust, and Swift.
Modules
Organize QL code by grouping related types, predicates, and other modules.
Multi-language support
Supports C/C++, C#, GitHub Actions, Go, Java/Kotlin, JavaScript/TypeScript, Python, Ruby, Rust, and Swift.
Multi-Repository Variant Analysis
Run queries at scale across multiple codebases.
Name Resolution
The QL compiler resolves names to program elements.
Predicates
Describe logical relations in QL programs.
QL Language
A powerful query language for code analysis.
QL tutorials
Solve puzzles to learn the basics of QL before analyzing code with CodeQL.
Queries
Output of a QL program, evaluate to sets of results.
Query Execution
Running queries against a CodeQL database.
Query Sharing
Share queries to help others find vulnerabilities.
Query writing
Learn key query-writing skills by solving puzzles.
Recursion
Strong support for recursive predicates.
Result Interpretation
Converting query results into meaningful source code locations.
Running queries
Guide to running queries as you try out the tutorials and start to develop your own queries.
Semantic code analysis
Treats code as data to find vulnerabilities and errors.
Standard libraries
Browse the classes, predicates, and modules included in the standard CodeQL libraries in the most recent release of CodeQL.
System requirements
Details supported platforms and additional software requirements for running CodeQL.
VS Code Extension
Develop and run queries with autocomplete and syntax highlighting.
Vulnerability Detection
Find all variants of a vulnerability in codebases.