File tree
2,207 files changed
+142212
-105913
lines changed- .github
- actions/fetch-codeql
- workflows
- config
- cpp
- downgrades
- e9a518baf14f4322ac243578a8e1391386ff030f
- ql
- lib
- change-notes
- released
- experimental/semmle/code/cpp
- security
- semantic
- analysis
- semmle/code/cpp
- commons
- controlflow
- internal
- dataflow
- internal
- tainttracking1
- tainttracking2
- exprs
- headers
- ir
- dataflow
- internal
- tainttracking1
- tainttracking2
- tainttracking3
- implementation
- aliased_ssa
- gvn/internal
- internal
- internal
- raw
- gvn/internal
- internal
- reachability
- unaliased_ssa
- gvn/internal
- internal
- reachability
- internal
- models
- implementations
- interfaces
- rangeanalysis
- security
- stmts
- valuenumbering
- upgrades/bb0f279f2acd793105a347d589b5afc8715d94c4
- src
- Best Practices/Unused Entities
- Critical
- Diagnostics/Internal
- Likely Bugs
- Memory Management
- OO
- Metrics/Files
- Security/CWE
- CWE-020
- ir
- CWE-078
- CWE-089
- CWE-129
- CWE-190
- CWE-311
- CWE-319
- CWE-326
- CWE-497
- change-notes
- released
- codeql-suites
- experimental/Security/CWE
- CWE-020
- CWE-190
- CWE-200
- CWE-362
- CWE-377
- CWE-754
- external
- jsf
- 4.10 Classes
- 4.24 Control Flow Structures
- test
- TestUtilities
- dataflow
- examples/expressions
- experimental/query-tests/Security/CWE
- CWE-190/DangerousUseOfTransformationAfterOperation
- CWE-200
- test1
- test2
- test3
- CWE-377/semmle/tests
- CWE-754/semmle/tests
- library-tests
- cpp11_g
- dataflow
- DefaultTaintTracking
- annotate_path_to_sink
- annotate_sinks_only
- globals
- dataflow-tests
- fields
- smart-pointers-taint
- taint-tests
- defuse
- depends_initializers
- ir
- ir
- modulus-analysis
- points_to
- range-analysis
- sign-analysis
- lambdas/captures
- special_members/generated_copy
- stmt_expr
- syntax-zoo
- templates/nontype_instantiations
- functions
- general
- variables/variables
- query-tests
- Best Practices/Unused Entities/UnusedLocals
- Critical/UnsafeUseOfThis
- Likely Bugs/Memory Management
- ReturnStackAllocatedMemory
- UsingExpiredStackAddress
- Security/CWE
- CWE-078
- SAMATE/ExecTainted
- semmle/ExecTainted
- CWE-119
- SAMATE
- semmle/tests
- CWE-129
- SAMATE/ImproperArrayIndexValidation
- semmle/ImproperArrayIndexValidation
- CWE-190/semmle/TaintedAllocationSize
- CWE-311/semmle/tests
- CWE-326
- CWE-497
- SAMATE
- semmle/tests
- jsf/4.13 Functions/AV Rule 114
- csharp
- autobuilder
- Semmle.Autobuild.CSharp.Tests
- Semmle.Autobuild.CSharp
- config/tracer
- linux
- windows
- downgrades
- extractor
- Semmle.Extraction.CIL.Driver
- Semmle.Extraction.CIL
- Semmle.Extraction.CSharp.Standalone
- Semmle.Extraction.CSharp/Extractor
- Semmle.Extraction.Tests
- Semmle.Extraction
- Semmle.Util
- ql
- campaigns/Solorigate
- lib
- change-notes/released
- src
- change-notes/released
- lib
- change-notes
- released
- semmle/code
- asp
- cil
- internal
- csharp
- commons
- controlflow
- internal
- pressa
- dataflow
- internal
- basessa
- rangeanalysis
- tainttracking1
- tainttracking2
- tainttracking3
- tainttracking4
- tainttracking5
- exprs
- frameworks
- system
- data
- linq
- xml
- security/dataflow
- dotnet
- src
- Concurrency
- Documentation
- Language Abuse
- Likely Bugs
- Performance
- Security Features
- CWE-011
- CWE-016
- CWE-020
- CWE-248
- CWE-451
- CWE-548
- Telemetry
- change-notes
- released
- experimental/ir
- implementation
- internal
- raw
- gvn/internal
- internal
- desugar
- internal
- reachability
- unaliased_ssa
- gvn/internal
- internal
- reachability
- internal
- rangeanalysis
- utils/model-generator
- internal
- test
- TestUtilities
- experimental/ir/offbyone
- library-tests
- comments
- csharp9-standalone
- dataflow
- external-models
- library
- structuralcomparison
- query-tests
- Language Abuse
- UselessCastToSelf
- UselessUpcast
- Stubs/Minimal
- Telemetry
- LibraryUsage
- SupportedExternalSinks
- SupportedExternalSources
- resources/stubs
- utils/model-generator
- docs
- codeql
- codeql-cli
- codeql-language-guides
- ql-language-reference
- support/reusables
- writing-codeql-queries
- javascript
- extractor
- lib/typescript
- src/com/semmle/js/extractor
- ql
- examples/snippets
- experimental/adaptivethreatmodeling
- lib
- experimental/adaptivethreatmodeling
- modelbuilding
- extraction
- model
- src
- test
- endpoint_large_scale
- endpoint_unit_tests
- modeled_apis
- lib
- Expressions
- change-notes
- released
- semmle/javascript
- dataflow
- internal
- dependencies
- explore
- frameworks
- AngularJS
- data
- internal
- heuristics
- internal
- linters
- security
- dataflow
- internal
- performance
- src
- AngularJS
- Declarations
- Expressions
- LanguageFeatures
- Metrics
- NodeJS
- Security
- CWE-020
- CWE-079
- CWE-094
- CWE-116
- CWE-200
- CWE-295
- CWE-300
- CWE-347
- CWE-730
- Statements
- change-notes
- released
- experimental
- Summaries
- semmle/javascript/security/dataflow
- meta
- test
- ApiGraphs
- bound-args
- partial-invoke
- library-tests
- Classes
- CustomAbstractValueDefinitions
- DefUse
- ES20xxFeatures
- Expr
- Externs
- JSON
- JSX
- MalformedPackageJson
- NPM
- SourceMaps
- TaintTracking
- TypeScript
- CallSignatures
- ImportOutDir
- LocalTypeResolution
- PathMapping
- TypeAnnotations
- Types
- TypeTracking
- frameworks
- Knex
- ReactJS
- Templating
- UriLibraries
- data
- jQuery
- query-tests/Security
- CWE-020
- CWE-022/TaintedPath
- CWE-078
- CWE-079
- DomBasedXss
- XssThroughDom
- CWE-295
- CWE-312
- CWE-601/ClientSideUrlRedirect
- tutorials
- Introducing the JavaScript libraries
- Validating RAML-based APIs
- java
- documentation/library-coverage
- ql
- examples/snippets
- lib
- change-notes
- released
- config
- semmle/code
- java
- controlflow
- internal
- dataflow
- internal
- rangeanalysis
- tainttracking1
- tainttracking2
- deadcode
- dispatch
- environment
- frameworks
- android
- apache
- gwt
- jackson
- javaee
- ejb
- jsf
- spring
- metrics
- struts
- metrics
- os
- security
- xml
- upgrades/89a76edebff191538968a6b25d22ada661ffa59a
- src
- Advisory/Documentation
- Architecture/Refactoring Opportunities
- Frameworks/Spring
- Architecture/Refactoring Opportunities
- Violations of Best Practice
- Language Abuse
- Likely Bugs
- Collections
- Comparison
- Concurrency
- Finalization
- Frameworks/JUnit
- Inheritance
- Likely Typos
- Resource Leaks
- Serialization
- Statements
- Termination
- Performance
- Security/CWE
- CWE-020
- CWE-022
- CWE-074
- CWE-079
- CWE-089
- CWE-094
- CWE-1104
- CWE-200
- CWE-273
- CWE-297
- CWE-312
- CWE-319
- CWE-522
- CWE-532
- CWE-611
- CWE-749
- CWE-829
- CWE-833
- CWE-917
- Telemetry
- Violations of Best Practice
- Dead Code
- Exception Handling
- Implementation Hiding
- Magic Constants
- Naming Conventions
- Undesirable Calls
- change-notes
- released
- experimental
- Security/CWE
- CWE-036
- CWE-089
- CWE-094
- CWE-1004
- CWE-200
- CWE-352
- CWE-400
- CWE-489
- CWE-502
- CWE-522
- CWE-532
- CWE-548
- CWE-552
- CWE-600
- CWE-611
- CWE-759
- semmle/code
- java
- xml
- meta/ssa
- semmle/code/xml
- utils
- flowtestcasegenerator
- model-generator
- internal
- test
- TestUtilities
- experimental/query-tests/security/CWE-200
- library-tests
- JDK
- jdk
- constants
- dataflow
- external-models
- switchexpr
- environment
- frameworks
- JaxWs
- apache-commons-lang3
- guards
- os
- ssa
- structure
- query-tests
- Nullness
- security
- CWE-079/semmle/tests
- CWE-200/semmle/tests
- CWE-532
- CWE-918
- stubs
- HikariCP-3.4.5/com/zaxxer/hikari
- apache-commons-lang3-3.7/org/apache/commons/lang3
- google-android-9.0.0
- androidx/webkit
- android/webkit
- guava-30.0/com/google/common/base
- jdbi3-core-3.27.2/org/jdbi/v3/core
- config
- junit-jupiter-api-5.2.0/org/junit/jupiter/api
- postgresql-42.3.3/org/postgresql
- spring-jdbc-5.3.8/org/springframework/jdbc/datasource
- springframework-5.3.8/org/springframework/boot/jdbc
- utils/model-generator
- p
- misc
- bazel
- scripts
- models-as-data
- suite-helpers
- python
- ql
- lib
- change-notes
- released
- semmle/python
- dataflow
- new
- internal
- tainttracking1
- tainttracking2
- tainttracking3
- tainttracking4
- old
- dependencies
- essa
- filters
- frameworks
- Stdlib
- internal
- internal
- libraries
- objects
- pointsto
- security
- dataflow
- internal
- performance
- strings
- templates
- types
- web
- bottle
- django
- falcon
- flask
- stdlib
- xml
- src
- Classes
- Exceptions
- Expressions/Formatting
- Imports
- Lexical
- Resources
- Security
- CWE-020-ExternalAPIs
- CWE-020
- CWE-022
- CWE-078
- CWE-079
- CWE-089
- CWE-090
- CWE-094
- CWE-116
- CWE-117
- CWE-209
- CWE-295
- CWE-312
- CWE-327
- CWE-502
- CWE-601
- CWE-643
- CWE-730
- CWE-918
- Statements
- Variables
- analysis
- change-notes
- released
- experimental
- Security
- CWE-022
- CWE-287
- CWE-347
- CWE-348
- CWE-522
- CWE-611
- CWE-643
- CWE-943
- semmle/python
- frameworks
- libraries
- security
- dataflow
- injection
- templates
- meta/analysis-quality
- semmle/python/functions
- test
- 2/library-tests/locations/general
- 3/library-tests
- locations/general
- with
- TestUtilities
- experimental
- attrs
- dataflow
- ApiGraphs
- mypkg
- TestUtil
- calls
- coverage
- fieldflow
- match
- module-initialization
- strange-pointsto-interaction-investigation
- src
- test-1-normal
- test-2-without-splitting
- test-3-max-import-depth-0
- test-4-max-import-depth-100
- test-5-max-import-depth-3
- test-6-max-import-depth-2
- tainttracking/customSanitizer
- typetracking
- variable-capture
- library-tests
- CallGraph
- frameworks/XML
- poc
- meta
- query-tests/Security
- CWE-022
- CWE-611
- CWE-643
- CWE-943
- library-tests
- ApiGraphs
- py2
- py3
- PointsTo
- customise
- extensions
- general
- inheritance
- metaclass
- new
- examples/custom-sanitizer
- frameworks
- aiohttp
- django-orm
- testapp
- migrations
- templates
- testproj
- flask
- httpx
- libtaxii
- lxml
- pycurl
- simplejson
- stdlib-py2
- stdlib
- ujson
- urllib3
- locations/implicit_concatenation
- regex
- taint
- dataflow
- example
- exception_traceback
- extensions
- general
- query-tests/Security
- CWE-020-IncompleteHostnameRegExp
- CWE-022-PathInjection
- CWE-643-XPathInjection
- CWE-730-ReDoS
- tools/recorded-call-graph-metrics/ql
- lib
- query
- ql/ql
- src
- codeql_ql
- ast
- internal
- bugs
- dataflow
- internal
- style
- codeql
- ide-contextual-queries
- queries
- bugs
- diagnostics
- reports
- style
- test
- TestUtilities
- dataflow/getAStringValue
- printAst
- queries
- bugs/OrderByConst
- style
- DeadCode
- MissingSecurityMetadata
- testcases
- ruby/ql
- consistency-queries
- examples
- lib
- change-notes
- released
- codeql
- ruby
- ast
- internal
- controlflow
- internal
- dataflow
- internal
- tainttracking1
- tainttrackingforlibraries
- frameworks
- core
- data
- internal
- http_clients
- internal
- regexp
- internal
- security
- internal
- performance
- typetracking
- src
- change-notes
- released
- queries
- meta/internal
- security
- cwe-020
- examples
- cwe-078
- cwe-079
- cwe-089
- cwe-116
- cwe-1333
- cwe-134
- examples
- cwe-300
- examples
- cwe-312
- examples
- cwe-327
- examples
- cwe-912
- examples
- test
- TestUtilities
- library-tests
- ast
- calls
- escape_sequences
- literals
- misc
- concepts
- app
- controllers
- models
- controlflow/graph
- dataflow
- api-graphs
- local
- string-flow
- summaries
- type-tracker
- frameworks
- http_clients
- stdlib
- regexp
- variables
- query-tests/security
- cwe-020
- IncompleteHostnameRegExp
- IncompleteUrlSubstringSanitization
- cwe-022
- cwe-094
- cwe-116
- cwe-1333-exponential-redos
- cwe-134
- cwe-295
- cwe-300
- cwe-312
- app
- controllers
- models
- cwe-327
- cwe-912
- swift
- extractor
- ql
- lib
- test
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,207 files changed
+142212
-105913
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
6 | 16 |
| |
7 | 17 |
| |
8 | 18 |
| |
9 | 19 |
| |
10 |
| - | |
11 |
| - | |
| 20 | + | |
| 21 | + | |
12 | 22 |
| |
13 | 23 |
| |
14 | 24 |
|
Lines changed: 53 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + |
Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| |||
159 | 160 |
| |
160 | 161 |
| |
161 | 162 |
| |
162 |
| - | |
| 163 | + | |
163 | 164 |
| |
164 | 165 |
| |
165 | 166 |
| |
| |||
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
174 |
| - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
175 | 179 |
| |
176 | 180 |
| |
177 | 181 |
| |
178 | 182 |
| |
179 | 183 |
| |
180 |
| - | |
181 | 184 |
| |
182 |
| - | |
| 185 | + | |
183 | 186 |
| |
184 | 187 |
| |
185 | 188 |
| |
186 | 189 |
| |
| 190 | + | |
187 | 191 |
| |
188 | 192 |
| |
189 |
| - | |
| 193 | + | |
190 | 194 |
| |
191 | 195 |
| |
192 | 196 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
|
Lines changed: 51 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + |
Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + |
0 commit comments