CodeQL for Ruby¶
Experiment and learn how to write effective and efficient queries for CodeQL databases generated from Ruby codebases.
- Basic query for Ruby code: Learn to write and run a simple CodeQL query.
- CodeQL library for Ruby: When you’re analyzing a Ruby program, you can make use of the large collection of classes in the CodeQL library for Ruby.
- Analyzing data flow in Ruby: You can use CodeQL to track the flow of data through a Ruby program to places where the data is used.
- Using API graphs in Ruby: API graphs are a uniform interface for referring to functions, classes, and methods defined in external libraries.
- Abstract syntax tree classes for working with Ruby programs: CodeQL has a large selection of classes for representing the abstract syntax tree of Ruby programs.
- Customizing library models for Ruby: You can model frameworks and libraries that your codebase depends on using data extensions and publish them as CodeQL model packs.