File tree
2,174 files changed
+126609
-57310
lines changed- .github
- change-notes/1.24
- config
- cpp
- config/suites
- cpp
- c
- ql
- src
- Architecture
- General Top-Level Information
- Refactoring Opportunities
- Best Practices
- Likely Errors
- Magic Constants
- Critical
- Documentation
- JPL_C
- LOC-2
- Rule 03
- Rule 04
- Rule 09
- LOC-4
- Rule 24
- Rule 26
- Rule 31
- Likely Bugs
- Arithmetic
- Conversion
- Format
- Leap Year
- Likely Typos
- Memory Management
- Protocols
- Underspecified Functions
- Metrics
- Classes
- Dependencies
- Files
- Functions
- History
- Microsoft
- Power of 10
- Rule 1
- Rule 2
- Rule 4
- Rule 5
- Security/CWE
- CWE-119
- CWE-129
- CWE-131
- CWE-190
- CWE-253
- CWE-367
- CWE-428
- CWE-457
- CWE-468
- CWE-732
- experimental
- external
- jsf
- 4.07 Header Files
- 4.09 Style
- 4.10 Classes
- 4.11 Namespaces
- 4.13 Functions
- 4.15 Declarations and Definitions
- 4.17 Types
- 4.21 Operators
- semmle/code/cpp
- commons
- unix
- controlflow
- internal
- dataflow
- internal
- exprs
- headers
- internal
- ir
- dataflow
- internal
- implementation
- aliased_ssa
- gvn
- internal
- internal
- internal
- raw
- gvn
- internal
- internal
- reachability
- unaliased_ssa
- gvn
- internal
- internal
- reachability
- internal
- metrics
- models
- implementations
- interfaces
- padding
- rangeanalysis
- security
- stmts
- valuenumbering
- test
- TestUtilities
- experimental
- library-tests
- CPP-205
- allocators
- arguments
- basic_blocks
- c++_exceptions
- clang_ms
- conditions
- constexpr_if
- controlflow_stresstest
- controlflow
- controlflow
- guards-ir
- stackvariablereachability
- dataflow
- DefaultTaintTracking
- crement
- dataflow-tests
- fields
- security-taint
- taint-tests
- variable
- defuse
- deprecated
- destructors
- files
- functions
- unused_mut
- unused
- ir
- constant_func
- escape
- ir
- points_to
- ssa
- lambdas
- captures
- cfg
- literal_locations
- locations/overloaded_operators
- macros/inmacroexpansion
- members/getters
- nested_functions/nested_functions
- nulltermination
- numlines
- permissive
- pointsto/basic
- ptr_to_member/segfault
- range_based_for
- rangeanalysis
- RangeSSA
- rangeanalysis
- signanalysis
- structs/mutual_recursion
- sub_basic_blocks
- syntax-zoo
- templates
- CPP-204
- instantiations_functions
- isfromtemplateinstantiation
- unnamed
- valuenumbering/GlobalValueNumbering
- variables/variables
- virtual_functions/cfg
- vla
- query-tests
- AlertSuppression
- Best Practices/Unused Entities/UnusedStaticFunctions
- Critical
- OverflowCalculated
- OverflowStatic
- Likely Bugs
- Arithmetic/IntMultToLong
- Likely Typos
- AssignWhereCompareMeant
- CompareWhereAssignMeant
- ExprHasNoEffect
- Memory Management
- StrncpyFlippedArgs
- SuspiciousCallToStrncat
- UnsafeUseOfStrcat
- Protocols
- RedundantNullCheckSimple
- Underspecified Functions
- Security/CWE
- CWE-119/semmle
- OverflowStatic
- StrncpyFlippedArgs
- CWE-120/semmle/tests
- CWE-129/semmle/ImproperArrayIndexValidation
- CWE-131/semmle/NoSpaceForZeroTerminator
- CWE-134/semmle
- argv
- funcs
- ifs
- CWE-190/semmle
- TaintedAllocationSize
- extreme
- uncontrolled
- CWE-807/semmle/TaintedCondition
- definitions
- jsf
- 4.10 Classes
- AV Rule 79
- AV Rule 82
- 4.13 Functions/AV Rule 114
- successor-tests
- break_labels
- conditional_destructors
- exceptionhandler
- ellipsisexceptionhandler
- exceptionhandler
- pruning
- returnstmt
- stackvariables/stackvariables
- switchstmt/switchbody
- upgrades/bd182f697bf1316c401421d64e582871331a69f4
- csharp
- autobuilder
- Semmle.Autobuild.Tests
- Semmle.Autobuild
- extractor
- Semmle.Extraction.CIL.Driver
- Semmle.Extraction.CIL
- Entities
- Semmle.Extraction.CSharp.Driver
- Semmle.Extraction.CSharp.Standalone
- Semmle.Extraction.CSharp
- Entities
- Expressions
- Statements
- Types
- Populators
- Semmle.Extraction.Tests
- Semmle.Extraction
- Entities
- Semmle.Util.Tests
- Semmle.Util
- ql
- src
- API Abuse
- Bad Practices
- Implementation Hiding
- Magic Constants
- Complexity
- Concurrency
- Dead Code
- Language Abuse
- Likely Bugs
- Collections
- Dynamic
- Metrics
- Callables
- Files
- RefTypes
- Security Features
- CWE-016
- CWE-020
- CWE-022
- CWE-091
- CWE-114
- CWE-209
- CWE-321
- CWE-327
- CWE-451
- CWE-798
- CWE-838
- Stubs
- Useless code
- experimental
- external
- tests
- semmle
- code
- cil
- csharp
- commons
- controlflow
- internal
- dataflow
- flowsources
- internal
- dispatch
- exprs
- frameworks
- system
- diagnostics
- linq
- test
- ir
- implementation
- internal
- raw
- gvn
- internal
- internal
- desugar
- reachability
- unaliased_ssa
- gvn
- internal
- internal
- reachability
- internal
- rangeanalysis
- metrics
- security
- cryptography
- dataflow
- flowsources
- sinks
- xml
- serialization
- dotnet
- files
- test
- experimental
- library-tests
- assignments
- cil/dataflow
- commons/Assertions
- controlflow
- graph
- guards
- conversion/operator
- csharp7.3
- csharp7
- csharp8
- dataflow
- call-sensitivity
- defuse
- fields
- global
- library
- local
- ssa-large
- types
- expressions
- frameworks
- EntityFramework
- test
- generics
- ir
- ir
- offbyone
- linq
- regressions
- standalone
- controlflow
- errorrecovery
- query-tests
- AlertSuppression
- Dead Code/DeadStoreOfLocal
- Likely Bugs
- DangerousNonShortCircuitLogic
- UnsafeYearConstruction
- Nullness
- Security Features
- CWE-016
- ASPNetMaxRequestLength
- bad
- ASPNetPagesValidateRequest
- ASPNetRequestValidationMode
- CWE-020
- CWE-022
- TaintedPath
- ZipSlip
- CWE-078
- CWE-079
- StoredXSS
- XSS
- CWE-089
- CWE-090
- CWE-094
- CWE-099
- CWE-112
- CWE-117
- CWE-134
- CWE-201/ExposureInTransmittedData
- CWE-209
- CWE-327/DontInstallRootCert
- CWE-338
- CWE-502/UnsafeDeserializationUntrustedInput
- CWE-601/UrlRedirect
- CWE-611
- CWE-643
- CWE-730
- ReDoSGlobalTimeout
- ReDoS
- RegexInjection
- CWE-798
- CWE-807
- CWE-838
- upgrades
- cf21dd4151d107ab649a2a218e7f52e355c43906
- df0118d2d283379d89c2bec5aadda78cdae0b904
- docs
- language
- global-sphinx-files
- learn-ql
- advanced
- beginner
- cpp
- java
- python
- writing-queries
- ql-handbook
- ql-spec
- ql-training
- support
- javascript
- config/suites/javascript
- extractor
- lib/typescript
- src
- src/com/semmle
- jcorn
- js
- ast
- extractor
- test
- parser
- ts
- ast
- extractor
- tests
- errors
- input
- output/trap
- exprs/output/trap
- shebang/output/trap
- ts
- input
- output/trap
- ql
- src
- AngularJS
- Declarations
- Expressions
- examples
- LanguageFeatures
- Metrics
- Performance
- RegExp
- examples
- Security
- CWE-020
- CWE-078
- CWE-079
- examples
- CWE-116
- CWE-352
- CWE-400
- examples
- Summaries
- Statements
- experimental
- external
- meta
- analysis-quality
- extraction-metrics
- semmle/javascript
- dataflow
- internal
- dependencies
- frameworks
- AngularJS
- linters
- security
- dataflow
- performance
- test
- experimental
- library-tests
- CallGraphs/AnnotatedTest
- ClassNode
- Classes
- CustomLoadStoreSteps
- Files
- Flow
- InterProceduralFlow
- Modules
- NPM
- src/node_modules/d
- NodeJS
- Promises
- PropWrite
- RegExp
- Bounds
- predecessors_and_successors
- StringConcatenation
- StringOps/StartsWith
- TaintBarriers
- TaintTracking
- TypeScript
- CallSignatureTypes
- ExpansiveTypes
- ExportNamespaceSpecifier
- Nullability
- OptionalParameters
- PathMapping
- src/lib
- test
- PrivateFields
- QualifiedNameResolution
- RegressionTests
- AllowJs
- EmptyName
- ExportEqualsExpr
- ImportSelf
- node_modules/@blah/foo
- MissingTypeRoot
- RecursiveTypeAlias
- SemicolonInName
- TraceResolution
- node_modules/@types/foo
- TypeRootFile
- SyntaxErrors
- TypeAliases
- TypeAnnotations
- TypeOnlyImportExport
- Types
- dependencies
- frameworks
- Electron
- EventEmitter
- LazyCache
- NodeJSLib
- ReactJS
- SocketIO
- UriLibraries
- WebSocket
- koa
- src
- typeahead
- query-tests
- AlertSuppression
- Declarations
- DeclBeforeUse
- UniqueParameterNames
- Expressions
- ExprHasNoEffect
- MissingAwait
- UnboundEventHandlerReceiver
- LanguageFeatures
- StrictModeCallStackIntrospection
- SyntaxError
- Metrics/ExternalDependencies
- NodeJS/CyclicImport
- Performance/ReDoS
- React/UnusedOrUndefinedStateProperty
- RegExp
- RegExpAlwaysMatches
- UnmatchableCaret
- UnmatchableDollar
- Security
- CWE-022/TaintedPath
- CWE-078
- CWE-079
- CWE-116
- DoubleEscaping
- IncompleteSanitization
- CWE-312
- CWE-352
- CWE-400
- PrototypePollutionUtility
- examples
- CWE-601/ServerSideUrlRedirect
- CWE-730
- CWE-918
- Statements/UseOfReturnlessFunction
- tutorials/Introducing the JavaScript libraries
- upgrades
- 96b0a386b6fb8da2b5f2514f26154a10c906f9c5
- dad09eeeff5cf8c9c2b674d5053c63ab44e091df
- e2173e83ac503be4d7c18472a2d7ce636724510c
- java
- ql
- src
- Advisory/Documentation
- Compatibility/JDK9
- Complexity
- Language Abuse
- Likely Bugs
- Arithmetic
- Comparison
- Concurrency
- Likely Typos
- Resource Leaks
- Statements
- Metrics
- Authors
- Callables
- Files
- Internal
- RefTypes
- Performance
- Security/CWE
- CWE-078
- CWE-089
- CWE-090
- CWE-113
- CWE-190
- CWE-352
- CWE-681
- CWE-798
- CWE-829
- CWE-835
- Violations of Best Practice
- Boolean Logic
- Boxed Types
- Comments
- Magic Constants
- Naming Conventions
- legacy
- config
- experimental
- external
- semmle/code
- java
- comparison
- controlflow
- internal
- dataflow
- internal
- deadcode
- dispatch
- frameworks
- gwt
- jackson
- javaee
- ejb
- spring
- metrics
- metrics
- security
- xml
- test
- experimental
- library-tests
- constants
- dataflow
- call-sensitivity
- gettersetter
- null
- taint-ioutils
- taintgettersetter
- taintsources
- taint
- guards
- typeflow
- query-tests
- AlertSuppression
- ConstantExpAppearsNonConstant
- EmptyInterface
- LShiftLargerThanTypeWidth
- Nullness
- SuspiciousDateFormat
- UselessNullCheck
- security
- CWE-090
- CWE-829/semmle/tests
- stubs
- apache-commons-io-2.6
- org/apache/commons/io
- apache-ldap-1.0.2/org/apache/directory
- api/ldap/model
- cursor
- entry
- exception
- filter
- message
- name
- ldap/client/api
- esapi-2.0.1/org/owasp/esapi
- reference
- spring-ldap-2.3.2/org/springframework/ldap
- core
- filter
- query
- support
- springframework-5.2.3/org/springframework/web/bind/annotation
- unboundid-ldap-4.0.14/com/unboundid/ldap/sdk
- upgrades
- e7706df98aaefcf055f35f50582f2686f41c23bb
- python/ql
- src
- Classes
- Expressions
- Filters
- Functions
- Imports
- Metrics
- Resources
- Security
- CVE-2018-1281
- CWE-020
- CWE-022
- examples
- CWE-078
- examples
- CWE-079
- CWE-089
- CWE-094
- CWE-209
- CWE-215
- CWE-295
- CWE-312
- CWE-326
- CWE-327
- CWE-377
- CWE-502
- CWE-601
- examples
- CWE-732
- CWE-798
- Statements
- Variables
- analysis
- experimental
- external
- semmle/python
- dataflow
- essa
- objects
- pointsto
- security/strings
- types
- web
- bottle
- cherrypy
- client
- django
- falcon
- flask
- pyramid
- tornado
- turbogears
- twisted
- xml
- test
- 2
- library-tests
- PointsTo
- import_time
- origin_uniqueness
- modules
- six
- query-tests
- Expressions
- Variables/undefined
- 3
- library-tests
- PointsTo
- attributes
- import_time
- typehints
- modules
- package_members
- six
- taint/unpacking
- query-tests
- Imports
- encoding_error
- syntax_error
- Variables/undefined
- experimental
- library-tests
- DuplicateCode
- PointsTo
- comparisons
- guarded
- lookup
- new
- returns
- encoding
- modules/duplicate_name
- overrides
- regex
- taint
- collections
- general
- namedtuple
- strings
- unpacking
- thrift
- web
- bottle
- cherrypy
- client
- requests
- six
- stdlib
- django
- falcon
- flask
- pyramid
- tornado
- turbogears
- twisted
- zope
- query-tests
- Expressions/general
- Functions/general
- Imports
- PyCheckerTests
- pkg_notok
- pkg_ok
- cyclic-module-annotations-fp
- deprecated
- unused
- Security
- CWE-022
- CWE-078
- CWE-079
- CWE-094
- CWE-326
- CWE-327
- CWE-377
- CWE-502
- CWE-601
- CWE-732
- CWE-798
- lib
- tornado
- twisted
- web
- zope
- interface
- Statements/general
- Variables/unused
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,174 files changed
+126609
-57310
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 |
| - | |
| 5 | + |
Lines changed: 24 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 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
| 19 | + | |
| 20 | + |
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 |
| |
50 | 56 |
| |
51 | 57 |
| |
|
Lines changed: 50 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 | + |
Lines changed: 45 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 | + |
Lines changed: 42 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 | + |
0 commit comments