Commit d63cc3d
File tree
4,026 files changed
+268462
-93569
lines changed- .github/ISSUE_TEMPLATE
- change-notes
- 1.22
- 1.23
- support
- config
- cpp
- ql
- examples
- snippets
- src
- Architecture/Refactoring Opportunities
- Best Practices
- Likely Errors
- Magic Constants
- Unused Entities
- Critical
- Documentation
- JPL_C
- LOC-2
- Rule 03
- Rule 04
- Rule 05
- Rule 07
- Rule 09
- Rule 11
- Rule 12
- LOC-3
- Rule 13
- Rule 14
- Rule 15
- Rule 16
- Rule 17
- Rule 18
- Rule 19
- LOC-4
- Rule 20
- Rule 21
- Rule 23
- Rule 24
- Rule 25
- Rule 26
- Rule 27
- Rule 28
- Rule 30
- Rule 31
- Likely Bugs
- Arithmetic
- Conversion
- Format
- JapaneseEra
- Leap Year
- Likely Typos
- Memory Management
- Buffer Overflow
- Padding
- OO
- Protocols/boostorg
- Underspecified Functions
- Metrics
- Classes
- Dependencies
- External
- Files
- Functions
- History
- Internal
- Namespaces
- Microsoft
- SAL
- PointsTo
- Power of 10
- Rule 1
- Rule 2
- Rule 3
- Rule 4
- Rule 5
- Rule 6
- Rule 7
- Rule 8
- Security/CWE
- CWE-022
- CWE-078
- CWE-079
- CWE-089
- CWE-114
- CWE-119
- CWE-120
- CWE-121
- CWE-129
- CWE-131
- CWE-134
- CWE-170
- CWE-190
- CWE-253
- CWE-290
- CWE-311
- CWE-313
- CWE-327
- CWE-367
- CWE-428
- CWE-457
- CWE-468
- CWE-497
- CWE-676
- CWE-704
- CWE-732
- CWE-764
- CWE-807
- CWE-835
- codeql-suites
- external
- examples/filters
- tests
- filters
- jsf
- 3.02 Code Size and Complexity
- 4.04 Environment
- 4.05 Libraries
- 4.06 Pre-Processing Directives
- 4.07 Header Files
- 4.08 Implementation Files
- 4.09 Style
- 4.10 Classes
- 4.11 Namespaces
- 4.12 Templates
- 4.13 Functions
- 4.14 Comments
- 4.15 Declarations and Definitions
- 4.16 Initialization
- 4.17 Types
- 4.18 Constants
- 4.19 Variables
- 4.20 Unions and Bit Fields
- 4.21 Operators
- 4.22 Pointers and References
- 4.23 Type Conversions
- 4.24 Control Flow Structures
- 4.25 Expressions
- 4.26 Memory Allocation
- 4.27 Fault Handling
- 4.28 Portable Code
- lib/section_4_21_Operators
- semmle
- code/cpp
- commons
- unix
- controlflow
- internal
- dataflow
- internal
- tainttracking1
- tainttracking2
- dispatch
- exprs
- headers
- internal
- ir
- dataflow
- internal
- tainttracking1
- tainttracking2
- implementation
- aliased_ssa
- constant
- gvn
- internal
- internal
- internal
- raw
- constant
- gvn
- internal
- internal
- reachability
- unaliased_ssa
- constant
- gvn
- internal
- internal
- reachability
- internal
- metrics
- models
- implementations
- interfaces
- padding
- pointsto
- rangeanalysis
- security
- boostorg/asio
- stmts
- valuenumbering
- uml
- test
- duplication-tests
- constants
- tokenising
- examples
- BadLocking
- expressions
- lgtm-query-examples
- header-variant-tests
- deduplication
- headermaps
- microsoft-pch
- multi-target-includes
- library-tests
- CPP-205
- access
- DerivationAccess
- FieldAccess
- MemberOrFriend
- canAccessClass
- canAccessMember
- allocators
- arguments
- array_expr
- array_sizes
- attributes
- alignment
- availability
- exclusive_locks_required
- gnu_visibility
- nonnull
- routine_attributes
- sal
- stmt_attributes
- type_attributes
- basic_blocks
- blocks
- capture
- cpp
- c
- deduplication
- builtins
- builtins
- complex
- edg
- type_traits
- types
- c++_exceptions
- c11_generic
- calls
- cast_specifiers
- clang_builtin_macros
- clang_c99_default
- clang_ms
- classes
- base_classes
- classes
- derivations
- derivations
- offsets
- structlikeclass
- variadic
- comments/binding
- compiler_generated
- complex_numbers
- conditions
- constants
- constants
- initializerexpr
- initializers
- strlen
- constexpr_if
- controlflow
- assume
- controlflow
- dominance
- guards-ir
- guards
- loopentrycondition
- primitives
- conversions
- cpp11_g
- ctorinits
- dataflow
- additional-flow-to-parameter
- dataflow-edge-tests
- dataflow-tests
- fields
- partialdefinitions
- recursion
- taint-tests
- declarationEntry
- declarationEntry
- local
- more
- declspec/guard
- declstmt
- default_parameters
- defuse
- depends_friends
- depends_initializers
- derived_types
- destructors
- enums
- enums
- multi_file
- exprs_basic
- exprs_cast
- exprs
- comparison_operation
- conditional_decl
- min_max
- unary_operation
- value_categories
- fields
- fields
- segfault
- files
- floats
- float128
- floats
- friends/friends
- fun_decl
- function_try_stmt
- functionpointerish
- functions
- arguments
- constexpr
- functionaccess
- functions
- getathrowntype
- identifiers/qualified_names
- identity_string
- includes
- include_next
- includes
- non_existent
- instantiations
- ir
- constant_func
- constants
- escape
- ir
- ssa
- lambdas
- calling_conv
- captures
- cfg
- languages
- literal_locations
- literals
- aggregate_literals
- literals
- uuidof
- locations/constants
- loops
- macros
- affects
- arguments
- inmacroexpansion
- macros
- members
- getters
- members
- templates
- multiple_declarations
- macroinvocations
- preprocbranch
- name_qualifiers
- namespaces
- namespaces
- same_name
- nested_functions/nested_functions
- noexcept
- copy_from_prototype
- noexcept
- nulltermination
- numlines
- odasa2646
- operators
- opts
- parameters
- parameters
- toStrings
- permissive
- pod
- pointsto
- address-of-assign
- arguments
- basic
- more
- new-virtual
- predefines
- preprocessor
- dependent_defs
- hashing
- hashing
- undef
- linedirective
- macroinvocations
- preprocessor
- proxy_class
- ptr_to_member/segfault
- qlcfg
- qualifiers/class-enum
- question_mark_colon
- rangeanalysis
- RangeSSA
- rangeanalysis
- signanalysis
- reachability
- rvalueCast
- scanf
- scopes
- includes
- parents
- scopes
- sideEffects
- exprs
- functions
- stmts
- special_members
- detect
- generated_copy
- specifiers2
- specifiers3
- specifiers
- static_cast
- stmt_expr
- stmt
- generated_blocks
- stmt
- string_analysis
- string_literals_nul
- string_literals
- structs
- compatible_cpp
- compatible_c
- mutual_recursion
- qualified_names
- structs
- sub_basic_blocks
- switch_cfg
- switch
- synchronization
- syntax-zoo
- templates
- CPP-202
- CPP-203
- CPP-204
- CPP-223
- ambiguous_cctor
- bug
- decls
- dependent_template_alias
- extern
- friends
- functions
- incomplete_instantiations
- instantiation_directive
- instantiations_functions
- isfromtemplateinstantiation
- prototype_bodies
- segfault
- typedefs
- variables
- type_sizes
- type_strings
- typedefs
- types
- __wchar_t
- alignof
- integral_types
- pointertypes
- refersTo
- scope
- segfault
- sizeof
- typeid
- types
- unspecified
- wchar_t_typedef
- unions
- unnamed
- unspecified_type
- types
- unspecified_type
- using-aliases
- usings
- valuenumbering
- GlobalValueNumbering
- HashCons
- variables
- constexpr
- global
- thread_local
- variables
- vector_sizes
- vector_types
- virtual_functions
- cfg
- virtual_functions
- vla
- query-tests
- Best Practices
- Likely Errors/EmptyBlock
- Magic Constants/Japanese Era
- Likely Bugs
- AmbiguouslySignedBitField
- Arithmetic
- BitwiseSignCheck
- ComparisonPrecedence
- ContinueInFalseLoop
- Conversion/CastArrayPointerArithmetic
- Format
- WrongNumberOfFormatArguments
- WrongTypeFormatArguments
- Linux_mixed_byte_wprintf
- Linux_signed_chars
- Linux_two_byte_wprintf
- Linux_unsigned_chars
- Japanese Era
- Leap Year
- Adding365DaysPerYear
- UncheckedLeapYearAfterYearModification
- Memory Management
- AllocaInLoop
- ReturnStackAllocatedMemory
- StackAddressEscapes
- Protocols/boostorg
- asio
- UseInOwnInitializer
- Metrics/Dependencies
- Security/CWE
- CWE-119/semmle/tests
- CWE-120/semmle/tests
- CWE-457/semmle/tests
- definitions
- jsf
- 4.07 Header Files/AV Rule 35
- 4.09 Style/AV Rule 53 54
- 4.13 Functions/AV Rule 114
- successor-tests
- assignexpr
- block/emptyblock
- break_labels
- callexpr
- args
- membercallexpr
- staticmembercallexpr
- noargs
- membercallexpr
- nonmembercallexpr
- nonmemberfp2callexpr
- nonmemberfpcallexpr
- pmcallexpr
- staticmembercallexpr
- conditional_destructors
- deleteexpr
- defdestructordeleteexpr
- deleteexpr
- dostmt
- enum
- exceptionhandler
- ellipsisexceptionhandler
- exceptionhandler
- exprstmt
- fieldaccessexpr
- constmemberaccess
- fieldaccess
- forstmt
- forstmt
- shortforstmt
- tinyforstmt
- gotostmt
- ifstmt
- ifelsestmt
- ifstmt
- initializer
- aggregateinitializer
- constructorinitializer
- initializer
- parameterinitializer
- landexpr
- lorexpr
- ltrbinopexpr
- newexpr
- defconstructornewexpr
- newexpr
- pruning
- questionexpr
- returnstmt
- stackvariables/stackvariables
- staticlocals
- no_dynamic_init
- staticlocals
- stmt_expr
- subscriptexpr/subscriptexpr
- switchstmt
- duff2
- duff
- nodefaultswitchstmt
- switchbody
- switchstmt
- unaryopexpr
- whilestmt
- upgrades
- 0ed3da4a31c3a3dd01d9bb84d7908cf64b9f31a3
- 678a0f9164f610429552ff211ec47d7975123d96
- 7144cc0986f3ab58a568058e143acecc6429c9d1
- 814fae599505510ff15102f4c72600586734770a
- 81a312e6dafdffb650e1c7e3dc02cc37505e2505
- 950219747b684ffdd229775acfcc5267eea3dc4f
- c3e69834734e3ef4170e996c5b96a89619799346
- c4c27a2661b3baaf1cfd8e370320a106b7f41e2e
- cac7e92107084af19112986145f72b8de646c39d
- eb4aee70e25cada13103d62ab38afedb5ceac08f
- csharp
- autobuilder
- Semmle.Autobuild.Tests
- Semmle.Autobuild
- extractor
- Semmle.Extraction.CIL.Driver
- Semmle.Extraction.CIL
- Entities
- Semmle.Extraction.CSharp.Driver
- Semmle.Extraction.CSharp
- Entities
- Expressions
- Statements
- Types
- Kinds
- Populators
- Semmle.Extraction.Tests
- Semmle.Extraction
- Entities
- Semmle.Util
- ql
- examples
- snippets
- src
- API Abuse
- Bad Practices
- Comments
- Implementation Hiding
- Configuration
- Dead Code
- Language Abuse
- Likely Bugs
- Collections
- LeapYear
- Security Features
- CWE-020
- CWE-079
- CWE-091
- CWE-114
- CWE-119
- CWE-321
- CWE-327
- CWE-502
- CWE-838
- CWE-937
- codeql-suites
- semmle/code
- cil
- csharp
- commons
- controlflow
- internal
- dataflow
- internal
- tainttracking1
- tainttracking2
- tainttracking3
- tainttracking4
- tainttracking5
- dispatch
- exprs
- frameworks
- system
- collections
- security/cryptography
- text
- ir
- implementation
- internal
- raw
- constant
- internal
- gvn
- internal
- internal
- common
- desugar
- internal
- reachability
- unaliased_ssa
- constant
- internal
- gvn
- internal
- internal
- reachability
- internal
- rangeanalysis
- security
- cryptography
- dataflow
- xml
- serialization
- dotnet
- test
- library-tests
- assignables
- cil
- consistency
- dataflow
- comments
- commons/ComparisonTest
- controlflow
- graph
- guards
- splits
- conversion
- operator
- reftype
- csharp7
- csharp8
- dataflow
- call-sensitivity
- callablereturnsarg
- fields
- global
- local
- ssa
- dispatch
- expressions
- exprorstmtparent
- fields
- goto
- ir
- ir
- offbyone
- rangeanalysis
- regressions
- query-tests
- API Abuse
- NoDisposeCallOnLocalIDisposable
- UncheckedReturnValue
- Likely Bugs/UnsafeYearConstruction
- Metrics/RefTypes/TNumberOfFields
- Nullness
- Security Features
- CWE-022
- TaintedPath
- ZipSlip
- CWE-078
- CWE-079
- StoredXSS
- XSS
- CWE-089
- CWE-090
- CWE-091/XMLInjection
- CWE-094
- CWE-099
- CWE-112
- CWE-114/AssemblyPathInjection
- CWE-117
- CWE-134
- CWE-201/ExposureInTransmittedData
- CWE-209
- CWE-312
- CWE-321/HardcodedSymmetricEncryptionKey
- CWE-327
- DontInstallRootCert
- InsecureSQLConnection
- CWE-338
- CWE-359
- CWE-502
- DeserializedDelegate
- UnsafeDeserializationUntrustedInput
- UnsafeDeserialization
- CWE-601/UrlRedirect
- CWE-611
- CWE-643
- CWE-730
- ReDoSGlobalTimeout
- ReDoS
- RegexInjection
- CWE-798
- CWE-807
- CWE-838
- upgrades/d8a619a011a649390ee658cbbceaa1241e08f24b
- docs
- language
- global-sphinx-files
- _static
- _templates
- images
- learn-ql
- advanced
- beginner
- cobol
- cpp
- csharp
- go
- javascript
- java
- python
- ql-etudes
- writing-queries
- ql-handbook
- ql-spec
- ql-training
- _static-training
- slides-semmle-2
- static
- js
- polyfills
- prettify
- theme
- css
- scss
- cpp
- java
- query-examples
- cpp
- java
- slide-snippets
- support
- vale-styles
- Microsoft
- Semmle
- javascript
- config/suites/javascript
- documentation
- externs/es
- extractor
- lib/typescript
- src
- src/com/semmle
- jcorn
- js
- ast
- extractor
- test
- parser
- ts
- ast
- extractor
- tests
- cfg/output/trap
- errors/output/trap
- es2018
- input
- output/trap
- esnext
- input
- output/trap
- excludes/output/trap
- flow/output/trap
- json/output/trap
- node/output/trap
- rcfiles/output/trap
- ts
- input
- output/trap
- yaml/output/trap
- ql
- examples
- queries/dataflow
- BackendIdor
- DecodingAfterSanitization
- EvalTaint
- InformationDisclosure
- StoredXss
- TemplateInjection
- snippets
- src
- AngularJS
- DOM
- Declarations
- examples
- Expressions
- JSDoc
- JSLint
- LanguageFeatures
- java
- config/suites/lgtm
- ql
- examples
- snippets
- src
- Likely Bugs
- Comparison
- Concurrency
- Serialization
- Statements
- Metrics
- History
- Internal
- Performance
- Security/CWE
- CWE-022
- CWE-079
- CWE-190
- CWE-209
- CWE-611
- CWE-798
- codeql-suites
- config
- external
- filters
- semmle/code/java
- controlflow
- internal
- dataflow
- internal
- tainttracking1
- tainttracking2
- dispatch
- frameworks
- google
- jackson
- security
- test
- library-tests
- dataflow
- call-sensitivity
- fields
- gettersetter
- inoutbarriers
- partial
- taintreturn
- frameworks
- android/manifest
- guice
- query-tests
- AlertSuppression
- ContainerSizeCmpZero
- ContinueInFalseLoop
- Nullness
- UselessComparisonTest
- security
- CWE-022/semmle/tests
- CWE-079/semmle/tests
- CWE-089/semmle/examples
- CWE-113/semmle/tests
- CWE-129/semmle/tests
- CWE-134/semmle/tests
- CWE-190/semmle/tests
- CWE-327/semmle/tests
- CWE-502
- CWE-601/semmle/tests
- CWE-611
- CWE-681/semmle/tests
- CWE-798/semmle/tests
- CWE-807/semmle/tests
- stubs
- j2objc
- shiro-core-1.4.0
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
4,026 files changed
+268462
-93569
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 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 | + | |
8 | 48 | | |
9 | 49 | | |
10 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 3 | + | |
9 | 4 | | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
13 | 8 | | |
14 | | - | |
15 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
22 | 38 | | |
23 | 39 | | |
24 | | - | |
25 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments