File tree
2,754 files changed
+249849
-21272
lines changed- .github/workflows
- actions
- extractor/tools
- ql
- integration-tests
- filters
- src
- .github
- actions/action-name
- workflows
- excluded
- included
- filters-default
- query-suite
- lib
- change-notes/released
- codeql/actions
- ext/config
- src
- Models
- Security
- CWE-077
- CWE-275
- CWE-312
- change-notes
- released
- codeql-suites
- test/query-tests/Security/CWE-275
- .github/workflows
- cpp
- downgrades
- 0f0a390468a5eb43d1dc72937c028070b106bf53
- 2e2d805ef93d060b813403cb9b51dc72455a4c68
- 59cb96ca699929b63941e81905f9b8de7eed59a6
- 9a7c3c14c1076f64b871719117a558733d987b48
- misc
- ql
- integration-tests
- header-variant-tests
- clang-pch
- microsoft-pch
- query-suite
- lib
- change-notes
- released
- experimental/quantum
- OpenSSL
- AlgorithmInstances
- AlgorithmValueConsumers
- Operations
- ext
- generated
- openssl
- sqlite
- semmle/code/cpp
- dataflow
- internal
- exprs
- ir
- dataflow/internal
- implementation
- aliased_ssa
- internal
- raw
- internal
- unaliased_ssa
- internal
- internal
- rangeanalysis/new/internal/semantic
- analysis
- security
- upgrades
- 0f0a390468a5eb43d1dc72937c028070b106bf53
- 2e2d805ef93d060b813403cb9b51dc72455a4c68
- e594389175c098d7225683d0fd8cefcc47d84bc1
- utils/test/dataflow
- src
- Likely Bugs
- Arithmetic
- Conversion
- Format
- Memory Management
- Underspecified Functions
- Security/CWE
- CWE-014
- CWE-020
- CWE-190
- CWE-468
- change-notes
- released
- codeql-suites
- experimental
- Security/CWE/CWE-020
- quantum
- utils/modelgenerator
- internal
- test
- examples/expressions
- experimental
- library-tests/quantum/openssl
- stubs
- openssl
- header-variant-tests
- clang-pch
- microsoft-pch
- library-tests
- comments/binding
- dataflow
- asExpr
- dataflow-tests
- external-models
- fields
- modelgenerator/dataflow
- models-as-data
- taint-tests
- declstmt
- enums/typedefs
- exprs/min_max
- funcdname
- ir
- ir
- no-function-calls
- range-analysis
- structs/compatible_c
- syntax-zoo
- templates/nontype_instantiations/general
- vector_types
- query-tests
- Likely Bugs/Conversion/CastArrayPointerArithmetic
- Security/CWE
- CWE-134/semmle/consts
- CWE-319/UseOfHttp
- CWE-416/semmle/tests/UseAfterFree
- csharp
- autobuilder
- Semmle.Autobuild.CSharp
- Semmle.Autobuild.CSharp.Tests
- Semmle.Autobuild.Cpp.Tests
- documentation/library-coverage
- extractor
- Semmle.Extraction.CSharp.DependencyFetching
- Semmle.Util
- ql
- campaigns/Solorigate
- lib
- change-notes/released
- src
- change-notes/released
- integration-tests
- all-platforms
- binlog
- binlog_multiple
- blazor_build_mode_none
- BlazorTest
- diag_missing_project_files
- standalone
- standalone_buildless_option
- standalone_failed
- standalone_resx
- standalone_winforms
- posix
- query-suite
- standalone_dependencies_nuget_config_error
- standalone_dependencies_nuget_config_error_timeout
- standalone_dependencies_nuget_config_fallback
- lib
- change-notes
- released
- ext/generated
- semmle/code/csharp
- commons
- controlflow/internal
- dataflow
- internal
- rangeanalysis
- frameworks
- system
- collections
- security/auth
- src
- API Abuse
- Bad Practices/Control-Flow
- Configuration
- Dead Code
- Language Abuse
- Likely Bugs
- Collections
- Performance
- Security Features
- CWE-011
- CWE-016
- CWE-020
- CWE-134
- CWE-248
- CWE-798
- Useless code
- change-notes
- released
- codeql-suites
- utils/modelgenerator
- debug
- internal
- test
- experimental/CWE-918
- library-tests
- controlflow/graph
- dataflow
- flowsources/remote
- global
- library
- frameworks/format
- query-tests
- API Abuse/FormatInvalid
- Language Abuse/MissedReadonlyOpportunity
- Likely Bugs/HashedButNoHash
- Security Features
- CWE-117
- CWE-134
- CWE-285/MissingAccessControl
- MVCTests
- WebFormsTests
- CWE-601/UrlRedirect
- CWE-611
- CWE-639/WebFormsTests
- resources/stubs
- utils/modelgenerator/dataflow
- scripts/stubs
- docs/codeql
- codeql-language-guides
- codeql-overview/codeql-changelog
- ql-language-reference
- reusables
- go
- documentation/library-coverage
- extractor
- cli/go-autobuilder
- diagnostics
- project
- toolchain
- trap
- util
- ql
- consistency-queries
- change-notes/released
- integration-tests
- diagnostics/invalid-toolchain-version
- src
- go-version-bump
- query-suite
- resolve-build-environment/newer-go-needed
- lib
- change-notes
- released
- ext
- semmle/go/controlflow
- src
- InconsistentCode
- RedundantCode
- Security
- CWE-020
- CWE-798
- change-notes
- released
- codeql-suites
- experimental
- CWE-090
- CWE-74
- CWE-79
- test
- library-tests/semmle/go
- Function
- IR
- frameworks/SQL/bigquery
- vendor
- cloud.google.com/go/bigquery
- query-tests/definitions
- java
- kotlin-extractor
- deps
- dev
- src/main/kotlin
- comments
- utils
- versions
- v_1_5_0
- v_1_9_0-Beta
- v_2_0_0-RC1
- v_2_2_0-Beta1
- ql
- integration-tests
- java/query-suite
- kotlin
- all-platforms
- diagnostics/kotlin-version-too-new
- gradle_groovy_app/app
- private_property_accessors
- linux/custom_plugin/plugin
- lib
- change-notes
- released
- experimental/quantum
- semmle/code/java
- controlflow
- internal
- dataflow
- internal
- rangeanalysis
- frameworks/spring
- security
- src
- Language Abuse
- Likely Bugs
- Arithmetic
- Collections
- Comparison
- Concurrency
- Frameworks/JUnit
- Likely Typos
- Resource Leaks
- Performance
- Security/CWE
- CWE-020
- CWE-113
- CWE-798
- Violations of Best Practice
- Dead Code
- Declarations
- Undesirable Calls
- change-notes
- released
- codeql-suites
- experimental/quantum
- Analysis
- Examples
- InventorySlices
- meta/ssa
- utils/modelgenerator
- debug
- internal
- test
- library-tests
- controlflow
- basic
- dominance
- frameworks/spring/controller
- query-tests
- DoNotCallFinalize
- Likely Bugs/Frameworks/JUnit
- StringReplaceAllWithNonRegex
- stubs/junit-jupiter-api-5.2.0/org/junit/jupiter
- api
- params
- provider
- utils/modelgenerator/dataflow
- p
- test-kotlin1/library-tests/controlflow
- basic
- dominance
- test-kotlin2/library-tests
- annotation_classes
- annotations/jvmName
- arrays
- classes
- comments
- controlflow
- basic
- dominance
- exprs
- exprs_typeaccess
- generic-instance-methods
- generic-selective-extraction
- internal-public-alias
- jvmstatic-annotation
- methods
- modifiers
- numlines
- private-anonymous-types
- properties
- reflection
- variables
- javascript
- extractor
- src/com/semmle/js
- extractor
- parser
- tests/json
- input
- output/trap
- ql
- examples/snippets
- integration-tests/query-suite
- lib
- change-notes
- released
- ext
- semmle/javascript
- dataflow
- internal
- dependencies
- frameworks
- AngularJS
- data
- internal
- internal
- flow_summaries
- paths
- security/dataflow
- src
- Declarations
- Electron
- Expressions
- LanguageFeatures
- NodeJS
- Quality
- examples
- RegExp
- Security
- CWE-020
- CWE-295
- CWE-313
- CWE-798
- trest
- change-notes
- released
- codeql-suites
- experimental/heuristics/ql/src/Security/CWE-020
- test
- library-tests
- AMD
- AST/Decorators
- CallGraphs/AnnotatedTest
- DataFlow
- GetALocalSource
- Modules
- NPM
- src/node_modules
- a
- nested
- node_modules/a
- NodeJS
- PathResolution
- BabelRootImport
- tst1
- nested
- tst2
- src/js
- tst3
- src
- tst4
- src/js
- BaseUrl
- base
- lib
- lib2
- src
- Basic
- Subdir
- DeclarationFiles
- lib
- src
- DirnameImports
- nested
- DistContainsSrc
- src
- Extended
- base
- lib
- src
- Fallback
- lib1
- subdir
- lib2
- subdir
- src
- JSDocProvide
- MainIsFolder
- src
- MinifiedMain
- src
- NoBaseUrl
- lib
- src
- NodeModules
- node_modules/foo
- subfolder
- node_modules/bar
- src
- PackageGuess1
- src
- PackageGuess2
- blah
- PackageIndexFile
- PackageWithExports
- star-impl
- PackageWithMain
- PackageWithMainExt
- lib
- PackageWithModuleMain
- RootDir
- my-root
- TSConfigOutDir
- src
- TaintTracking
- TripleDot
- TypeScript
- ImportEquals
- RegressionTests
- ImportDtsFile
- MissingTypeRoot
- TypeRootFile
- TSConfigReferences
- Types
- frameworks
- Shelljs
- WebSocket
- babel/root-import
- tst1
- nested
- tst2
- tst3
- tst4
- data
- query-tests
- NodeJS
- UnresolvableImport
- src
- sub/node_modules/mod
- UnusedDependency
- Quality/UnhandledErrorInStreamPipeline
- Security
- CWE-078
- CommandInjection
- IndirectCommandInjection
- UnsafeShellCommandConstruction/lib
- subLib
- subLib2
- subLib3
- subLib4
- CWE-079/ReflectedXss
- app/api
- CWE-094/CodeInjection
- CWE-400/ReDoS
- lib
- moduleLib
- otherLib/js/src
- subLib4
- subLib5
- subLib6
- sublib
- CWE-522-DecompressionBombs
- CWE-798
- CWE-918
- Request
- app/api/proxy
- misc
- bazel
- 3rdparty/tree_sitter_extractors_deps
- registry/modules/rules_kotlin
- 2.0.0-codeql.1
- 2.1.3-codeql.1
- patches
- codegen
- generators
- test
- pytest/lib
- ripunzip
- scripts
- models-as-data
- suite-helpers
- change-notes/released
- python
- extractor
- semmle
- ql
- integration-tests/query-suite
- lib
- change-notes
- released
- semmle/python
- frameworks
- security/dataflow
- src
- Expressions
- Functions
- Resources
- Security
- CWE-020
- CWE-020-ExternalAPIs
- CWE-798
- Variables/LoopVariableCapture
- change-notes
- released
- codeql-suites
- experimental/Security/CWE-094
- test
- extractor-tests/filter-option
- library-tests/frameworks
- hdbcli
- pandas
- stdlib
- ql/ql
- src
- codeql/files
- codeql_ql/ast
- queries/style
- test/queries/style/QlRefInlineExpectations
- ruby
- ql
- integration-tests
- compression
- query-suite
- lib
- change-notes
- released
- codeql/ruby
- dataflow/internal
- security/regexp
- src
- change-notes
- released
- codeql-suites
- experimental/template-injection
- queries
- performance
- security/cwe-798
- variables
- examples
- test
- library-tests
- ast
- modules
- query-tests/variables
- DeadStoreOfLocal
- UninitializedLocal
- rust
- ast-generator
- src
- templates
- codegen
- downgrades
- 2df29df1bf8f8ba77919fd0873007e8322654f67
- 58bc96172f5a76faffc04004933865aa3c3b3e62
- a1005655e9efc9f67d3aa2b7a3128f6b80d405a9
- e8707b675dc574aca9863eabcc09ac76f15bb9c2
- extractor
- src
- generated
- translate
- misc
- ql
- consistency-queries
- integration-tests
- hello-project
- hello-workspace
- exe
- lib
- macro-expansion
- attributes
- src
- calls
- src
- proc_macros
- src
- options/features
- query-suite
- workspace-with-glob
- lib
- change-notes/released
- codeql/rust
- controlflow
- internal
- generated
- dataflow/internal
- elements
- internal
- generated
- frameworks
- stdlib
- tokio
- internal
- security
- ext/generated
- actix-web
- clap
- hyper
- libc
- log
- memchr
- once_cell
- rand
- reqwest
- rocket
- rust
- serde
- smallvec
- tokio
- upgrades
- 256e80c2dceafb43358213b1ac0e386ea6ef73c3
- 2df29df1bf8f8ba77919fd0873007e8322654f67
- 58bc96172f5a76faffc04004933865aa3c3b3e62
- e8707b675dc574aca9863eabcc09ac76f15bb9c2
- utils/test
- src
- change-notes/released
- codeql-suites
- queries
- diagnostics
- security
- CWE-312
- CWE-696
- CWE-770
- summary
- telemetry
- unusedentities
- utils/modelgenerator
- debug
- internal
- test
- extractor-tests
- canonical_path
- CONSISTENCY
- canonical_path_disabled
- CONSISTENCY
- crate_graph
- CONSISTENCY
- generated
- Abi
- ArgList
- ArrayTypeRepr
- AsmClobberAbi
- AsmConst
- AsmDirSpec
- AsmExpr
- AsmLabel
- AsmOperandExpr
- AsmOperandNamed
- AsmOption
- AsmOptionsList
- AsmRegOperand
- AsmRegSpec
- AsmSym
- AssocTypeArg
- Attr
- BreakExpr
- ClosureBinder
- Const
- ConstArg
- ConstParam
- ContinueExpr
- DynTraitTypeRepr
- Enum
- ExternBlock
- ExternCrate
- ExternItemList
- FnPtrTypeRepr
- ForExpr
- ForTypeRepr
- Function
- Impl
- ImplTraitTypeRepr
- InferTypeRepr
- ItemList
- Label
- LetElse
- Lifetime
- LifetimeArg
- LifetimeParam
- MacroBlockExpr
- MacroCall
- MacroDef
- MacroExpr
- MacroItems
- MacroPat
- MacroRules
- MacroStmts
- MacroTypeRepr
- MatchArmList
- MatchGuard
- Meta
- Module
- Name
- NameRef
- NeverTypeRepr
- ParamList
- ParenExpr
- ParenPat
- ParenTypeRepr
- ParenthesizedArgList
- Path
- PtrTypeRepr
- RefTypeRepr
- Rename
- RestPat
- RetTypeRepr
- ReturnTypeSyntax
- SelfParam
- SliceTypeRepr
- SourceFile
- Static
- StmtList
- Struct
- StructExprFieldList
- StructField
- StructFieldList
- StructPatFieldList
- TokenTree
- Trait
- TraitAlias
- TryExpr
- TupleField
- TupleFieldList
- TupleTypeRepr
- TypeAlias
- TypeArg
- TypeBound
- TypeBoundList
- TypeParam
- Union
- Use
- UseBoundGenericArgs
- UseTree
- UseTreeList
- Variant
- VariantList
- Visibility
- WhereClause
- WherePred
- WhileExpr
- literal
- macro_expansion
- utf8
- library-tests
- controlflow
- CONSISTENCY
- dataflow
- global
- local
- CONSISTENCY
- modeled
- sources
- CONSISTENCY
- strings
- definitions
- frameworks/postgres/CONSISTENCY
- operations
- path-resolution
- sensitivedata
- type-inference
- variables
- CONSISTENCY
- query-tests
- security
- CWE-020
- CWE-022/CONSISTENCY
- CWE-089
- CONSISTENCY
- CWE-312
- CONSISTENCY
- CWE-327/CONSISTENCY
- CWE-328
- CONSISTENCY
- CWE-696
- CONSISTENCY
- CWE-770
- CONSISTENCY
- CWE-825/CONSISTENCY
- unusedentities/CONSISTENCY
- utils
- utils-tests/modelgenerator
- schema
- tools/builtins
- swift
- downgrades
- 4dd3d5ca8a89952485b3e3b2141b6bb8c22cf945
- 987ab0bc0911f8c88449210e21d2ee80ebcb488a
- be2357fd0023261478871eff5df5c57df559aa3b
- extractor
- infra
- mangler
- translators
- ql
- integration-tests
- autobuilder/xcode-fails-spm-works
- osx
- canonical-case
- hello-ios
- hello-xcode
- posix
- cross-references
- frontend-invocations
- hello-world
- query-suite
- symlinks
- lib
- change-notes
- released
- codeql/swift
- controlflow/internal
- dataflow
- internal
- elements
- expr
- internal
- type
- internal
- generated
- expr
- type
- security
- upgrades
- 33db81ad4b606ff9a476c8dabeb9fffbf61aa829
- 4dd3d5ca8a89952485b3e3b2141b6bb8c22cf945
- be2357fd0023261478871eff5df5c57df559aa3b
- src
- change-notes
- released
- codeql-suites
- queries/Security
- CWE-259
- CWE-321
- test
- extractor-tests
- declarations
- errors
- CONSISTENCY
- generated
- decl
- CapturedDecl
- IfConfigDecl
- ParamDecl
- expr
- AppliedPropertyWrapperExpr
- ExtractFunctionIsolationExpr
- IdentityExpr
- ImplicitConversionExpr
- ObjectLiteralExpr
- TypeValueExpr
- stmt/DiscardStmt
- type
- BuiltinType
- IntegerType
- ProtocolCompositionType
- patterns
- library-tests
- ast
- controlflow/graph
- elements
- decl
- enumdecl
- function
- location
- type
- nominaltype
- numerictype
- pointertypes
- query-tests/Diagnostics
- third_party/resources
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,754 files changed
+249849
-21272
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 |
| - | |
| 69 | + | |
70 | 70 |
| |
71 | 71 |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 | 29 |
| |
31 |
| - | |
| 30 | + | |
32 | 31 |
| |
33 | 32 |
| |
34 | 33 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
| 65 | + | |
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
| |||
71 | 72 |
| |
72 | 73 |
| |
73 | 74 |
| |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + |
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
18 |
| - | |
| 19 | + | |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
| |||
41 | 43 |
| |
42 | 44 |
| |
43 | 45 |
| |
| 46 | + | |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
|
0 commit comments