mirror of
https://github.com/github/codeql.git
synced 2026-05-24 16:17:07 +02:00
We were previously doing this during extraction, i.e. for each field node we encouter, which meant we were repeating a lot of work. The `type_matches_set` function was a fairly significant hot-spot in profiling results, so this should improve performance.
Ruby analysis support for CodeQL
This directory contains the extractor, CodeQL libraries, and queries that power Ruby support in LGTM and the other CodeQL products that GitHub makes available to its customers worldwide.
It contains two major components:
- static analysis libraries and queries written in CodeQL that can be used to analyze such a database to find coding mistakes or security vulnerabilities.
- an extractor, written in Rust, that parses Ruby source code and converts it into a database that can be queried using CodeQL. See Developer information for information on building the extractor (you do not need to do this if you are only developing queries).