mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
This filter currently has some overlap with `CreatePathSinkCharacteristic`. We add a flag to `erroneousEndpoints` such that these known modeling errors can optionally be ignored. We turn the flag off when extracting prompt examples, to ensure the prompt contains only examples we're highly certain about. If there are errors even with this flag turned on, we return an error message in the query that extracts positive examples, to prevent us from accidentally running it when there's a codex-generated data extension file in `java/ql/lib/ext`.