File tree
2,152 files changed
+129290
-51912
lines changed- .github
- actions/cache-query-compilation
- workflows
- config
- cpp
- downgrades
- 23f7cbb88a4eb29f30c3490363dc201bc054c5ff
- 73af5058c6899dcdb05754c27ca966aeb3a68c94
- a5bb28ed29f73855d64cc5f939cef977fa8fd19a
- ba86bebea4c7a8235c2fa0e220391fbd4446a087
- ql
- lib
- change-notes
- released
- experimental/semmle/code/cpp
- ir/dataflow/internal
- rangeanalysis
- semantic
- analysis
- semmle/code/cpp
- commons
- controlflow
- internal
- dataflow/internal
- dispatch
- exprs
- ir
- dataflow/internal
- implementation
- aliased_ssa
- internal
- raw
- internal
- unaliased_ssa
- internal
- internal
- metrics
- models
- implementations
- interfaces
- rangeanalysis
- security
- stmts
- valuenumbering
- upgrades
- 625f706f2a44ae8dc3fc168bfe2637e65c30b012
- ba86bebea4c7a8235c2fa0e220391fbd4446a087
- src
- Best Practices
- Likely Errors
- Magic Constants
- Critical
- Documentation
- JPL_C/LOC-4/Rule 23
- Likely Bugs
- Format
- Protocols
- Metrics
- Dependencies
- Files
- Security/CWE
- CWE-022
- CWE-121
- CWE-129
- CWE-131
- CWE-190
- CWE-311
- CWE-367
- CWE-428
- CWE-468
- CWE-732
- change-notes
- released
- experimental/Security/CWE
- CWE-190
- CWE-787
- jsf/4.09 Style
- test
- TestUtilities
- experimental/query-tests/Security/CWE
- CWE-078
- CWE-190/AllocMultiplicationOverflow
- library-tests
- dataflow
- DefaultTaintTracking
- annotate_path_to_sink
- globals
- dataflow-tests
- fields
- source-sink-tests
- exprs/value_categories
- floats/float128
- ir/ir
- syntax-zoo
- templates/type_instantiations
- type_sizes
- types/integral_types
- unspecified_type/types
- variables/variables
- query-tests
- AlertSuppression
- Critical
- MissingCheckScanf
- OverflowCalculated
- SizeCheck
- Metrics/Dependencies
- Security/CWE
- CWE-022
- SAMATE/TaintedPath
- semmle/tests
- CWE-078/semmle/ExecTainted
- CWE-119/semmle/tests
- CWE-120/semmle/tests
- CWE-129/semmle/ImproperArrayIndexValidation
- CWE-131/NoSpaceForZeroTerminator
- CWE-190/semmle/TaintedAllocationSize
- CWE-311/semmle/tests
- csharp
- autobuilder/Semmle.Autobuild.CSharp
- documentation/library-coverage
- downgrades/83aca6b3e4fa38dd2b97b9b51dfc199a2ba9c7f2
- extractor
- Semmle.Extraction.CSharp
- Entities
- Compilations
- Expressions
- Patterns
- PreprocessorDirectives
- Kinds
- Semmle.Util
- ql
- campaigns/Solorigate
- lib
- change-notes/released
- src
- change-notes/released
- lib
- change-notes
- released
- experimental/code/csharp/Cryptography
- ext
- generated
- semmle/code/csharp
- commons
- controlflow/internal
- dataflow
- internal
- rangeanalysis
- exprs
- frameworks
- metrics
- security/dataflow
- flowsources
- upgrades/4ac7d8bcac6f664b1e83c858aa71f8dc761cc603
- src
- Documentation
- Likely Bugs/Dynamic
- Metrics
- Summaries
- internal
- Security Features/CWE-502
- Telemetry
- change-notes
- released
- experimental
- CWE-099
- CWE-918
- Security Features
- CWE-1004
- CWE-614
- dataflow/flowsources
- ir
- implementation
- raw
- unaliased_ssa
- internal
- internal
- rangeanalysis
- meta/frameworks
- utils
- model-generator
- modelconverter
- modelgenerator/internal
- test
- TestUtilities
- library-tests
- csharp11
- dataflow
- external-models
- ext
- global
- library
- frameworks/EntityFramework
- query-tests/AlertSuppression
- utils/model-generator/dataflow
- docs
- codeql
- codeql-language-guides
- ql-language-reference
- ql-training/query-examples
- cpp
- java
- reusables
- writing-codeql-queries
- go
- downgrades/a58b81b1b4c4cccc8ca11731c1db86622f33af57
- extractor
- cli/go-autobuilder
- dbscheme
- ql
- lib
- change-notes
- released
- semmle/go
- controlflow
- dataflow
- internal
- security
- upgrades/90fa7836e0a239f69bbebffcf342e92c240d54bc
- src
- Security
- CWE-022
- CWE-327
- CWE-352
- CWE-640
- change-notes/released
- experimental
- IntegerOverflow
- frameworks
- test
- TestUtilities
- experimental
- CWE-090
- CWE-1004
- CWE-321
- CWE-369
- CWE-79
- CWE-918
- Unsafe
- library-tests/semmle/go
- Types
- dataflow
- ChannelField
- PromotedFields
- frameworks
- Beego
- BeegoOrm
- Chi
- Echo
- Encoding
- Gorestful
- K8sIoApiCoreV1
- K8sIoApimachineryPkgRuntime
- Protobuf
- Revel
- SQL
- Spew
- XNetHtml
- query-tests
- AlertSuppression
- 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
- scripts
- java
- documentation/library-coverage
- kotlin-extractor/src/main/kotlin
- utils
- versions
- v_1_4_32
- v_1_6_0
- v_1_7_20
- ql
- consistency-queries
- integration-tests/all-platforms
- java
- ant-sample
- src/main/java/com/example
- gradle-sample
- gradle
- wrapper
- src
- main/java/com/example
- test/java/com/example
- java-web-jsp
- src/main
- java
- com/acme
- org/eclipse/jetty/demo
- resources
- webapp
- WEB-INF
- tags
- include
- jstl
- spring
- test
- foo
- xml
- xsl
- xss
- maven-sample
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-extract-properties
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-large-xml-files
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-small-xml-files
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-xml-mode-all
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-xml-mode-byname
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-xml-mode-disabled
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-sample-xml-mode-smart
- src
- main
- java/com/example
- resources
- test/java/com/example
- partial-gradle-sample
- gradle
- wrapper
- src
- main/java/com/example
- test/java/com/example
- kotlin
- annotation-id-consistency
- default-parameter-mad-flow
- gradle_kotlinx_serialization
- nullability-annotations
- org/jetbrains/annotations
- zpkg
- repeatable-annotations
- lib
- change-notes
- released
- ext
- experimental
- generated
- semmle/code
- java
- dataflow
- internal
- rangeanalysis
- deadcode
- dispatch
- frameworks
- android
- javaee/ejb
- spring
- metrics
- regex
- security
- xml
- src
- Advisory
- Declarations
- Documentation
- Metrics/Summaries
- Performance
- Security/CWE
- CWE-079
- CWE-089
- CWE-190
- CWE-200
- CWE-295
- Telemetry
- Violations of Best Practice/Comments
- change-notes
- released
- experimental/Security/CWE
- CWE-208
- CWE-348
- CWE-470
- CWE-759
- utils
- flowtestcasegenerator
- model-generator
- modelconverter
- modelgenerator/internal
- stub-generator
- test
- TestUtilities
- experimental/query-tests/security
- CWE-400
- CWE-755
- ext
- TestModels
- TopJdkApis
- kotlin/library-tests
- annotation-accessor-result-type
- annotation_classes
- collection-literals
- dataflow
- notnullexpr
- whenexpr
- exprs
- generics-location
- internal-constructor-called-from-java
- internal-public-alias
- java_and_kotlin_internal
- jvmoverloads-annotation
- jvmstatic-annotation
- literals
- methods
- modifiers
- parameter-defaults
- reflection
- stmts
- variables
- library-tests
- comments
- dataflow
- callback-dispatch
- collections
- entrypoint-types
- external-models
- synth-global
- taintsources
- frameworks
- android
- activity-alias
- content-provider-summaries
- intent
- notification
- taint-database
- apache-collections
- guava
- generated/collect
- handwritten
- jms
- ratpack
- stream
- optional
- query-tests
- AlertSuppression
- Metrics
- GeneratedVsManualCoverage
- LinesOfCode
- Telemetry/UnsupportedExternalAPIs
- security
- CWE-074
- CWE-079/semmle/tests
- CWE-089/semmle/examples
- CWE-094
- CWE-1204
- CWE-129/semmle/tests
- CWE-190/semmle/tests
- CWE-200/semmle/tests
- CWE-295/AndroidMissingCertificatePinning
- Test1
- res/xml
- Test2
- res/xml
- Test3
- res/xml
- Test4
- res/xml
- Test5
- res/xml
- CWE-326
- CWE-347
- CWE-522
- CWE-643
- CWE-730
- CWE-749
- CWE-807/semmle/tests
- CWE-917
- CWE-927
- CWE-940
- stubs/okhttp-4.9.3
- javax
- net
- ssl
- security/cert
- kotlin
- collections
- jvm/functions
- ranges
- sequences
- text
- okhttp3
- okio
- utils/model-generator
- dataflow
- typebasedflow
- javascript
- extractor/src/com/semmle/js/extractor
- ql
- experimental/adaptivethreatmodeling
- lib
- experimental/adaptivethreatmodeling
- modelbuilding/extraction
- src
- test
- endpoint_large_scale
- autogenerated
- NosqlAndSqlInjection/untyped
- TaintedPath
- Xss
- DomBasedXss
- ExceptionXss
- ReflectedXss
- UnsafeHtmlConstruction
- lib/src
- lib2
- src
- UnsafeJQueryPlugin
- XssThroughDom
- XssThroughDom
- BadTagFilter
- DoubleEscaping
- IncompleteSanitization
- lib
- change-notes
- released
- semmle/javascript
- dataflow
- internal
- dependencies
- frameworks
- AngularJS
- data/internal
- minimongo
- mongodb
- mssql
- mysql
- pg
- sequelize
- spanner
- sqlite3
- heuristics
- security
- dataflow
- regexp
- src
- Declarations
- Security
- CWE-020
- CWE-078
- CWE-079
- CWE-089
- CWE-094
- CWE-116
- CWE-117
- CWE-134
- CWE-201/examples
- CWE-346
- CWE-352
- examples
- CWE-400
- CWE-502
- CWE-611
- CWE-643
- CWE-730
- CWE-754/examples
- CWE-770
- CWE-776
- CWE-807
- CWE-915
- change-notes/released
- experimental/heuristics/ql/src/Security
- CWE-020
- CWE-078
- CWE-079
- CWE-089
- CWE-094
- CWE-117
- CWE-134
- CWE-346
- CWE-400
- CWE-502
- CWE-611
- CWE-643
- CWE-730
- CWE-770
- CWE-776
- CWE-807
- CWE-915
- meta/analysis-quality
- test
- library-tests
- DataExtensions
- DataFlow
- frameworks
- HTTP
- NodeJSLib
- ReactNative
- Restify2
- src
- Spife
- lib
- routes
- views
- restify
- query-tests
- AlertSuppression
- Security
- CWE-201
- CWE-400/ReDoS
- CWE-601/ClientSideUrlRedirect
- CWE-754
- tutorials/Introducing the JavaScript libraries
- misc
- bazel
- scripts/models-as-data
- suite-helpers
- change-notes/released
- python
- config/suites/lgtm
- downgrades
- 47e552c4357a04c5735355fad818630daee4a5ac
- 503c0516fba2e5da9570f00eb34ef43025ecb8fb
- ql
- lib
- analysis
- change-notes
- released
- semmle/python
- dataflow
- new
- internal
- old
- essa
- frameworks
- data/internal
- objects
- pointsto
- security
- dataflow
- regexp
- types
- web/turbogears
- upgrades/503c0516fba2e5da9570f00eb34ef43025ecb8fb
- src
- Expressions
- Security
- CWE-020
- CWE-020-ExternalAPIs
- Statements
- analysis
- change-notes
- released
- experimental/semmle/python
- external
- test
- 3/library-tests/PointsTo/typehints
- TestUtilities
- experimental/dataflow
- TestUtil
- basic
- calls
- consistency
- coverage
- exceptions
- fieldflow
- global-flow
- match
- pep_328
- regression
- strange-essaflow
- tainttracking
- basic
- commonSanitizer
- customSanitizer
- defaultAdditionalTaintStep
- defaultAdditionalTaintStep-py3
- unwanted-global-flow
- typetracking
- variable-capture
- library-tests
- ApiGraphs
- py2
- py3
- frameworks/django-orm
- regex
- regexparser
- query-tests
- Classes
- conflicting
- missing-init
- Expressions/eq
- Functions/general
- Variables/unused
- analysis/suppression
- ql
- generator/src
- ql
- src
- codeql-suites
- codeql_ql
- ast
- internal
- style
- queries
- bugs
- performance
- style
- test
- TestUtilities
- modules
- printAst
- queries/style
- DeadCode
- MissingSecurityMetadata
- testcases
- UseInstanceofExtension
- ruby
- extractor/src
- generator/src
- ql
- docs
- lib
- change-notes
- released
- codeql/ruby
- ast
- internal
- dataflow
- internal
- frameworks
- core
- data/internal
- http_clients
- regexp
- internal
- security
- regexp
- typetracking
- src
- change-notes
- released
- queries
- analysis
- meta/internal
- security
- cwe-020
- cwe-022
- cwe-078
- cwe-502
- cwe-798
- test
- TestUtilities
- library-tests
- ast
- calls
- controlflow/graph
- dataflow
- api-graphs
- barrier-guards
- call-sensitivity
- flow-summaries
- global
- hash-flow
- local
- frameworks
- action_mailbox
- globalid
- modules
- query-tests
- AlertSuppression
- analysis
- security
- cwe-022
- cwe-078
- KernelOpen
- NonConstantKernelOpen
- cwe-116/IncompleteMultiCharacterSanitization
- cwe-502/unsafe-deserialization
- swift
- actions/build-and-test
- downgrades/5559b5a367524777b3f6ef3fc285ae81031ca1da
- extractor
- infra
- file
- integration-tests/posix-only
- cross-references
- frontend-invocations
- dir
- hello-world
- ql
- lib
- codeql/swift
- controlflow/internal
- dataflow
- internal
- elements
- decl
- expr
- frameworks/StandardLibrary
- generated
- decl
- expr
- security
- upgrades/62fc609c1ab6ae748ff51362ffa5c368ba834ddf
- src
- queries/Security
- CWE-094
- CWE-1204
- CWE-321
- CWE-757
- CWE-943
- test
- TestUtilities
- extractor-tests
- declarations
- expressions
- generated
- decl
- AccessorDecl
- ClassDecl
- ConcreteFuncDecl
- ConcreteVarDecl
- EnumDecl
- expr
- ConstructorRefCallExpr
- DotSyntaxCallExpr
- EnumIsCaseExpr
- IdentityExpr
- MethodLookupExpr
- MethodRefExpr
- types
- library-tests
- ast
- controlflow/graph
- dataflow
- dataflow
- flowsources
- taint
- elements/expr/methodlookup
- query-tests
- AlertSuppression
- Security
- CWE-079
- CWE-089
- CWE-094
- CWE-1204
- CWE-311
- CWE-327
- CWE-946
- third_party/swift-llvm-support
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,152 files changed
+129290
-51912
lines changedLines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 | 31 |
| |
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
36 | 35 |
| |
37 |
| - | |
| 36 | + | |
38 | 37 |
| |
39 |
| - | |
| 38 | + | |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
|
Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 |
| |
27 | 33 |
| |
28 | 34 |
| |
| |||
50 | 56 |
| |
51 | 57 |
| |
52 | 58 |
| |
| 59 | + | |
| 60 | + | |
53 | 61 |
| |
54 | 62 |
| |
55 | 63 |
| |
56 | 64 |
| |
| 65 | + | |
57 | 66 |
| |
58 | 67 |
| |
59 | 68 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + |
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: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
119 | 118 |
| |
120 | 119 |
| |
| 120 | + | |
| 121 | + | |
121 | 122 |
| |
122 | 123 |
| |
123 | 124 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| 68 | + | |
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
|
Lines changed: 5 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
402 | 402 |
| |
403 | 403 |
| |
404 | 404 |
| |
405 |
| - | |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
414 |
| - | |
415 | 405 |
| |
416 | 406 |
| |
417 | 407 |
| |
| |||
505 | 495 |
| |
506 | 496 |
| |
507 | 497 |
| |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
513 |
| - | |
514 |
| - | |
515 |
| - | |
516 | 498 |
| |
517 | 499 |
| |
518 | 500 |
| |
| |||
531 | 513 |
| |
532 | 514 |
| |
533 | 515 |
| |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
538 |
| - | |
539 | 516 |
| |
540 | 517 |
| |
541 | 518 |
| |
542 | 519 |
| |
543 | 520 |
| |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
544 | 526 |
| |
545 | 527 |
| |
546 | 528 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
0 commit comments