File tree
3,062 files changed
+168368
-54141
lines changed- .devcontainer
- .github
- actions/fetch-codeql
- workflows
- config
- cpp
- downgrades/cf72c8898d19eb1b3374432cf79d8276cb07ad43
- ql
- lib
- change-notes
- released
- semmle/code/cpp
- commons
- controlflow
- internal
- dataflow/internal
- tainttracking1
- tainttracking2
- ir
- dataflow/internal
- tainttracking1
- tainttracking2
- tainttracking3
- implementation
- aliased_ssa
- gvn
- internal
- raw
- gvn
- internal
- unaliased_ssa
- gvn
- internal
- internal
- models/implementations
- rangeanalysis
- security
- stmts
- upgrades/e9a518baf14f4322ac243578a8e1391386ff030f
- src
- Best Practices/Unused Entities
- Diagnostics
- Internal
- Likely Bugs
- Conversion
- Leap Year
- Memory Management
- OO
- Security/CWE
- CWE-078
- CWE-120
- CWE-611
- change-notes
- released
- experimental/Security/CWE
- CWE-020
- CWE-266
- CWE-285
- CWE-476
- jsf/4.05 Libraries
- test
- TestUtilities
- experimental/query-tests/Security/CWE
- CWE-020/NoCheckBeforeUnsafePutUser
- CWE-285
- CWE-476/semmle/tests
- library-tests
- controlflow/dominance
- dataflow
- dataflow-tests
- fields
- depends_initializers
- floats/float128
- ir/ir
- lambdas/captures
- sideEffects/stmts
- string_analysis
- switch_cfg
- switch
- syntax-zoo
- usings
- vector_types
- query-tests
- Best Practices/Unused Entities/UnusedLocals
- Likely Bugs/Memory Management/ReturnStackAllocatedMemory
- Security/CWE/CWE-611
- jsf/4.13 Functions/AV Rule 114
- successor-tests
- break_labels
- dostmt
- ifstmt
- ifelsestmt
- ifstmt
- pruning
- switchstmt/switchstmt
- whilestmt
- csharp
- documentation/library-coverage
- downgrades
- ql
- campaigns/Solorigate
- lib
- change-notes/released
- src
- change-notes/released
- lib
- change-notes
- released
- semmle/code
- cil
- csharp
- controlflow/internal
- dataflow
- internal
- rangeanalysis
- tainttracking1
- tainttracking2
- tainttracking3
- tainttracking4
- tainttracking5
- dispatch
- exprs
- frameworks
- system
- security/dataflow
- src
- API Abuse
- Documentation
- Likely Bugs
- LeapYear
- Metrics/Summaries
- Security Features
- CWE-020
- CWE-091
- CWE-134
- CWE-248
- Stubs
- Telemetry
- change-notes/released
- experimental
- Security Features
- CWE-759
- backdoor
- ir/implementation
- raw
- gvn
- internal
- common
- desugar
- unaliased_ssa
- gvn
- internal
- utils/model-generator
- internal
- test
- TestUtilities
- library-tests
- cil
- attributes
- dataflow
- typeAnnotations
- commons/Disposal
- conversion/operator
- csharp7
- dataflow
- collections
- delegates
- external-models
- library
- dispatch
- frameworks
- EntityFramework
- JsonNET
- NHibernate
- query-tests
- Language Abuse/UselessCastToSelf
- Security Features/CWE-091/XMLInjection
- resources/stubs
- utils/model-generator
- tools
- docs
- codeql
- codeql-cli
- ql-language-reference
- support/reusables
- ql-libraries/dataflow
- javascript/ql
- examples/queries/dataflow/BackendIdor
- experimental/adaptivethreatmodeling
- lib/experimental/adaptivethreatmodeling
- modelbuilding/extraction
- model/resources
- test
- endpoint_large_scale
- endpoint_unit_tests
- modeled_apis
- query_mappings
- lib
- Expressions
- change-notes
- released
- semmle/javascript
- dataflow
- internal
- frameworks
- data/internal
- heuristics
- internal
- security
- dataflow
- performance
- src
- Declarations
- LanguageFeatures
- Security
- CWE-020
- examples
- CWE-094
- examples
- CWE-377
- examples
- CWE-770
- examples
- CWE-915
- examples
- Statements
- change-notes
- released
- experimental
- Security
- CWE-020
- examples
- CWE-094
- CWE-770
- semmle/javascript
- security/dataflow
- 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-094
- CWE-770
- library-tests
- CallGraphs/AnnotatedTest
- ClassNode
- CryptoLibraries
- TaintBarriers
- TaintTracking
- TypeScript/HasUnderlyingType
- TypeTracking
- frameworks
- Angular2
- Knex
- Redux
- Templating
- Vue
- query-tests
- Performance/ReDoS
- lib/subLib4
- Security
- CWE-020
- IncompleteHostnameRegExp
- IncompleteUrlSchemeCheck
- IncompleteUrlSubstringSanitization
- IncorrectSuffixCheck
- examples
- MissingOriginCheck
- MissingRegExpAnchor
- UntrustedDataToExternalAPI
- UselessCharacterEscape
- CWE-022/TaintedPath
- CWE-079
- DomBasedXss
- XssThroughDom
- CWE-094/ExpressionInjection
- .github/workflows
- CWE-312
- CWE-377
- CWE-601/ServerSideUrlRedirect
- CWE-770
- MissingRateLimit
- ResourceExhaustion
- documentaion-examples
- CWE-915
- PrototypePollutingAssignment
- sublib
- sub
- PrototypePollutingFunction
- java
- documentation/library-coverage
- kotlin-explorer
- src/main/kotlin
- kotlin-extractor
- src/main
- java/com/semmle
- extractor/java
- util
- array
- basic
- concurrent
- data
- exception
- expansion
- extraction
- files
- io
- csv
- logging
- process
- projectstructure
- trap
- dependencies
- pathtransformers
- unicode
- zip
- kotlin
- comments
- utils
- versions
- v_1_4_32
- v_1_5_31
- v_1_6_10
- v_1_6_20
- resources/META-INF/services
- ql
- consistency-queries
- lib
- change-notes
- released
- config
- semmle/code
- java
- controlflow
- dataflow
- internal
- rangeanalysis
- tainttracking1
- tainttracking2
- tainttracking3
- deadcode
- frameworks
- dispatch
- frameworks
- android
- spring
- struts
- os
- regex
- security
- performance
- xml
- upgrades/37f33da42d2cffa6ad8b26feaa6beed1c5ce3149
- src
- Advisory/Declarations
- Diagnostics
- Language Abuse
- Likely Bugs
- Arithmetic
- Comparison
- Concurrency
- Nullness
- Resource Leaks
- Serialization
- Statements
- Termination
- Performance
- Security/CWE
- CWE-089
- CWE-1104
- CWE-129
- CWE-190
- CWE-200
- CWE-319
- CWE-335
- CWE-614
- CWE-730
- CWE-829
- CWE-835
- Telemetry
- Violations of Best Practice
- Boolean Logic
- Dead Code
- Exception Handling
- Implementation Hiding
- Magic Constants
- Naming Conventions
- legacy
- change-notes
- released
- experimental
- Security/CWE
- CWE-073
- CWE-200
- CWE-297
- CWE-321
- CWE-400
- CWE-470
- CWE-552
- CWE-601
- CWE-611
- CWE-939
- semmle/code/java
- frameworks
- utils
- flowtestcasegenerator
- model-generator/internal
- test
- TestUtilities
- experimental/query-tests/security
- CWE-089/src/main
- CWE-321
- CWE-470
- CWE-552
- CWE-611
- kotlin
- library-tests
- annotation_classes
- annotations/jvmName
- arrays
- classes
- comments
- companion_objects
- compilation-units
- controlflow
- basic
- dominance
- paths
- plot
- coroutines
- data-classes
- dataflow
- extensionMethod
- foreach
- func
- notnullexpr
- stmtexpr
- taint
- whenexpr
- empty
- exprs_typeaccess
- exprs
- extensions_recursion
- extensions
- fake_overrides
- all_java
- all_kotlin
- kotlin_calling_java
- field-initializer-flow
- files
- function-n
- generic-inner-classes
- generic-instance-methods
- generic-methods
- generic-selective-extraction
- generic-type-bounds
- generics-location
- generics
- inherited-callee
- inheritence-substitution
- instances
- interface-delegate
- java-map-methods
- java_and_kotlin
- java_properties
- literals
- methods-mixed-java-and-kotlin
- methods
- mixed-java-and-kotlin
- modifiers
- multiple_extensions
- multiple_files
- no-when-branch-found
- object
- private-anonymous-types
- properties
- recursive-instantiations
- stack-overflow-1
- stack-overflow-2
- reflection
- special-method-getters
- static-method-calls
- stmts
- this
- trap
- trivial
- type_aliases
- type_equivalences
- types
- vararg
- variables
- query-tests
- DeadRefTypes
- InnerClassCouldBeStatic
- MissingInstanceofInEquals
- MissingOverrideAnnotation
- NullMaybe
- UselessNullCheck
- UselessParameter
- library-tests
- JDK
- ValueDiscardingExpr
- dataflow
- external-models
- getter
- local-additional-taint
- switchexpr
- taint
- fields
- frameworks
- android
- intent
- slice
- widget
- guava
- generated/collect/CONSISTENCY
- handwritten
- jms
- okhttp
- rabbitmq
- retrofit
- spring
- beans
- controller
- literals
- floatLiterals
- literals-numeric
- regex
- parser
- stmts
- stmts
- query-tests/security
- CWE-200/semmle/tests
- CWE-311
- CWE-319
- CWE-614/semmle/tests
- CWE-312
- CWE-532
- CWE-730
- CWE-940
- stubs
- auth0-jwt-2.3/com/auth0/jwt
- algorithms
- exceptions
- interfaces
- google-android-9.0.0/android
- text
- method
- style
- widget
- guava-30.0/com/google/common/base
- jboss-vfs-3.2/org/jboss/vfs
- jms-api-1/javax/jms
- okhttp-4.9.3
- kotlin
- collections
- jvm
- functions
- internal/markers
- okhttp3
- internal
- cache
- concurrent
- connection
- http2
- http
- io
- tls
- ws
- okio
- org.mybatis-3.5.4/org/apache/ibatis
- annotations
- jdbc
- rabbitmq-4.12.0/com/rabbitmq/client
- retrofit-2.9.0
- kotlin
- collections
- jvm
- functions
- internal/markers
- ranges
- sequences
- text
- retrofit2
- springframework-5.3.8/org/springframework
- 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
- essa
- frameworks
- internal
- objects
- pointsto
- security
- dataflow
- performance
- strings
- types
- web
- falcon
- pyramid
- src
- Classes
- Expressions/Formatting
- Lexical
- Numerics
- Resources
- Security
- CWE-022
- CWE-078
- CWE-079
- CWE-089
- CWE-090
- CWE-094
- CWE-117
- CWE-209
- CWE-215
- CWE-312
- CWE-327
- CWE-352
- examples
- CWE-502
- CWE-601
- CWE-611
- examples
- CWE-643
- CWE-730
- CWE-776
- examples
- CWE-918
- analysis
- change-notes/released
- experimental
- Security
- CWE-022
- CWE-285
- CWE-348
- CWE-611
- CWE-614
- semmle/python
- frameworks
- libraries
- security
- dataflow
- injection
- external
- test
- TestUtilities
- experimental
- dataflow
- qll-private-imports
- typetracking
- library-tests/frameworks/XML
- poc
- meta
- query-tests/Security
- CWE-022
- CWE-113
- CWE-285
- CWE-611-SimpleXmlRpcServer
- CWE-611
- CWE-614
- CWE-943
- library-tests
- ApiGraphs/py3
- PointsTo
- comparisons
- global
- inheritance
- new
- attributes
- descriptors
- frameworks
- django-v2-v3
- testapp
- testproj
- flask
- lxml
- stdlib-py3
- stdlib
- xmltodict
- security/command-execution
- web/django
- query-tests
- Numerics
- Security
- CWE-022-PathInjection
- CWE-090-LdapInjection
- CWE-611-Xxe
- CWE-730-PolynomialReDoS
- CWE-776-XmlBomb
- CWE-918-ServerSideRequestForgery
- ql
- ql
- src
- codeql_ql
- ast
- internal
- dataflow
- internal
- style
- docs
- ide-contextual-queries
- queries
- performance
- reports
- style
- docs
- test
- TestUtilities
- dataflow/getAStringValue
- printAst
- queries
- performance/VarUnusedInDisjunct
- style
- AcronymsShouldBeCamelCase
- Misspelling
- scripts
- ruby
- downgrades/1199e154f5e9b3560297633c6ebb4dfe0b191ae4
- extractor
- src
- generator
- ql
- examples
- lib
- change-notes
- released
- codeql/ruby
- ast
- internal
- controlflow/internal
- dataflow
- internal
- tainttracking1
- tainttrackingforlibraries
- frameworks
- core
- internal
- data/internal
- http_clients
- regexp
- security
- internal
- performance
- typetracking
- upgrades/9fdd1d40fd3c3f8f9db8fabf5a353580d14c663a
- src
- change-notes
- released
- ide-contextual-queries
- queries/security
- cwe-020
- examples
- cwe-079
- cwe-116
- examples
- cwe-300
- examples
- cwe-352
- cwe-829
- examples
- cwe-918
- test
- TestUtilities
- library-tests
- ast
- calls
- literals
- params
- controlflow/graph
- dataflow
- array-flow
- barrier-guards
- call-sensitivity
- string-flow
- summaries
- type-tracker
- frameworks
- core
- files
- http_clients
- modules
- regexp
- variables
- query-tests/security
- cwe-020/MissingRegExpAnchor
- cwe-116
- BadTagFilter
- IncompleteSanitization
- cwe-300
- cwe-829
- swift
- codegen
- lib
- templates
- test
- extractor
- trap
- visitors
- ql/lib/codeql/swift
- elements
- decl
- expr
- pattern
- stmt
- typerepr
- type
- generated
- decl
- expr
- pattern
- stmt
- typerepr
- type
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
3,062 files changed
+168368
-54141
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: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
|
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: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
|
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 | + |
0 commit comments