mirror of
https://github.com/github/codeql.git
synced 2026-07-21 03:08:25 +02:00
Some files that will change in #1736 have been spared. ./build -j4 target/jars/qlformat find ql/cpp/ql -name "*.ql" -print0 | xargs -0 target/jars/qlformat --input find ql/cpp/ql -name "*.qll" -print0 | xargs -0 target/jars/qlformat --input (cd ql && git checkout 'cpp/ql/src/semmle/code/cpp/ir/implementation/**/*SSA*.qll') buildutils-internal/scripts/pr-checks/sync-identical-files.py --latest
19 lines
480 B
Plaintext
19 lines
480 B
Plaintext
/**
|
|
* @name Defect from external data
|
|
* @description Insert description here...
|
|
* @kind problem
|
|
* @problem.severity warning
|
|
* @tags external-data
|
|
*/
|
|
|
|
import cpp
|
|
import external.ExternalArtifact
|
|
|
|
from ExternalData d, File u
|
|
where
|
|
d.getQueryPath() = "external-data.ql" and
|
|
u.getShortName() = d.getField(0)
|
|
select u,
|
|
d.getField(5) + ", " + d.getFieldAsDate(1) + ", " + d.getField(2) + ", " + d.getFieldAsFloat(3) +
|
|
", " + d.getFieldAsInt(4) + ": " + d.getNumFields()
|