CodeQL documentation

CodeQL query help

View the query help for the queries included in the default, security-extended, and security-and-quality query suites for the languages supported by CodeQL.

Note

CodeQL analysis for Kotlin is currently in beta. During the beta, analysis of Kotlin code, and the accompanying documentation, will not be as comprehensive as for other languages.

Note

CodeQL analysis for Swift is currently in beta. During the beta, analysis of Swift code, and the accompanying documentation, will not be as comprehensive as for other languages.

Information

Each query help article includes:

  • A summary of key metadata for the query.

  • Information about which query suites the query is included in.

  • A link to the query in the CodeQL repository.

  • A description of the potential vulnerability that the query identifies and a recommendation for how to avoid introducing the problem to your code.

For a full list of the CWEs covered by these queries, see “CodeQL CWE coverage.”

  • © GitHub, Inc.
  • Terms
  • Privacy