Commit 4283a15
File tree
1,143 files changed
+22528
-23536
lines changed- cpp/ql
- src
- Architecture/Refactoring Opportunities
- Best Practices
- 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
- Padding
- OO
- Underspecified Functions
- Metrics
- Classes
- Dependencies
- External
- Files
- Functions
- History
- Internal
- Namespaces
- Microsoft
- 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-468
- CWE-497
- CWE-676
- CWE-704
- CWE-732
- CWE-764
- CWE-807
- CWE-835
- 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
- exprs
- headers
- internal
- ir
- dataflow
- internal
- implementation
- aliased_ssa
- constant
- gvn
- internal
- raw
- constant
- gvn
- internal
- reachability
- unaliased_ssa
- constant
- gvn
- internal
- reachability
- internal
- metrics
- models
- implementations
- interfaces
- padding
- pointsto
- rangeanalysis
- security
- stmts
- valuenumbering
- uml
- test
- duplication-tests/tokenising
- examples
- BadLocking
- lgtm-query-examples
- header-variant-tests
- deduplication
- 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
- 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
- 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
- min_max
- unary_operation
- value_categories
- fields
- fields
- segfault
- files
- floats
- float128
- floats
- friends/friends
- function_try_stmt
- functionpointerish
- functions
- arguments
- constexpr
- functions
- getathrowntype
- identifiers/qualified_names
- identity_string
- includes
- include_next
- includes
- non_existent
- instantiations
- ir
- constant_func
- constants
- escape
- 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
- 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
- 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
- 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
- usings
- valuenumbering
- GlobalValueNumbering
- HashCons
- variables
- constexpr
- global
- thread_local
- variables
- vector_types
- virtual_functions
- cfg
- virtual_functions
- vla
- query-tests
- Likely Bugs
- Format/WrongTypeFormatArguments
- Linux_mixed_byte_wprintf
- Linux_two_byte_wprintf
- Linux_unsigned_chars
- Memory Management/StackAddressEscapes
- Metrics/Dependencies
- Security/CWE/CWE-457/semmle/tests
- definitions
- jsf/4.09 Style/AV Rule 53 54
- 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
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,143 files changed
+22528
-23536
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 32 | + | |
38 | 33 | | |
39 | 34 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 44 | + | |
52 | 45 | | |
53 | 46 | | |
54 | 47 | | |
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 51 | + | |
61 | 52 | | |
62 | 53 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
70 | 63 | | |
71 | 64 | | |
72 | 65 | | |
73 | 66 | | |
74 | 67 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | | - | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
| |||
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 122 | + | |
| 123 | + | |
128 | 124 | | |
129 | 125 | | |
130 | | - | |
131 | 126 | | |
132 | 127 | | |
133 | 128 | | |
| |||
172 | 167 | | |
173 | 168 | | |
174 | 169 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 170 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
| |||
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | | - | |
120 | 116 | | |
121 | 117 | | |
122 | 118 | | |
| |||
152 | 148 | | |
153 | 149 | | |
154 | 150 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 151 | + | |
| 152 | + | |
158 | 153 | | |
159 | 154 | | |
160 | | - | |
161 | 155 | | |
162 | 156 | | |
163 | 157 | | |
| |||
202 | 196 | | |
203 | 197 | | |
204 | 198 | | |
205 | | - | |
206 | | - | |
207 | | - | |
| 199 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| |||
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | | - | |
| 60 | + | |
| 61 | + | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | | - | |
112 | | - | |
| 110 | + | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 117 | + | |
0 commit comments