mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
Synthetic nodes created by desugaring rules now inherit the source range of the original matched node. This fixes invalid TRAP locations (previously (0,0)-(0,0)) for desugared nodes. - Node gains a source_range field used as fallback for position/byte methods when content is not a Range - BuildCtx stores the matched node's range and passes it to all created nodes - Rule::try_rule extracts the source range from the matched node and passes it through the transform closure Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CodeQL Shared Libraries
This folder contains shared, language-agnostic CodeQL libraries.
Libraries are organized into separate query packs, in order to allow for
individual versioning. For example, the shared static single assignment (SSA)
library exists in the codeql/ssa pack, which can be referenced by adding
dependencies:
codeql/ssa: 0.0.1
to qlpack.yml.
All shared libraries will belong to a codeql/<name> pack, and live in the
namespace codeql.<name>.