CodeQL library for C/C++
codeql/cpp-all 4.0.1 (changelog, source)
Search

Module AlertFiltering

Provides the restrictAlertsTo extensible predicate to restrict alerts to specific source locations, and the AlertFilteringImpl parameterized module to apply the filtering.

Import path

import codeql.util.AlertFiltering

Predicates

restrictAlertsTo

Holds if the query should produce alerts that match the given line ranges.

restrictAlertsToExactLocation

Holds if the query should produce alerts that match the given locations.

Modules

AlertFilteringImpl

Module for applying alert location filtering.