File tree
3,170 files changed
+146429
-85907
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
- Leap Year
- Memory Management
- OO
- Metrics/Files
- Security/CWE
- CWE-020
- ir
- CWE-078
- CWE-089
- CWE-120
- CWE-129
- CWE-190
- CWE-311
- CWE-319
- CWE-326
- CWE-497
- CWE-611
- change-notes
- released
- codeql-suites
- experimental/Security/CWE
- CWE-020
- CWE-190
- CWE-200
- CWE-266
- CWE-285
- CWE-362
- CWE-377
- CWE-476
- CWE-754
- external
- jsf
- 4.10 Classes
- 4.24 Control Flow Structures
- test
- TestUtilities
- dataflow
- examples/expressions
- experimental/query-tests/Security/CWE
- CWE-020/NoCheckBeforeUnsafePutUser
- CWE-190/DangerousUseOfTransformationAfterOperation
- CWE-200
- test1
- test2
- test3
- CWE-285
- CWE-377/semmle/tests
- CWE-476/semmle/tests
- CWE-754/semmle/tests
- library-tests
- controlflow/dominance
- cpp11_g
- dataflow
- DefaultTaintTracking
- annotate_path_to_sink
- annotate_sinks_only
- globals
- dataflow-tests
- fields
- smart-pointers-taint
- taint-tests
- defuse
- depends_initializers
- floats/float128
- ir
- ir
- modulus-analysis
- points_to
- range-analysis
- sign-analysis
- lambdas/captures
- sideEffects/stmts
- special_members/generated_copy
- stmt_expr
- switch_cfg
- switch
- syntax-zoo
- templates/nontype_instantiations
- functions
- general
- usings
- variables/variables
- vector_types
- 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
- CWE-611
- jsf/4.13 Functions/AV Rule 114
- successor-tests
- break_labels
- dostmt
- ifstmt
- ifelsestmt
- ifstmt
- pruning
- whilestmt
- 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
- API Abuse
- Concurrency
- Documentation
- Language Abuse
- Likely Bugs
- LeapYear
- Metrics/Summaries
- Performance
- Security Features
- CWE-011
- CWE-016
- CWE-020
- CWE-091
- CWE-134
- CWE-248
- CWE-451
- CWE-548
- Stubs
- Telemetry
- change-notes
- released
- experimental
- Security Features/CWE-759
- ir
- implementation
- internal
- raw
- gvn/internal
- internal
- common
- desugar
- internal
- reachability
- unaliased_ssa
- gvn/internal
- internal
- reachability
- internal
- rangeanalysis
- utils/model-generator
- internal
- test
- TestUtilities
- experimental/ir/offbyone
- library-tests
- cil
- attributes
- dataflow
- typeAnnotations
- comments
- commons/Disposal
- conversion/operator
- csharp7
- dataflow
- external-models
- library
- dispatch
- frameworks
- JsonNET
- NHibernate
- structuralcomparison
- query-tests
- Language Abuse/UselessCastToSelf
- Security Features/CWE-091/XMLInjection
- Stubs/Minimal
- Telemetry
- LibraryUsage
- SupportedExternalSinks
- SupportedExternalSources
- resources/stubs
- utils/model-generator
- tools
- docs
- codeql
- codeql-cli
- codeql-language-guides
- ql-language-reference
- support/reusables
- ql-libraries/dataflow
- javascript/ql
- examples/snippets
- experimental/adaptivethreatmodeling
- lib
- experimental/adaptivethreatmodeling
- modelbuilding
- extraction
- model
- resources
- src
- test
- endpoint_large_scale
- endpoint_unit_tests
- modeled_apis
- query_mappings
- 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
- examples
- CWE-079
- CWE-094
- CWE-116
- CWE-200
- CWE-295
- CWE-300
- CWE-347
- CWE-730
- CWE-770
- examples
- CWE-915
- examples
- Statements
- change-notes
- released
- experimental
- Security
- CWE-020
- examples
- CWE-770
- Summaries
- semmle/javascript/security/dataflow
- meta
- test
- ApiGraphs
- argprops
- async-await
- bound-args
- branching-flow
- classes
- ctor-arg
- custom-entry-point
- cyclic
- dynamic-prop-read
- imprecise-export
- imprecision
- namespaced-package
- nested-property-export
- nonlocal
- partial-invoke
- promises
- promisify
- property-read-from-argument
- reexport/lib
- return-self
- spread
- typed
- experimental/Security/CWE-770
- library-tests
- CallGraphs/AnnotatedTest
- ClassNode
- Classes
- CryptoLibraries
- CustomAbstractValueDefinitions
- DefUse
- ES20xxFeatures
- Expr
- Externs
- JSON
- JSX
- MalformedPackageJson
- NPM
- SourceMaps
- TaintBarriers
- TaintTracking
- TypeScript
- CallSignatures
- HasUnderlyingType
- ImportOutDir
- LocalTypeResolution
- PathMapping
- TypeAnnotations
- TypeTracking
- frameworks
- Angular2
- Knex
- ReactJS
- Redux
- Templating
- UriLibraries
- Vue
- data
- jQuery
- query-tests
- Performance/ReDoS
- lib/subLib4
- Security
- CWE-020
- IncompleteHostnameRegExp
- IncompleteUrlSchemeCheck
- IncompleteUrlSubstringSanitization
- IncorrectSuffixCheck
- examples
- MissingOriginCheck
- MissingRegExpAnchor
- UntrustedDataToExternalAPI
- UselessCharacterEscape
- CWE-022/TaintedPath
- CWE-078
- CWE-079
- DomBasedXss
- XssThroughDom
- CWE-295
- CWE-312
- CWE-601/ClientSideUrlRedirect
- CWE-770
- MissingRateLimit
- ResourceExhaustion
- documentaion-examples
- CWE-915
- PrototypePollutingAssignment
- PrototypePollutingFunction
- tutorials
- Introducing the JavaScript libraries
- Validating RAML-based APIs
- java
- documentation/library-coverage
- ql
- lib
- change-notes
- released
- config
- semmle/code
- java
- controlflow
- internal
- dataflow
- internal
- rangeanalysis
- tainttracking1
- tainttracking2
- tainttracking3
- deadcode
- environment
- frameworks
- android
- apache
- gwt
- jackson
- javaee
- ejb
- jsf
- spring
- metrics
- struts
- os
- security
- xml
- upgrades/89a76edebff191538968a6b25d22ada661ffa59a
- src
- Advisory/Declarations
- Frameworks/Spring
- Architecture/Refactoring Opportunities
- Violations of Best Practice
- Likely Bugs
- Concurrency
- Serialization
- Statements
- Termination
- Performance
- Security/CWE
- CWE-020
- CWE-074
- CWE-079
- CWE-089
- CWE-094
- CWE-1104
- CWE-129
- CWE-200
- CWE-273
- CWE-312
- CWE-319
- CWE-335
- CWE-522
- CWE-532
- CWE-611
- CWE-614
- CWE-749
- CWE-829
- CWE-835
- CWE-917
- Telemetry
- Violations of Best Practice/Dead Code
- change-notes
- released
- experimental
- Security/CWE
- CWE-036
- CWE-073
- CWE-089
- CWE-1004
- CWE-200
- CWE-400
- CWE-532
- CWE-548
- CWE-552
- CWE-611
- CWE-759
- CWE-939
- semmle/code
- java
- frameworks
- xml
- meta/ssa
- semmle/code/xml
- utils
- flowtestcasegenerator
- model-generator
- internal
- test
- TestUtilities
- experimental/query-tests/security
- CWE-089/src/main
- CWE-200
- CWE-470
- CWE-552
- library-tests
- JDK
- jdk
- constants
- dataflow
- external-models
- getter
- switchexpr
- taint
- environment
- frameworks
- JaxWs
- android
- slice
- widget
- apache-commons-lang3
- guava/handwritten
- jms
- rabbitmq
- spring
- beans
- controller
- guards
- os
- ssa
- stmts
- stmts
- structure
- query-tests
- Nullness
- security
- CWE-079/semmle/tests
- CWE-200/semmle/tests
- CWE-312
- 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
- text
- method
- style
- webkit
- widget
- guava-30.0/com/google/common/base
- jboss-vfs-3.2/org/jboss/vfs
- jdbi3-core-3.27.2/org/jdbi/v3/core
- config
- jms-api-1/javax/jms
- junit-jupiter-api-5.2.0/org/junit/jupiter/api
- org.mybatis-3.5.4/org/apache/ibatis
- annotations
- jdbc
- postgresql-42.3.3/org/postgresql
- rabbitmq-4.12.0/com/rabbitmq/client
- spring-jdbc-5.3.8/org/springframework/jdbc/datasource
- springframework-5.3.8/org/springframework
- boot/jdbc
- context/support
- data
- domain
- util
- http
- ui
- util
- validation
- web
- bind
- annotation
- support
- context/request
- reactive/function/client
- servlet/mvc/support
- util
- undertow-io-2.2/io/undertow/server/handlers/resource
- utils/model-generator
- misc
- bazel
- scripts/models-as-data
- suite-helpers
- python
- PoCs
- XmlParsing
- 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
- pyramid
- stdlib
- xml
- src
- Classes
- Exceptions
- Expressions/Formatting
- Imports
- Lexical
- Numerics
- 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-215
- CWE-295
- CWE-312
- CWE-327
- CWE-502
- CWE-601
- CWE-611
- examples
- CWE-643
- CWE-730
- CWE-776
- examples
- 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
- injection
- templates
- meta/analysis-quality
- semmle/python/functions
- test
- 2/library-tests/locations/general
- 3/library-tests
- locations/general
- with
- TestUtilities
- experimental
- dataflow
- ApiGraphs
- mypkg
- TestUtil
- qll-private-imports
- typetracking
- library-tests/CallGraph
- meta
- query-tests/Security
- CWE-022
- CWE-611-SimpleXmlRpcServer
- CWE-643
- CWE-943
- library-tests
- ApiGraphs
- py2
- py3
- PointsTo
- comparisons
- customise
- extensions
- general
- global
- inheritance
- metaclass
- new
- attributes
- descriptors
- examples/custom-sanitizer
- frameworks
- aiohttp
- django-orm
- testapp
- migrations
- templates
- testproj
- django-v2-v3
- testapp
- testproj
- flask
- httpx
- libtaxii
- lxml
- pycurl
- stdlib-py2
- stdlib-py3
- stdlib
- urllib3
- xmltodict
- locations/implicit_concatenation
- security/command-execution
- taint
- dataflow
- example
- exception_traceback
- extensions
- general
- web/django
- query-tests
- Numerics
- Security
- CWE-020-IncompleteHostnameRegExp
- CWE-022-PathInjection
- CWE-090-LdapInjection
- CWE-611-Xxe
- CWE-643-XPathInjection
- CWE-730-PolynomialReDoS
- CWE-776-XmlBomb
- CWE-918-ServerSideRequestForgery
- 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
- performance
- reports
- style
- test
- TestUtilities
- dataflow/getAStringValue
- printAst
- queries
- bugs/OrderByConst
- style
- AcronymsShouldBeCamelCase
- DeadCode
- MissingSecurityMetadata
- testcases
- scripts
- ruby
- extractor/src
- 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
- ide-contextual-queries
- queries
- meta/internal
- security
- cwe-020
- examples
- cwe-079
- cwe-089
- cwe-116
- examples
- cwe-1333
- cwe-134
- examples
- cwe-300
- examples
- cwe-312
- examples
- cwe-327
- examples
- cwe-829
- examples
- cwe-912
- examples
- cwe-918
- test
- TestUtilities
- library-tests
- ast
- calls
- escape_sequences
- literals
- misc
- concepts
- app
- controllers
- models
- controlflow/graph
- dataflow
- api-graphs
- array-flow
- barrier-guards
- local
- string-flow
- summaries
- type-tracker
- frameworks
- http_clients
- stdlib
- modules
- regexp
- variables
- query-tests/security
- cwe-020
- IncompleteHostnameRegExp
- IncompleteUrlSubstringSanitization
- MissingRegExpAnchor
- cwe-022
- cwe-094
- cwe-116
- BadTagFilter
- IncompleteSanitization
- cwe-1333-exponential-redos
- cwe-134
- cwe-295
- cwe-300
- cwe-312
- app
- controllers
- models
- cwe-327
- cwe-829
- cwe-912
- swift
- codegen
- lib
- templates
- test
- extractor
- trap
- ql/lib/codeql/swift
- elements
- decl
- expr
- pattern
- stmt
- typerepr
- type
- generated
- decl
- expr
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
3,170 files changed
+146429
-85907
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: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + |
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 |
| |
25 | 29 |
| |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
29 | 33 |
| |
30 | 34 |
| |
31 |
| - | |
| 35 | + |
Lines changed: 54 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 | + | |
| 54 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
|
Lines changed: 35 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 |
| - | |
| 34 | + | |
| 35 | + | |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
| 37 | + | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + |
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
| 96 | + | |
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
|
0 commit comments