File tree
1,997 files changed
+105556
-98346
lines changed- .github
- ISSUE_TEMPLATE
- actions
- cache-query-compilation
- find-latest-bundle
- workflows
- config
- cpp/ql
- lib
- change-notes
- released
- experimental/semmle/code/cpp
- ir/dataflow/internal
- semantic
- analysis
- semmle/code/cpp
- commons
- dataflow/internal
- ir/dataflow
- internal
- models
- implementations
- interfaces
- security
- src
- Critical
- JPL_C/LOC-4/Rule 23
- Likely Bugs
- Metrics/Dependencies
- Security/CWE
- CWE-022
- CWE-079
- CWE-089
- CWE-114
- CWE-120
- CWE-129
- CWE-134
- CWE-170
- CWE-190
- CWE-290
- CWE-311
- CWE-807
- change-notes
- released
- test
- library-tests
- dataflow
- DefaultTaintTracking
- annotate_path_to_sink
- annotate_sinks_only
- globals
- dataflow-tests
- fields
- security-taint
- source-sink-tests
- syntax-zoo
- query-tests
- Critical/MissingCheckScanf
- Metrics/Dependencies
- Security/CWE
- CWE-022
- SAMATE/TaintedPath
- semmle/tests
- CWE-078/semmle/ExecTainted
- CWE-120/semmle/tests
- CWE-311/semmle/tests
- csharp
- autobuilder/Semmle.Autobuild.CSharp
- documentation/library-coverage
- ql
- campaigns/Solorigate
- lib
- change-notes/released
- src
- change-notes/released
- examples/snippets
- integration-tests/posix-only/inherit-env-vars
- lib
- Linq
- change-notes
- released
- ext
- generated
- semmle/code
- asp
- cil
- csharp
- commons
- controlflow/internal
- dataflow
- internal
- rangeanalysis
- frameworks
- microsoft
- system
- security/cryptography
- text
- test
- security
- dataflow
- flowsources
- xml
- serialization
- dotnet
- src
- API Abuse
- Bad Practices
- Naming Conventions
- Concurrency
- Dead Code
- Documentation
- Likely Bugs
- Collections
- LeapYear
- Security Features
- CWE-020
- CWE-091
- CWE-114
- CWE-327
- CWE-384
- Stubs
- Telemetry
- change-notes
- released
- experimental
- CWE-099
- CWE-918
- Security Features
- CWE-327/Azure
- CWE-759
- JsonWebTokenHandler
- Serialization
- backdoor
- ir/implementation/raw/internal/desugar
- meta/frameworks
- utils
- model-generator
- modelconverter
- modelgenerator/internal
- test
- library-tests
- assemblies
- async
- attributes
- cil
- consistency
- dataflow
- enums
- functionPointers
- init-only-prop
- regressions
- typeAnnotations
- commons/Disposal
- constructors
- csharp10
- csharp11
- csharp9
- dataflow
- async
- external-models/ext
- global
- library
- delegates
- enums
- events
- expressions
- fields
- frameworks/EntityFramework
- generics
- indexers
- methods
- namespaces
- nestedtypes
- properties
- types
- query-tests
- Bad Practices/Control-Flow/ConstantCondition
- Telemetry/SupportedExternalApis
- utils/model-generator/dataflow
- docs
- codeql
- codeql-language-guides
- codeql-overview
- images
- codeql-for-visual-studio-code
- ql-language-reference
- ql-training
- query-examples
- cpp
- java
- reusables
- vs-code-basic-instructions
- support
- writing-codeql-queries
- go
- downgrades/a58b81b1b4c4cccc8ca11731c1db86622f33af57
- extractor
- dbscheme
- util
- ql
- lib
- change-notes
- released
- semmle/go
- controlflow
- dataflow/internal
- tainttracking1
- tainttracking2
- frameworks
- security
- upgrades/90fa7836e0a239f69bbebffcf342e92c240d54bc
- src
- Security
- CWE-022
- CWE-601
- CWE-640
- change-notes/released
- test
- experimental
- CWE-090
- CWE-1004
- CWE-321
- CWE-369
- CWE-79
- CWE-918
- Unsafe
- library-tests/semmle/go
- Types
- dataflow/ChannelField
- frameworks
- BeegoOrm
- Beego
- Chi
- Echo
- Encoding
- Gorestful
- Protobuf
- Revel
- SQL
- gogf
- vendor
- github.com/gogf/gf
- database/gdb
- frame/g
- gorqlite
- vendor
- github.com/rqlite/gorqlite
- Spew
- XNetHtml
- query-tests/Security
- CWE-020/IncompleteHostnameRegexp
- CWE-022
- CWE-078
- CWE-079
- CWE-089
- CWE-190
- CWE-209
- CWE-312
- CWE-322
- CWE-326
- CWE-327
- CWE-338/InsecureRandomness
- CWE-352
- CWE-601
- BadRedirectCheck
- OpenUrlRedirect
- CWE-640
- CWE-643
- CWE-918
- javascript
- extractor/src/com/semmle/js/extractor
- test
- ql
- experimental/adaptivethreatmodeling
- lib
- experimental/adaptivethreatmodeling
- modelbuilding
- extraction
- src
- test
- endpoint_large_scale
- endpoint_unit_tests
- modeled_apis
- lib
- change-notes
- released
- semmle/javascript
- dataflow
- internal
- dependencies
- frameworks
- AngularJS
- data/internal
- minimongo
- mongodb
- mssql
- mysql
- pg
- sequelize
- spanner
- sqlite3
- heuristics
- security
- dataflow
- performance
- regexp
- src
- Performance
- Security
- CWE-020
- CWE-116
- CWE-178
- CWE-352
- examples
- CWE-918/examples
- change-notes/released
- test
- ApiGraphs/typed
- library-tests
- DataExtensions
- TaintTracking
- frameworks
- HTTP
- NodeJSLib
- Restify2
- src
- Spife
- lib
- routes
- views
- data
- restify
- query-tests/Security/CWE-400/ReDoS
- java
- documentation/library-coverage
- kotlin-extractor/src/main
- java/com/semmle/extractor/java
- kotlin
- utils
- versions
- v_1_4_32
- v_1_6_0
- v_1_7_20
- ql
- consistency-queries
- integration-tests
- all-platforms/kotlin
- annotation-id-consistency
- ext
- default-parameter-mad-flow
- ext
- gradle_kotlinx_serialization
- jvmoverloads-external-class
- kotlin-interface-inherited-default
- kotlin_compiler_java_source
- kotlin_java_static_fields
- nullability-annotations
- org/jetbrains/annotations
- zpkg
- repeatable-annotations
- linux-only/kotlin/custom_plugin
- lib
- change-notes
- released
- ext
- experimental
- generated
- semmle/code
- java
- dataflow
- internal
- deadcode
- dispatch
- frameworks
- android
- apache
- guava
- jackson
- javaee
- ejb
- jsf
- kotlin
- ratpack
- spring
- regex
- security
- internal
- regexp
- xml
- src
- Advisory/Naming
- Likely Bugs/Serialization
- Security/CWE
- CWE-022
- CWE-079
- CWE-190
- CWE-200
- CWE-614
- Telemetry
- change-notes
- released
- experimental
- Security/CWE
- CWE-020
- CWE-073
- CWE-089
- CWE-200
- CWE-321
- CWE-348
- CWE-400
- CWE-552
- CWE-625
- semmle/code/java/frameworks
- utils
- flowtestcasegenerator
- model-generator
- modelconverter
- modelgenerator/internal
- stub-generator
- test
- experimental/query-tests/security/CWE-089/src/main
- ext
- kotlin
- library-tests
- annotation-accessor-result-type
- annotation_classes
- annotations/jvmName
- arrays-with-variances
- collection-literals
- dataflow
- extensionMethod
- foreach
- func
- notnullexpr
- whenexpr
- exprs
- extensions
- generics-location
- instances
- internal-constructor-called-from-java
- internal-public-alias
- java_and_kotlin_internal
- java_and_kotlin
- jvmoverloads-annotation
- jvmoverloads_flow
- jvmoverloads_generics
- jvmstatic-annotation
- literals
- methods
- modifiers
- parameter-defaults
- reflection
- stmts
- variables
- query-tests/NamingConventionsRefTypes
- library-tests
- dataflow
- callback-dispatch
- collections
- external-models
- synth-global
- taintsources
- frameworks
- android
- activity-alias
- content-provider-summaries
- intent
- notification
- apache-collections
- guava/generated/collect
- stream
- optional
- pathsanitizer
- query-tests
- Telemetry/SupportedExternalApis
- security
- CWE-079/semmle/tests
- CWE-200/semmle/tests
- CWE-311/CWE-614/semmle/tests
- utils/model-generator/dataflow
- misc
- bazel
- scripts
- models-as-data
- suite-helpers
- change-notes/released
- python/ql
- lib
- change-notes
- released
- semmle/python
- dataflow
- new
- internal
- old
- essa
- frameworks
- data/internal
- security
- dataflow
- internal
- src
- Imports
- Security
- CWE-285
- CWE-326
- analysis
- change-notes
- released
- experimental
- Security
- CWE-022bis
- CWE-079
- semmle/python
- meta
- alerts
- analysis-quality
- test
- experimental/dataflow
- basic
- calls
- consistency
- coverage
- fieldflow
- global-flow
- match
- pep_328
- regression
- strange-essaflow
- tainttracking
- basic
- commonSanitizer
- customSanitizer
- defaultAdditionalTaintStep-py3
- defaultAdditionalTaintStep
- unwanted-global-flow
- typetracking
- variable-capture
- library-tests
- ApiGraphs/py3
- frameworks
- data
- django-orm
- query-tests/Security
- CWE-285-PamAuthorization
- CWE-326-WeakCryptoKey
- ruby
- downgrades/1199e154f5e9b3560297633c6ebb4dfe0b191ae4
- ql
- lib
- change-notes
- released
- codeql
- ruby
- ast
- internal
- controlflow
- internal
- dataflow
- internal
- frameworks
- core
- data
- internal
- http_clients
- stdlib
- security
- regexp
- typetracking
- src
- change-notes
- released
- queries
- analysis
- security/cwe-078
- test
- TestUtilities
- library-tests
- controlflow/graph
- dataflow
- barrier-guards
- call-sensitivity
- global
- local
- params
- summaries
- frameworks
- action_mailbox
- active_support
- globalid
- json
- pathname
- modules
- query-tests
- analysis
- security/cwe-078
- CommandInjection
- KernelOpen
- NonConstantKernelOpen
- swift
- actions
- build-and-test
- create-extractor-pack
- print-unextracted
- run-integration-tests
- run-ql-tests
- run-quick-tests
- setup-env
- codegen
- generators
- lib
- templates
- test
- downgrades
- 1a6e9325bd60462e669e524438174deef4476df0
- 62fc609c1ab6ae748ff51362ffa5c368ba834ddf
- extractor
- infra
- file
- remapping
- translators
- trap
- integration-tests
- osx-only
- canonical-case
- hello-xcode
- codeql-swift-autobuild-test.xcodeproj
- codeql-swift-autobuild-test
- posix-only
- frontend-invocations
- dir
- symlinks
- preserve
- Sources
- resolve
- Sources
- ql
- lib
- codeql/swift
- dataflow
- internal
- elements
- decl
- expr
- type
- frameworks
- Alamofire
- StandardLibrary
- generated
- decl
- expr
- pattern
- stmt
- type
- security
- upgrades
- 1a6e9325bd60462e669e524438174deef4476df0
- abbb8c9e8408841c2bc12e3deb2305f062f5399e
- src/queries
- Security
- CWE-022
- CWE-1204
- CWE-135
- CWE-259
- CWE-760
- CWE-916
- Summary
- test
- extractor-tests
- declarations
- generated
- decl
- AccessorDecl
- AssociatedTypeDecl
- ClassDecl
- ConcreteFuncDecl
- ConcreteVarDecl
- EnumDecl
- IfConfigDecl
- ImportDecl
- ModuleDecl
- OpaqueTypeDecl
- ParamDecl
- expr
- AppliedPropertyWrapperExpr
- ConstructorRefCallExpr
- DotSyntaxCallExpr
- DynamicLookupExpr
- EnumIsCaseExpr
- IdentityExpr
- ImplicitConversionExpr
- MethodRefExpr
- ObjectLiteralExpr
- PostfixUnaryExpr
- PropertyWrapperValuePlaceholderExpr
- type
- BuiltinIntegerType
- OpaqueTypeArchetypeType
- OpenedArchetypeType
- ParameterizedProtocolType
- PrimaryArchetypeType
- ProtocolCompositionType
- TupleType
- library-tests
- ast
- controlflow/graph
- dataflow
- dataflow
- flowsources
- taint
- query-tests/Security
- CWE-022
- CWE-079
- third_party/swift-llvm-support
- patches
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,997 files changed
+105556
-98346
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 51 | + | |
58 | 52 | | |
59 | 53 | | |
60 | | - | |
61 | | - | |
| 54 | + | |
| 55 | + | |
| 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 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 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 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
| 65 | + | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | | - | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | | - | |
| 61 | + | |
66 | 62 | | |
| 63 | + | |
67 | 64 | | |
68 | | - | |
| 65 | + | |
0 commit comments