mirror of
https://github.com/github/codeql.git
synced 2026-05-20 14:17:11 +02:00
C++: Change security-extended to be a single query getting all files
This commit is contained in:
committed by
Calum Grant
parent
de325133c7
commit
f0919f8679
14
cpp/ql/src/QA_Query/GetFiles.ql
Normal file
14
cpp/ql/src/QA_Query/GetFiles.ql
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @name Get all files in the database
|
||||
* @description Get all files in the database
|
||||
* @kind problem
|
||||
* @id cpp/get_files
|
||||
* @problem.severity error
|
||||
* @precision very-high
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
from File f
|
||||
select f, "$@", f, f.getBaseName()
|
||||
|
||||
@@ -1,5 +1,2 @@
|
||||
- description: Security-extended queries for C and C++
|
||||
- queries: .
|
||||
- apply: security-extended-selectors.yml
|
||||
from: codeql/suite-helpers
|
||||
- apply: codeql-suites/exclude-slow-queries.yml
|
||||
- query: QA_Query/GetFiles.ql
|
||||
|
||||
Reference in New Issue
Block a user