Index: clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
===================================================================
--- clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
+++ clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
@@ -328,6 +328,35 @@
}
}
+static void dumpCoverage(const PathDiagnostic *D,
+ unsigned InputIndentLevel,
+ llvm::raw_fd_ostream &o) {
+ unsigned IndentLevel = InputIndentLevel;
+
+ Indent(o, IndentLevel) << "ExecutedLines\n";
+ Indent(o, IndentLevel) << "\n";
+ IndentLevel++;
+
+ // Mapping from file IDs to executed lines.
+ const std::map> &ExecutedLines =
+ D->getExecutedLines();
+ for (auto I = ExecutedLines.begin(), E = ExecutedLines.end(); I != E; ++I) {
+ Indent(o, IndentLevel) << "" << I->first << "\n";
+ Indent(o, IndentLevel) << "\n";
+ IndentLevel++;
+ for (unsigned LineNo : I->second) {
+ Indent(o, IndentLevel);
+ EmitInteger(o, LineNo) << "\n";
+ }
+ IndentLevel--;
+ Indent(o, IndentLevel) << "\n";
+ }
+ IndentLevel--;
+
+ Indent(o, IndentLevel) << "\n";
+ assert(IndentLevel == InputIndentLevel);
+}
+
void PlistDiagnostics::FlushDiagnosticsImpl(
std::vector &Diags,
FilesMade *filesMade) {
@@ -553,6 +582,8 @@
}
}
+ dumpCoverage(D, /*IndentLevel=*/2, o);
+
// Close up the entry.
o << " \n";
}
Index: clang/test/Analysis/Inputs/expected-plists/NewDelete-path-notes.cpp.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/NewDelete-path-notes.cpp.plist
+++ clang/test/Analysis/Inputs/expected-plists/NewDelete-path-notes.cpp.plist
@@ -208,6 +208,17 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 6
+ 7
+ 9
+ 11
+ 14
+
+
path
@@ -426,7 +437,18 @@
col2
file0
+ ExecutedLines
+
+ 1
+
+ 19
+ 20
+ 24
+ 25
+ 27
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/conditional-path-notes.c.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/conditional-path-notes.c.plist
+++ clang/test/Analysis/Inputs/expected-plists/conditional-path-notes.c.plist
@@ -276,6 +276,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 5
+ 6
+ 10
+
+
path
@@ -456,6 +465,15 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 14
+ 15
+ 19
+
+
path
@@ -602,6 +620,14 @@
col16
file0
+ ExecutedLines
+
+ 1
+
+ 24
+ 25
+
+
path
@@ -748,6 +774,14 @@
col19
file0
+ ExecutedLines
+
+ 1
+
+ 32
+ 33
+
+
path
@@ -894,6 +928,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 40
+ 41
+ 44
+
+
path
@@ -1074,6 +1117,15 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 48
+ 49
+ 53
+
+
path
@@ -1254,6 +1306,15 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 58
+ 59
+ 62
+
+
path
@@ -1497,6 +1558,15 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 67
+ 68
+ 73
+
+
path
@@ -1677,7 +1747,16 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 78
+ 79
+ 82
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/cxx-for-range.cpp.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/cxx-for-range.cpp.plist
+++ clang/test/Analysis/Inputs/expected-plists/cxx-for-range.cpp.plist
@@ -509,6 +509,23 @@
col26
file0
+ ExecutedLines
+
+ 1
+
+ 6
+ 7
+ 8
+ 9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+
+
path
@@ -737,6 +754,17 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 31
+ 32
+ 33
+ 87
+ 88
+
+
path
@@ -1014,6 +1042,25 @@
col26
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 31
+ 32
+ 34
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+
+
path
@@ -1160,6 +1207,22 @@
col22
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 31
+ 32
+ 34
+ 37
+ 38
+ 48
+
+
path
@@ -1437,6 +1500,20 @@
col26
file0
+ ExecutedLines
+
+ 1
+
+ 68
+ 69
+ 72
+ 73
+ 74
+ 75
+ 76
+ 77
+
+
path
@@ -1583,7 +1660,18 @@
col22
file0
+ ExecutedLines
+
+ 1
+
+ 68
+ 69
+ 72
+ 73
+ 83
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist
+++ clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist
@@ -145,6 +145,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 51
+ 52
+ 53
+
+
path
@@ -325,6 +334,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 58
+ 59
+
+
path
@@ -568,6 +587,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 62
+ 63
+ 64
+ 65
+ 66
+
+
path
@@ -748,6 +778,15 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 69
+ 70
+ 71
+
+
path
@@ -991,6 +1030,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 75
+ 76
+ 77
+ 78
+
+
path
@@ -1171,6 +1220,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 82
+ 83
+ 84
+ 85
+
+
path
@@ -1511,6 +1570,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 88
+ 89
+ 90
+ 93
+ 96
+ 97
+
+
path
@@ -1783,6 +1854,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 101
+ 102
+ 103
+ 105
+
+
path
@@ -2045,6 +2126,18 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 117
+ 118
+ 119
+ 120
+ 122
+ 123
+
+
path
@@ -2225,6 +2318,16 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 129
+ 130
+ 131
+ 132
+
+
path
@@ -2274,6 +2377,13 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 140
+
+
path
@@ -2483,6 +2593,16 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 135
+ 136
+ 137
+ 140
+
+
path
@@ -2920,6 +3040,18 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 144
+ 145
+ 146
+ 147
+ 148
+ 150
+
+
path
@@ -3226,6 +3358,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 156
+ 157
+ 158
+ 159
+ 162
+
+
path
@@ -3498,6 +3641,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 165
+ 166
+ 167
+ 168
+ 172
+
+
path
@@ -4003,6 +4157,21 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 175
+ 176
+ 177
+ 178
+ 179
+ 181
+ 183
+ 185
+ 186
+
+
path
@@ -4503,6 +4672,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 189
+ 190
+ 191
+ 192
+
+
path
@@ -5071,6 +5250,19 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 195
+ 196
+ 198
+ 200
+ 202
+ 204
+ 206
+
+
path
@@ -5639,6 +5831,23 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 209
+ 210
+ 211
+ 212
+ 213
+ 214
+ 215
+ 216
+ 217
+ 218
+ 219
+
+
path
@@ -6086,6 +6295,20 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 222
+ 223
+ 225
+ 227
+ 229
+ 230
+ 232
+ 234
+
+
path
@@ -6334,6 +6557,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 238
+ 239
+ 240
+ 241
+
+
path
@@ -6582,6 +6815,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 245
+ 246
+ 247
+ 248
+
+
path
@@ -6893,6 +7136,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 252
+ 254
+ 255
+ 256
+
+
path
@@ -7204,6 +7457,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 260
+ 261
+ 263
+ 264
+
+
path
@@ -7651,6 +7914,17 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 260
+ 261
+ 263
+ 267
+ 268
+
+
path
@@ -8166,6 +8440,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 272
+ 274
+ 276
+ 278
+
+
path
@@ -8579,6 +8863,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 282
+ 283
+ 285
+ 287
+
+
path
@@ -8856,6 +9150,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 290
+ 291
+ 294
+ 297
+ 298
+
+
path
@@ -9065,6 +9370,15 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 309
+ 310
+ 312
+
+
path
@@ -9240,6 +9554,15 @@
col19
file0
+ ExecutedLines
+
+ 1
+
+ 319
+ 320
+ 321
+
+
path
@@ -9638,6 +9961,16 @@
col19
file0
+ ExecutedLines
+
+ 1
+
+ 336
+ 337
+ 340
+ 341
+
+
path
@@ -9861,6 +10194,19 @@
col9
file0
+ ExecutedLines
+
+ 1
+
+ 345
+ 346
+ 347
+ 351
+ 352
+ 353
+ 354
+
+
path
@@ -10007,6 +10353,19 @@
col6
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 382
+ 383
+ 384
+
+
path
@@ -10119,6 +10478,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 391
+ 392
+ 393
+ 394
+
+
path
@@ -10333,6 +10702,18 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 399
+ 400
+ 401
+ 402
+ 403
+ 404
+
+
path
@@ -10576,6 +10957,20 @@
col8
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 419
+ 420
+ 421
+ 422
+
+
path
@@ -10637,6 +11032,13 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 431
+
+
path
@@ -10831,6 +11233,20 @@
col9
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 429
+ 430
+ 431
+ 433
+
+
path
@@ -11011,6 +11427,18 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 446
+ 447
+ 448
+ 449
+
+
path
@@ -11458,6 +11886,23 @@
col26
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 458
+ 459
+ 460
+
+
path
@@ -11934,6 +12379,25 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 459
+ 460
+ 462
+ 463
+ 464
+
+
path
@@ -12473,6 +12937,29 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 459
+ 460
+ 462
+ 467
+ 468
+ 469
+ 470
+ 471
+ 472
+
+
path
@@ -13919,6 +14406,41 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 459
+ 460
+ 462
+ 467
+ 475
+ 476
+ 477
+ 478
+ 479
+ 480
+ 481
+ 483
+ 484
+ 491
+ 492
+ 493
+ 494
+ 497
+ 498
+ 499
+ 500
+
+
path
@@ -15491,6 +16013,42 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 459
+ 460
+ 462
+ 467
+ 475
+ 476
+ 477
+ 478
+ 479
+ 480
+ 481
+ 483
+ 484
+ 491
+ 492
+ 493
+ 494
+ 497
+ 498
+ 503
+ 504
+ 505
+
+
path
@@ -17286,6 +17844,44 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 459
+ 460
+ 462
+ 467
+ 475
+ 476
+ 477
+ 478
+ 479
+ 480
+ 481
+ 483
+ 484
+ 491
+ 492
+ 493
+ 494
+ 497
+ 498
+ 503
+ 508
+ 509
+ 510
+ 512
+
+
path
@@ -19178,6 +19774,46 @@
col22
file0
+ ExecutedLines
+
+ 1
+
+ 438
+ 445
+ 452
+ 453
+ 454
+ 455
+ 456
+ 457
+ 459
+ 460
+ 462
+ 467
+ 475
+ 476
+ 477
+ 478
+ 479
+ 480
+ 481
+ 483
+ 484
+ 491
+ 492
+ 493
+ 494
+ 497
+ 498
+ 503
+ 508
+ 515
+ 516
+ 517
+ 518
+ 521
+
+
path
@@ -19464,6 +20100,18 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 528
+ 529
+ 530
+ 531
+ 532
+ 533
+
+
path
@@ -19704,6 +20352,20 @@
col19
file0
+ ExecutedLines
+
+ 1
+
+ 543
+ 544
+ 547
+ 548
+ 549
+ 551
+ 553
+ 555
+
+
path
@@ -20421,6 +21083,22 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 557
+ 558
+ 559
+ 560
+ 561
+ 562
+ 564
+ 566
+ 567
+ 568
+
+
path
@@ -20567,6 +21245,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 571
+ 572
+ 573
+
+
path
@@ -20750,7 +21437,18 @@
col28
file0
+ ExecutedLines
+
+ 1
+
+ 583
+ 584
+ 585
+ 587
+ 588
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/generics.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/generics.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/generics.m.plist
@@ -145,6 +145,17 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 97
+ 98
+ 99
+ 100
+ 101
+
+
path
@@ -291,6 +302,20 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 97
+ 98
+ 99
+ 100
+ 101
+ 102
+ 103
+ 104
+
+
path
@@ -403,6 +428,22 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 97
+ 98
+ 99
+ 100
+ 101
+ 102
+ 103
+ 104
+ 106
+ 107
+
+
path
@@ -655,6 +696,17 @@
col28
file0
+ ExecutedLines
+
+ 1
+
+ 86
+ 87
+ 88
+ 110
+ 111
+
+
path
@@ -801,6 +853,18 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 114
+ 115
+ 116
+ 117
+ 118
+ 119
+
+
path
@@ -913,6 +977,19 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 114
+ 115
+ 116
+ 117
+ 118
+ 119
+ 121
+
+
path
@@ -1059,6 +1136,17 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 124
+ 125
+ 126
+ 127
+ 128
+
+
path
@@ -1171,6 +1259,18 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 124
+ 125
+ 126
+ 127
+ 128
+ 130
+
+
path
@@ -1317,6 +1417,16 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 133
+ 134
+ 135
+ 136
+
+
path
@@ -1463,6 +1573,19 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 133
+ 134
+ 135
+ 136
+ 137
+ 138
+ 139
+
+
path
@@ -1575,6 +1698,20 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 133
+ 134
+ 135
+ 136
+ 137
+ 138
+ 139
+ 141
+
+
path
@@ -1818,6 +1955,18 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 144
+ 145
+ 146
+ 150
+ 151
+ 153
+
+
path
@@ -1964,6 +2113,15 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 157
+ 158
+ 159
+
+
path
@@ -2144,6 +2302,18 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 184
+ 185
+ 186
+ 187
+ 188
+ 189
+
+
path
@@ -2290,6 +2460,20 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 192
+ 193
+ 194
+ 195
+ 196
+ 197
+ 198
+ 199
+
+
path
@@ -2402,6 +2586,21 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 192
+ 193
+ 194
+ 195
+ 196
+ 197
+ 198
+ 199
+ 201
+
+
path
@@ -2548,6 +2747,20 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 204
+ 205
+ 206
+ 207
+ 208
+ 209
+ 210
+ 211
+
+
path
@@ -2660,6 +2873,21 @@
col2
file0
+ ExecutedLines
+
+ 1
+
+ 204
+ 205
+ 206
+ 207
+ 208
+ 209
+ 210
+ 211
+ 213
+
+
path
@@ -2806,6 +3034,15 @@
col27
file0
+ ExecutedLines
+
+ 1
+
+ 216
+ 219
+ 220
+
+
path
@@ -2952,6 +3189,15 @@
col20
file0
+ ExecutedLines
+
+ 1
+
+ 223
+ 224
+ 225
+
+
path
@@ -3098,6 +3344,15 @@
col20
file0
+ ExecutedLines
+
+ 1
+
+ 228
+ 229
+ 230
+
+
path
@@ -3244,6 +3499,15 @@
col27
file0
+ ExecutedLines
+
+ 1
+
+ 233
+ 234
+ 235
+
+
path
@@ -3453,6 +3717,16 @@
col27
file0
+ ExecutedLines
+
+ 1
+
+ 238
+ 239
+ 240
+ 241
+
+
path
@@ -3599,6 +3873,15 @@
col27
file0
+ ExecutedLines
+
+ 1
+
+ 244
+ 245
+ 246
+
+
path
@@ -3745,6 +4028,15 @@
col20
file0
+ ExecutedLines
+
+ 1
+
+ 249
+ 250
+ 251
+
+
path
@@ -3954,6 +4246,16 @@
col20
file0
+ ExecutedLines
+
+ 1
+
+ 254
+ 255
+ 256
+ 257
+
+
path
@@ -4163,6 +4465,16 @@
col27
file0
+ ExecutedLines
+
+ 1
+
+ 260
+ 261
+ 262
+ 263
+
+
path
@@ -4309,6 +4621,15 @@
col19
file0
+ ExecutedLines
+
+ 1
+
+ 274
+ 275
+ 276
+
+
path
@@ -4455,6 +4776,17 @@
col9
file0
+ ExecutedLines
+
+ 1
+
+ 274
+ 275
+ 276
+ 277
+ 278
+
+
path
@@ -4601,6 +4933,19 @@
col9
file0
+ ExecutedLines
+
+ 1
+
+ 274
+ 275
+ 276
+ 277
+ 278
+ 279
+ 280
+
+
path
@@ -4747,6 +5092,21 @@
col9
file0
+ ExecutedLines
+
+ 1
+
+ 274
+ 275
+ 276
+ 277
+ 278
+ 279
+ 280
+ 281
+ 282
+
+
path
@@ -4990,6 +5350,18 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 286
+ 287
+ 288
+ 289
+ 290
+ 291
+
+
path
@@ -5199,6 +5571,17 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 298
+ 299
+ 300
+ 301
+ 302
+
+
path
@@ -5345,6 +5728,15 @@
col28
file0
+ ExecutedLines
+
+ 1
+
+ 325
+ 326
+ 327
+
+
path
@@ -5491,6 +5883,16 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 325
+ 326
+ 327
+ 328
+
+
path
@@ -5637,6 +6039,15 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 331
+ 332
+ 333
+
+
path
@@ -5817,6 +6228,16 @@
col30
file0
+ ExecutedLines
+
+ 1
+
+ 344
+ 345
+ 346
+ 347
+
+
path
@@ -5997,6 +6418,16 @@
col30
file0
+ ExecutedLines
+
+ 1
+
+ 350
+ 351
+ 352
+ 353
+
+
path
@@ -6143,6 +6574,15 @@
col14
file0
+ ExecutedLines
+
+ 1
+
+ 356
+ 357
+ 358
+
+
path
@@ -6323,6 +6763,16 @@
col19
file0
+ ExecutedLines
+
+ 1
+
+ 362
+ 363
+ 364
+ 365
+
+
path
@@ -6469,6 +6919,16 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 372
+ 373
+ 374
+ 375
+
+
path
@@ -6581,6 +7041,18 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 372
+ 373
+ 374
+ 375
+ 379
+ 380
+
+
path
@@ -6698,7 +7170,17 @@
col70
file0
+ ExecutedLines
+
+ 1
+
+ 388
+ 389
+ 390
+ 391
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist
+++ clang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist
@@ -179,6 +179,18 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 6
+ 7
+ 11
+ 12
+ 13
+ 18
+
+
path
@@ -368,6 +380,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 22
+ 23
+ 26
+ 27
+
+
path
@@ -688,6 +710,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 32
+ 33
+ 38
+ 39
+ 45
+ 47
+
+
path
@@ -908,6 +942,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 57
+ 58
+ 59
+ 60
+
+
path
@@ -1320,6 +1364,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 65
+ 66
+ 67
+ 68
+ 70
+
+
path
@@ -1606,6 +1661,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 73
+ 74
+ 75
+ 76
+ 78
+
+
path
@@ -1892,7 +1958,19 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 81
+ 82
+ 83
+ 84
+ 85
+ 86
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/inline-unique-reports.c.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/inline-unique-reports.c.plist
+++ clang/test/Analysis/Inputs/expected-plists/inline-unique-reports.c.plist
@@ -251,7 +251,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 4
+ 5
+ 13
+ 14
+ 15
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/lambda-notes.cpp.plist
===================================================================
--- /dev/null
+++ clang/test/Analysis/Inputs/expected-plists/lambda-notes.cpp.plist
@@ -0,0 +1,205 @@
+ diagnostics
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line8
+ col3
+ file0
+
+
+ line8
+ col5
+ file0
+
+
+ end
+
+
+ line9
+ col3
+ file0
+
+
+ line9
+ col3
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line9
+ col3
+ file0
+
+ ranges
+
+
+
+ line9
+ col3
+ file0
+
+
+ line12
+ col3
+ file0
+
+
+
+ depth0
+ extended_message
+ The value 0 is assigned to field ''
+ message
+ The value 0 is assigned to field ''
+
+
+ kindevent
+ location
+
+ line9
+ col3
+ file0
+
+ ranges
+
+
+
+ line9
+ col3
+ file0
+
+
+ line12
+ col5
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'operator()'
+ message
+ Calling 'operator()'
+
+
+ kindevent
+ location
+
+ line9
+ col5
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'diagnosticFromLambda'
+ message
+ Entered call from 'diagnosticFromLambda'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line9
+ col5
+ file0
+
+
+ line9
+ col5
+ file0
+
+
+ end
+
+
+ line10
+ col14
+ file0
+
+
+ line10
+ col14
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line10
+ col14
+ file0
+
+ ranges
+
+
+
+ line10
+ col13
+ file0
+
+
+ line10
+ col15
+ file0
+
+
+
+ depth1
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_contextbd4eed3234018edced5efc2ed5562a74
+ issue_context_kindC++ method
+ issue_contextoperator()
+ issue_hash_function_offset1
+ location
+
+ line10
+ col14
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 7
+ 8
+ 9
+ 10
+ 12
+
+
+
+
+
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist
===================================================================
--- /dev/null
+++ clang/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist
@@ -0,0 +1,5262 @@
+ diagnostics
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line11
+ col5
+ file0
+
+
+ line11
+ col6
+ file0
+
+
+ end
+
+
+ line11
+ col9
+ file0
+
+
+ line11
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line11
+ col9
+ file0
+
+ ranges
+
+
+
+ line11
+ col9
+ file0
+
+
+ line11
+ col14
+ file0
+
+
+
+ depth0
+ extended_message
+ Assuming 'in' is > 5
+ message
+ Assuming 'in' is > 5
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line11
+ col9
+ file0
+
+
+ line11
+ col10
+ file0
+
+
+ end
+
+
+ line12
+ col9
+ file0
+
+
+ line12
+ col11
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line12
+ col18
+ file0
+
+ ranges
+
+
+
+ line12
+ col18
+ file0
+
+
+ line12
+ col27
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line12
+ col9
+ file0
+
+
+ line12
+ col11
+ file0
+
+
+ end
+
+
+ line14
+ col9
+ file0
+
+
+ line14
+ col9
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line14
+ col9
+ file0
+
+
+ line14
+ col9
+ file0
+
+
+ end
+
+
+ line16
+ col5
+ file0
+
+
+ line16
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line16
+ col5
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'p'
+ message
+ Potential leak of memory pointed to by 'p'
+
+
+ descriptionPotential leak of memory pointed to by 'p'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_contextc60b35a3e46fd104f362f430a1eaca5d
+ issue_context_kindfunction
+ issue_contextdiagnosticTest
+ issue_hash_function_offset2
+ location
+
+ line16
+ col5
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 10
+ 11
+ 12
+ 13
+ 14
+ 16
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line20
+ col5
+ file0
+
+
+ line20
+ col7
+ file0
+
+
+ end
+
+
+ line21
+ col5
+ file0
+
+
+ line21
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line21
+ col9
+ file0
+
+ ranges
+
+
+
+ line21
+ col9
+ file0
+
+
+ line21
+ col30
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line21
+ col5
+ file0
+
+
+ line21
+ col5
+ file0
+
+
+ end
+
+
+ line22
+ col5
+ file0
+
+
+ line22
+ col5
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line22
+ col5
+ file0
+
+
+ line22
+ col5
+ file0
+
+
+ end
+
+
+ line23
+ col1
+ file0
+
+
+ line23
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line23
+ col1
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'A'
+ message
+ Potential leak of memory pointed to by 'A'
+
+
+ descriptionPotential leak of memory pointed to by 'A'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context9b732ec46c4a08108dfbd37aa0955c51
+ issue_context_kindfunction
+ issue_contextmyArrayAllocation
+ issue_hash_function_offset2
+ location
+
+ line23
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 19
+ 20
+ 21
+ 22
+ 23
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line26
+ col18
+ file0
+
+ ranges
+
+
+
+ line26
+ col18
+ file0
+
+
+ line26
+ col28
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line26
+ col5
+ file0
+
+
+ line26
+ col8
+ file0
+
+
+ end
+
+
+ line28
+ col5
+ file0
+
+
+ line28
+ col7
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line28
+ col18
+ file0
+
+ ranges
+
+
+
+ line28
+ col18
+ file0
+
+
+ line28
+ col40
+ file0
+
+
+
+ depth0
+ extended_message
+ Attempt to reallocate memory
+ message
+ Attempt to reallocate memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line28
+ col5
+ file0
+
+
+ line28
+ col7
+ file0
+
+
+ end
+
+
+ line29
+ col5
+ file0
+
+
+ line29
+ col6
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line29
+ col5
+ file0
+
+
+ line29
+ col6
+ file0
+
+
+ end
+
+
+ line29
+ col9
+ file0
+
+
+ line29
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line29
+ col9
+ file0
+
+ ranges
+
+
+
+ line29
+ col9
+ file0
+
+
+ line29
+ col12
+ file0
+
+
+
+ depth0
+ extended_message
+ Assuming 'tmp' is null
+ message
+ Assuming 'tmp' is null
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line29
+ col9
+ file0
+
+
+ line29
+ col9
+ file0
+
+
+ end
+
+
+ line29
+ col5
+ file0
+
+
+ line29
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line29
+ col5
+ file0
+
+ ranges
+
+
+
+ line29
+ col5
+ file0
+
+
+ line29
+ col6
+ file0
+
+
+
+ depth0
+ extended_message
+ Reallocation failed
+ message
+ Reallocation failed
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line29
+ col5
+ file0
+
+
+ line29
+ col6
+ file0
+
+
+ end
+
+
+ line30
+ col9
+ file0
+
+
+ line30
+ col14
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line30
+ col9
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'buf'
+ message
+ Potential leak of memory pointed to by 'buf'
+
+
+ descriptionPotential leak of memory pointed to by 'buf'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context37c0b1a1e65d26af6f9fb840cf159149
+ issue_context_kindfunction
+ issue_contextreallocDiagnostics
+ issue_hash_function_offset1
+ location
+
+ line30
+ col9
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line45
+ col3
+ file0
+
+
+ line45
+ col6
+ file0
+
+
+ end
+
+
+ line45
+ col15
+ file0
+
+
+ line45
+ col21
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line45
+ col15
+ file0
+
+ ranges
+
+
+
+ line45
+ col15
+ file0
+
+
+ line45
+ col23
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'wrapper'
+ message
+ Calling 'wrapper'
+
+
+ kindevent
+ location
+
+ line36
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'test_wrapper'
+ message
+ Entered call from 'test_wrapper'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line36
+ col1
+ file0
+
+
+ line36
+ col4
+ file0
+
+
+ end
+
+
+ line37
+ col3
+ file0
+
+
+ line37
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line37
+ col13
+ file0
+
+ ranges
+
+
+
+ line37
+ col13
+ file0
+
+
+ line37
+ col23
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line37
+ col3
+ file0
+
+
+ line37
+ col6
+ file0
+
+
+ end
+
+
+ line39
+ col3
+ file0
+
+
+ line39
+ col4
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line39
+ col3
+ file0
+
+
+ line39
+ col4
+ file0
+
+
+ end
+
+
+ line39
+ col7
+ file0
+
+
+ line39
+ col7
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line39
+ col7
+ file0
+
+ ranges
+
+
+
+ line39
+ col7
+ file0
+
+
+ line39
+ col7
+ file0
+
+
+
+ depth1
+ extended_message
+ Assuming 'x' is non-null
+ message
+ Assuming 'x' is non-null
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line39
+ col7
+ file0
+
+
+ line39
+ col7
+ file0
+
+
+ end
+
+
+ line40
+ col5
+ file0
+
+
+ line40
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line45
+ col15
+ file0
+
+ ranges
+
+
+
+ line45
+ col15
+ file0
+
+
+ line45
+ col23
+ file0
+
+
+
+ depth0
+ extended_message
+ Returned allocated memory
+ message
+ Returned allocated memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line45
+ col15
+ file0
+
+
+ line45
+ col21
+ file0
+
+
+ end
+
+
+ line45
+ col3
+ file0
+
+
+ line45
+ col6
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line45
+ col3
+ file0
+
+
+ line45
+ col6
+ file0
+
+
+ end
+
+
+ line46
+ col3
+ file0
+
+
+ line46
+ col3
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line46
+ col3
+ file0
+
+
+ line46
+ col3
+ file0
+
+
+ end
+
+
+ line47
+ col1
+ file0
+
+
+ line47
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line47
+ col1
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'buf'
+ message
+ Potential leak of memory pointed to by 'buf'
+
+
+ descriptionPotential leak of memory pointed to by 'buf'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context384d1700f3d9c8eeea96d171e3030bdf
+ issue_context_kindfunction
+ issue_contexttest_wrapper
+ issue_hash_function_offset1
+ location
+
+ line47
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 36
+ 37
+ 39
+ 40
+ 44
+ 45
+ 46
+ 47
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line61
+ col5
+ file0
+
+
+ line61
+ col8
+ file0
+
+
+ end
+
+
+ line62
+ col5
+ file0
+
+
+ line62
+ col22
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line62
+ col5
+ file0
+
+ ranges
+
+
+
+ line62
+ col5
+ file0
+
+
+ line62
+ col28
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'my_malloc_and_free'
+ message
+ Calling 'my_malloc_and_free'
+
+
+ kindevent
+ location
+
+ line54
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'test_double_action_call'
+ message
+ Entered call from 'test_double_action_call'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line54
+ col1
+ file0
+
+
+ line54
+ col4
+ file0
+
+
+ end
+
+
+ line55
+ col5
+ file0
+
+
+ line55
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line55
+ col10
+ file0
+
+ ranges
+
+
+
+ line55
+ col10
+ file0
+
+
+ line55
+ col20
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line55
+ col5
+ file0
+
+
+ line55
+ col5
+ file0
+
+
+ end
+
+
+ line56
+ col5
+ file0
+
+
+ line56
+ col6
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line56
+ col5
+ file0
+
+
+ line56
+ col6
+ file0
+
+
+ end
+
+
+ line56
+ col9
+ file0
+
+
+ line56
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line56
+ col9
+ file0
+
+ ranges
+
+
+
+ line56
+ col9
+ file0
+
+
+ line56
+ col10
+ file0
+
+
+
+ depth1
+ extended_message
+ Assuming the condition is true
+ message
+ Assuming the condition is true
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line56
+ col9
+ file0
+
+
+ line56
+ col9
+ file0
+
+
+ end
+
+
+ line57
+ col7
+ file0
+
+
+ line57
+ col13
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line57
+ col7
+ file0
+
+ ranges
+
+
+
+ line57
+ col7
+ file0
+
+
+ line57
+ col17
+ file0
+
+
+
+ depth1
+ extended_message
+ Calling 'my_free'
+ message
+ Calling 'my_free'
+
+
+ kindevent
+ location
+
+ line51
+ col1
+ file0
+
+ depth2
+ extended_message
+ Entered call from 'my_malloc_and_free'
+ message
+ Entered call from 'my_malloc_and_free'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line51
+ col1
+ file0
+
+
+ line51
+ col4
+ file0
+
+
+ end
+
+
+ line52
+ col5
+ file0
+
+
+ line52
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line52
+ col5
+ file0
+
+ ranges
+
+
+
+ line52
+ col5
+ file0
+
+
+ line52
+ col11
+ file0
+
+
+
+ depth2
+ extended_message
+ Memory is released
+ message
+ Memory is released
+
+
+ kindevent
+ location
+
+ line57
+ col7
+ file0
+
+ ranges
+
+
+
+ line57
+ col7
+ file0
+
+
+ line57
+ col17
+ file0
+
+
+
+ depth1
+ extended_message
+ Returning; memory was released via 1st parameter
+ message
+ Returning; memory was released via 1st parameter
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line57
+ col7
+ file0
+
+
+ line57
+ col13
+ file0
+
+
+ end
+
+
+ line58
+ col5
+ file0
+
+
+ line58
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line62
+ col5
+ file0
+
+ ranges
+
+
+
+ line62
+ col5
+ file0
+
+
+ line62
+ col28
+ file0
+
+
+
+ depth0
+ extended_message
+ Returning; memory was released via 1st parameter
+ message
+ Returning; memory was released via 1st parameter
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line62
+ col5
+ file0
+
+
+ line62
+ col22
+ file0
+
+
+ end
+
+
+ line63
+ col5
+ file0
+
+
+ line63
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line63
+ col5
+ file0
+
+ ranges
+
+
+
+ line63
+ col12
+ file0
+
+
+ line63
+ col14
+ file0
+
+
+
+ depth0
+ extended_message
+ Use of memory after it is freed
+ message
+ Use of memory after it is freed
+
+
+ descriptionUse of memory after it is freed
+ categoryMemory error
+ typeUse-after-free
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context422436dc85b85cde7e15046a5616ee99
+ issue_context_kindfunction
+ issue_contexttest_double_action_call
+ issue_hash_function_offset3
+ location
+
+ line63
+ col5
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 51
+ 52
+ 54
+ 55
+ 56
+ 57
+ 58
+ 60
+ 61
+ 62
+ 63
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line76
+ col25
+ file0
+
+ ranges
+
+
+
+ line76
+ col25
+ file0
+
+
+ line76
+ col35
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line76
+ col5
+ file0
+
+
+ line76
+ col8
+ file0
+
+
+ end
+
+
+ line77
+ col5
+ file0
+
+
+ line77
+ col7
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line77
+ col5
+ file0
+
+
+ line77
+ col7
+ file0
+
+
+ end
+
+
+ line77
+ col11
+ file0
+
+
+ line77
+ col20
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line77
+ col11
+ file0
+
+ ranges
+
+
+
+ line77
+ col11
+ file0
+
+
+ line77
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'my_realloc'
+ message
+ Calling 'my_realloc'
+
+
+ kindevent
+ location
+
+ line67
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'reallocIntra'
+ message
+ Entered call from 'reallocIntra'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line67
+ col1
+ file0
+
+
+ line67
+ col4
+ file0
+
+
+ end
+
+
+ line68
+ col5
+ file0
+
+
+ line68
+ col8
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line68
+ col5
+ file0
+
+
+ line68
+ col8
+ file0
+
+
+ end
+
+
+ line69
+ col5
+ file0
+
+
+ line69
+ col7
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line69
+ col18
+ file0
+
+ ranges
+
+
+
+ line69
+ col18
+ file0
+
+
+ line69
+ col40
+ file0
+
+
+
+ depth1
+ extended_message
+ Attempt to reallocate memory
+ message
+ Attempt to reallocate memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line69
+ col5
+ file0
+
+
+ line69
+ col7
+ file0
+
+
+ end
+
+
+ line70
+ col5
+ file0
+
+
+ line70
+ col6
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line70
+ col5
+ file0
+
+
+ line70
+ col6
+ file0
+
+
+ end
+
+
+ line70
+ col9
+ file0
+
+
+ line70
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line70
+ col9
+ file0
+
+ ranges
+
+
+
+ line70
+ col9
+ file0
+
+
+ line70
+ col12
+ file0
+
+
+
+ depth1
+ extended_message
+ Assuming 'tmp' is null
+ message
+ Assuming 'tmp' is null
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line70
+ col9
+ file0
+
+
+ line70
+ col9
+ file0
+
+
+ end
+
+
+ line70
+ col5
+ file0
+
+
+ line70
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line70
+ col5
+ file0
+
+ ranges
+
+
+
+ line70
+ col5
+ file0
+
+
+ line70
+ col6
+ file0
+
+
+
+ depth1
+ extended_message
+ Reallocation failed
+ message
+ Reallocation failed
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line70
+ col5
+ file0
+
+
+ line70
+ col6
+ file0
+
+
+ end
+
+
+ line71
+ col9
+ file0
+
+
+ line71
+ col14
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line77
+ col11
+ file0
+
+ ranges
+
+
+
+ line77
+ col11
+ file0
+
+
+ line77
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Reallocation of 1st parameter failed
+ message
+ Reallocation of 1st parameter failed
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line77
+ col11
+ file0
+
+
+ line77
+ col20
+ file0
+
+
+ end
+
+
+ line77
+ col5
+ file0
+
+
+ line77
+ col7
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line77
+ col5
+ file0
+
+
+ line77
+ col7
+ file0
+
+
+ end
+
+
+ line78
+ col5
+ file0
+
+
+ line78
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line78
+ col5
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'buf'
+ message
+ Potential leak of memory pointed to by 'buf'
+
+
+ descriptionPotential leak of memory pointed to by 'buf'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context23a6c295a515c455bea1c81519bc05b6
+ issue_context_kindfunction
+ issue_contextreallocIntra
+ issue_hash_function_offset1
+ location
+
+ line78
+ col5
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 67
+ 68
+ 69
+ 70
+ 71
+ 75
+ 76
+ 77
+ 78
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line86
+ col5
+ file0
+
+
+ line86
+ col8
+ file0
+
+
+ end
+
+
+ line87
+ col5
+ file0
+
+
+ line87
+ col5
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line87
+ col5
+ file0
+
+
+ line87
+ col5
+ file0
+
+
+ end
+
+
+ line87
+ col9
+ file0
+
+
+ line87
+ col26
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line87
+ col9
+ file0
+
+ ranges
+
+
+
+ line87
+ col9
+ file0
+
+
+ line87
+ col28
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'malloc_wrapper_ret'
+ message
+ Calling 'malloc_wrapper_ret'
+
+
+ kindevent
+ location
+
+ line82
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_ret'
+ message
+ Entered call from 'use_ret'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line82
+ col1
+ file0
+
+
+ line82
+ col6
+ file0
+
+
+ end
+
+
+ line83
+ col5
+ file0
+
+
+ line83
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line83
+ col19
+ file0
+
+ ranges
+
+
+
+ line83
+ col19
+ file0
+
+
+ line83
+ col28
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindevent
+ location
+
+ line87
+ col9
+ file0
+
+ ranges
+
+
+
+ line87
+ col9
+ file0
+
+
+ line87
+ col28
+ file0
+
+
+
+ depth0
+ extended_message
+ Returned allocated memory
+ message
+ Returned allocated memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line87
+ col9
+ file0
+
+
+ line87
+ col26
+ file0
+
+
+ end
+
+
+ line87
+ col5
+ file0
+
+
+ line87
+ col5
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line87
+ col5
+ file0
+
+
+ line87
+ col5
+ file0
+
+
+ end
+
+
+ line88
+ col1
+ file0
+
+
+ line88
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line88
+ col1
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'v'
+ message
+ Potential leak of memory pointed to by 'v'
+
+
+ descriptionPotential leak of memory pointed to by 'v'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context45181c7fc1df81a732346f1ed1b3f238
+ issue_context_kindfunction
+ issue_contextuse_ret
+ issue_hash_function_offset2
+ location
+
+ line88
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 82
+ 83
+ 85
+ 86
+ 87
+ 88
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line98
+ col3
+ file0
+
+
+ line98
+ col6
+ file0
+
+
+ end
+
+
+ line100
+ col3
+ file0
+
+
+ line100
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line100
+ col12
+ file0
+
+ ranges
+
+
+
+ line100
+ col12
+ file0
+
+
+ line100
+ col30
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line100
+ col3
+ file0
+
+
+ line100
+ col5
+ file0
+
+
+ end
+
+
+ line101
+ col3
+ file0
+
+
+ line101
+ col20
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line101
+ col3
+ file0
+
+ ranges
+
+
+
+ line101
+ col3
+ file0
+
+
+ line101
+ col35
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'myfree_takingblock'
+ message
+ Calling 'myfree_takingblock'
+
+
+ kindevent
+ location
+
+ line93
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'call_myfree_takingblock'
+ message
+ Entered call from 'call_myfree_takingblock'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line93
+ col1
+ file0
+
+
+ line93
+ col4
+ file0
+
+
+ end
+
+
+ line94
+ col3
+ file0
+
+
+ line94
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line94
+ col3
+ file0
+
+ ranges
+
+
+
+ line94
+ col3
+ file0
+
+
+ line94
+ col9
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is released
+ message
+ Memory is released
+
+
+ kindevent
+ location
+
+ line101
+ col3
+ file0
+
+ ranges
+
+
+
+ line101
+ col3
+ file0
+
+
+ line101
+ col35
+ file0
+
+
+
+ depth0
+ extended_message
+ Returning; memory was released via 2nd parameter
+ message
+ Returning; memory was released via 2nd parameter
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line101
+ col3
+ file0
+
+
+ line101
+ col20
+ file0
+
+
+ end
+
+
+ line102
+ col3
+ file0
+
+
+ line102
+ col3
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line102
+ col3
+ file0
+
+
+ line102
+ col3
+ file0
+
+
+ end
+
+
+ line102
+ col6
+ file0
+
+
+ line102
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line102
+ col6
+ file0
+
+ ranges
+
+
+
+ line102
+ col3
+ file0
+
+
+ line102
+ col4
+ file0
+
+
+
+ depth0
+ extended_message
+ Use of memory after it is freed
+ message
+ Use of memory after it is freed
+
+
+ descriptionUse of memory after it is freed
+ categoryMemory error
+ typeUse-after-free
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context652c97005df876a65d64ecd286d6030a
+ issue_context_kindfunction
+ issue_contextcall_myfree_takingblock
+ issue_hash_function_offset5
+ location
+
+ line102
+ col6
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 93
+ 94
+ 97
+ 98
+ 100
+ 101
+ 102
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line107
+ col5
+ file0
+
+
+ line107
+ col7
+ file0
+
+
+ end
+
+
+ line109
+ col5
+ file0
+
+
+ line109
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line109
+ col15
+ file0
+
+ ranges
+
+
+
+ line109
+ col15
+ file0
+
+
+ line109
+ col24
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line109
+ col5
+ file0
+
+
+ line109
+ col5
+ file0
+
+
+ end
+
+
+ line115
+ col5
+ file0
+
+
+ line115
+ col6
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line115
+ col5
+ file0
+
+ depth0
+ extended_message
+ Potential leak of memory pointed to by 'm'
+ message
+ Potential leak of memory pointed to by 'm'
+
+
+ descriptionPotential leak of memory pointed to by 'm'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_contextd8483ccf1d5a1af1e8bcaac6905a18b3
+ issue_context_kindfunction
+ issue_contextLeakedSymbol
+ issue_hash_function_offset3
+ location
+
+ line115
+ col5
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 106
+ 107
+ 108
+ 109
+ 110
+ 111
+ 112
+ 113
+ 114
+ 115
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line123
+ col5
+ file0
+
+ ranges
+
+
+
+ line123
+ col5
+ file0
+
+
+ line123
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak1'
+ message
+ Calling 'function_with_leak1'
+
+
+ kindevent
+ location
+
+ line119
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak1'
+ message
+ Entered call from 'use_function_with_leak1'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line119
+ col1
+ file0
+
+
+ line119
+ col6
+ file0
+
+
+ end
+
+
+ line120
+ col5
+ file0
+
+
+ line120
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line120
+ col22
+ file0
+
+ ranges
+
+
+
+ line120
+ col22
+ file0
+
+
+ line120
+ col31
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line120
+ col5
+ file0
+
+
+ line120
+ col8
+ file0
+
+
+ end
+
+
+ line121
+ col1
+ file0
+
+
+ line121
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line121
+ col1
+ file0
+
+ depth1
+ extended_message
+ Potential leak of memory pointed to by 'x'
+ message
+ Potential leak of memory pointed to by 'x'
+
+
+ descriptionPotential leak of memory pointed to by 'x'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_contextb07aebe89e4ba5ea104a9f957df9531b
+ issue_context_kindfunction
+ issue_contextfunction_with_leak1
+ issue_hash_function_offset1
+ location
+
+ line121
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 119
+ 120
+ 121
+ 122
+ 123
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line132
+ col5
+ file0
+
+ ranges
+
+
+
+ line132
+ col5
+ file0
+
+
+ line132
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak2'
+ message
+ Calling 'function_with_leak2'
+
+
+ kindevent
+ location
+
+ line127
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak2'
+ message
+ Entered call from 'use_function_with_leak2'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line127
+ col1
+ file0
+
+
+ line127
+ col6
+ file0
+
+
+ end
+
+
+ line128
+ col5
+ file0
+
+
+ line128
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line128
+ col22
+ file0
+
+ ranges
+
+
+
+ line128
+ col22
+ file0
+
+
+ line128
+ col31
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line128
+ col5
+ file0
+
+
+ line128
+ col8
+ file0
+
+
+ end
+
+
+ line129
+ col5
+ file0
+
+
+ line129
+ col7
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line129
+ col5
+ file0
+
+ depth1
+ extended_message
+ Potential leak of memory pointed to by 'x'
+ message
+ Potential leak of memory pointed to by 'x'
+
+
+ descriptionPotential leak of memory pointed to by 'x'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_contextefe2ffcb7c227e872aa732c5f793895d
+ issue_context_kindfunction
+ issue_contextfunction_with_leak2
+ issue_hash_function_offset1
+ location
+
+ line129
+ col5
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 127
+ 128
+ 129
+ 131
+ 132
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line141
+ col5
+ file0
+
+ ranges
+
+
+
+ line141
+ col5
+ file0
+
+
+ line141
+ col26
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak3'
+ message
+ Calling 'function_with_leak3'
+
+
+ kindevent
+ location
+
+ line135
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak3'
+ message
+ Entered call from 'use_function_with_leak3'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line135
+ col1
+ file0
+
+
+ line135
+ col6
+ file0
+
+
+ end
+
+
+ line136
+ col5
+ file0
+
+
+ line136
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line136
+ col22
+ file0
+
+ ranges
+
+
+
+ line136
+ col22
+ file0
+
+
+ line136
+ col31
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line136
+ col5
+ file0
+
+
+ line136
+ col8
+ file0
+
+
+ end
+
+
+ line137
+ col5
+ file0
+
+
+ line137
+ col6
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line137
+ col5
+ file0
+
+
+ line137
+ col6
+ file0
+
+
+ end
+
+
+ line137
+ col9
+ file0
+
+
+ line137
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line137
+ col9
+ file0
+
+ ranges
+
+
+
+ line137
+ col9
+ file0
+
+
+ line137
+ col9
+ file0
+
+
+
+ depth1
+ extended_message
+ Assuming 'y' is not equal to 0
+ message
+ Assuming 'y' is not equal to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line137
+ col9
+ file0
+
+
+ line137
+ col9
+ file0
+
+
+ end
+
+
+ line138
+ col9
+ file0
+
+
+ line138
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line138
+ col9
+ file0
+
+ depth1
+ extended_message
+ Potential leak of memory pointed to by 'x'
+ message
+ Potential leak of memory pointed to by 'x'
+
+
+ descriptionPotential leak of memory pointed to by 'x'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context0ddc87e8a7e7104428af3905f3057611
+ issue_context_kindfunction
+ issue_contextfunction_with_leak3
+ issue_hash_function_offset1
+ location
+
+ line138
+ col9
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 135
+ 136
+ 137
+ 138
+ 140
+ 141
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line152
+ col5
+ file0
+
+ ranges
+
+
+
+ line152
+ col5
+ file0
+
+
+ line152
+ col26
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak4'
+ message
+ Calling 'function_with_leak4'
+
+
+ kindevent
+ location
+
+ line144
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak4'
+ message
+ Entered call from 'use_function_with_leak4'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line144
+ col1
+ file0
+
+
+ line144
+ col6
+ file0
+
+
+ end
+
+
+ line145
+ col5
+ file0
+
+
+ line145
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line145
+ col22
+ file0
+
+ ranges
+
+
+
+ line145
+ col22
+ file0
+
+
+ line145
+ col31
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line145
+ col5
+ file0
+
+
+ line145
+ col8
+ file0
+
+
+ end
+
+
+ line146
+ col5
+ file0
+
+
+ line146
+ col6
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line146
+ col5
+ file0
+
+
+ line146
+ col6
+ file0
+
+
+ end
+
+
+ line146
+ col9
+ file0
+
+
+ line146
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line146
+ col9
+ file0
+
+ ranges
+
+
+
+ line146
+ col9
+ file0
+
+
+ line146
+ col9
+ file0
+
+
+
+ depth1
+ extended_message
+ Assuming 'y' is 0
+ message
+ Assuming 'y' is 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line146
+ col9
+ file0
+
+
+ line146
+ col9
+ file0
+
+
+ end
+
+
+ line149
+ col9
+ file0
+
+
+ line149
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line149
+ col9
+ file0
+
+ depth1
+ extended_message
+ Potential leak of memory pointed to by 'x'
+ message
+ Potential leak of memory pointed to by 'x'
+
+
+ descriptionPotential leak of memory pointed to by 'x'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context948d356840e67fc4baa8cc5d0600463c
+ issue_context_kindfunction
+ issue_contextfunction_with_leak4
+ issue_hash_function_offset1
+ location
+
+ line149
+ col9
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 144
+ 145
+ 146
+ 149
+ 151
+ 152
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line163
+ col5
+ file0
+
+ ranges
+
+
+
+ line163
+ col5
+ file0
+
+
+ line163
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak5'
+ message
+ Calling 'function_with_leak5'
+
+
+ kindevent
+ location
+
+ line158
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak5'
+ message
+ Entered call from 'use_function_with_leak5'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line158
+ col1
+ file0
+
+
+ line158
+ col6
+ file0
+
+
+ end
+
+
+ line159
+ col5
+ file0
+
+
+ line159
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line159
+ col22
+ file0
+
+ ranges
+
+
+
+ line159
+ col22
+ file0
+
+
+ line159
+ col31
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line159
+ col5
+ file0
+
+
+ line159
+ col8
+ file0
+
+
+ end
+
+
+ line160
+ col5
+ file0
+
+
+ line160
+ col10
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line160
+ col5
+ file0
+
+
+ line160
+ col10
+ file0
+
+
+ end
+
+
+ line160
+ col12
+ file0
+
+
+ line160
+ col27
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line160
+ col12
+ file0
+
+ depth1
+ extended_message
+ Potential leak of memory pointed to by 'x'
+ message
+ Potential leak of memory pointed to by 'x'
+
+
+ descriptionPotential leak of memory pointed to by 'x'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context2b0361060027060b94915ff4de8aa782
+ issue_context_kindfunction
+ issue_contextfunction_with_leak5
+ issue_hash_function_offset1
+ location
+
+ line160
+ col12
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 158
+ 159
+ 160
+ 162
+ 163
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line174
+ col5
+ file0
+
+ ranges
+
+
+
+ line174
+ col5
+ file0
+
+
+ line174
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak6'
+ message
+ Calling 'function_with_leak6'
+
+
+ kindevent
+ location
+
+ line169
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak6'
+ message
+ Entered call from 'use_function_with_leak6'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line169
+ col1
+ file0
+
+
+ line169
+ col6
+ file0
+
+
+ end
+
+
+ line170
+ col5
+ file0
+
+
+ line170
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line170
+ col22
+ file0
+
+ ranges
+
+
+
+ line170
+ col22
+ file0
+
+
+ line170
+ col31
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line170
+ col5
+ file0
+
+
+ line170
+ col8
+ file0
+
+
+ end
+
+
+ line171
+ col5
+ file0
+
+
+ line171
+ col20
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line171
+ col5
+ file0
+
+ depth1
+ extended_message
+ Potential leak of memory pointed to by 'x'
+ message
+ Potential leak of memory pointed to by 'x'
+
+
+ descriptionPotential leak of memory pointed to by 'x'
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context73f573faa903ad4308d5155ef979cf31
+ issue_context_kindfunction
+ issue_contextfunction_with_leak6
+ issue_hash_function_offset1
+ location
+
+ line171
+ col5
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 169
+ 170
+ 171
+ 173
+ 174
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line186
+ col5
+ file0
+
+ ranges
+
+
+
+ line186
+ col5
+ file0
+
+
+ line186
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'function_with_leak7'
+ message
+ Calling 'function_with_leak7'
+
+
+ kindevent
+ location
+
+ line182
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'use_function_with_leak7'
+ message
+ Entered call from 'use_function_with_leak7'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line182
+ col1
+ file0
+
+
+ line182
+ col6
+ file0
+
+
+ end
+
+
+ line183
+ col5
+ file0
+
+
+ line183
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line183
+ col19
+ file0
+
+ ranges
+
+
+
+ line183
+ col19
+ file0
+
+
+ line183
+ col28
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindevent
+ location
+
+ line186
+ col5
+ file0
+
+ ranges
+
+
+
+ line186
+ col5
+ file0
+
+
+ line186
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Returned allocated memory
+ message
+ Returned allocated memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line186
+ col5
+ file0
+
+
+ line186
+ col23
+ file0
+
+
+ end
+
+
+ line187
+ col1
+ file0
+
+
+ line187
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line187
+ col1
+ file0
+
+ depth0
+ extended_message
+ Potential memory leak
+ message
+ Potential memory leak
+
+
+ descriptionPotential memory leak
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_contexteb5628850b9b9118fbda903e721436a5
+ issue_context_kindfunction
+ issue_contextuse_function_with_leak7
+ issue_hash_function_offset1
+ location
+
+ line187
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 182
+ 183
+ 185
+ 186
+ 187
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line196
+ col3
+ file0
+
+ ranges
+
+
+
+ line196
+ col3
+ file0
+
+
+ line196
+ col13
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'my_malloc'
+ message
+ Calling 'my_malloc'
+
+
+ kindevent
+ location
+
+ line191
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'testOnlyRefferToVisibleVariables'
+ message
+ Entered call from 'testOnlyRefferToVisibleVariables'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line191
+ col1
+ file0
+
+
+ line191
+ col3
+ file0
+
+
+ end
+
+
+ line192
+ col3
+ file0
+
+
+ line192
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line192
+ col12
+ file0
+
+ ranges
+
+
+
+ line192
+ col12
+ file0
+
+
+ line192
+ col21
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line192
+ col3
+ file0
+
+
+ line192
+ col5
+ file0
+
+
+ end
+
+
+ line193
+ col3
+ file0
+
+
+ line193
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line196
+ col3
+ file0
+
+ ranges
+
+
+
+ line196
+ col3
+ file0
+
+
+ line196
+ col13
+ file0
+
+
+
+ depth0
+ extended_message
+ Returned allocated memory
+ message
+ Returned allocated memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line196
+ col3
+ file0
+
+
+ line196
+ col11
+ file0
+
+
+ end
+
+
+ line197
+ col1
+ file0
+
+
+ line197
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line197
+ col1
+ file0
+
+ depth0
+ extended_message
+ Potential memory leak
+ message
+ Potential memory leak
+
+
+ descriptionPotential memory leak
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_contextad5b603037bc3581ff94947e86dbb1c8
+ issue_context_kindfunction
+ issue_contexttestOnlyRefferToVisibleVariables
+ issue_hash_function_offset1
+ location
+
+ line197
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 191
+ 192
+ 193
+ 195
+ 196
+ 197
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line208
+ col3
+ file0
+
+ ranges
+
+
+
+ line208
+ col3
+ file0
+
+
+ line208
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'my_malloc_into_struct'
+ message
+ Calling 'my_malloc_into_struct'
+
+
+ kindevent
+ location
+
+ line202
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'testMyMalloc'
+ message
+ Entered call from 'testMyMalloc'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line202
+ col1
+ file0
+
+
+ line202
+ col3
+ file0
+
+
+ end
+
+
+ line203
+ col3
+ file0
+
+
+ line203
+ col8
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line203
+ col3
+ file0
+
+
+ line203
+ col8
+ file0
+
+
+ end
+
+
+ line204
+ col3
+ file0
+
+
+ line204
+ col3
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line204
+ col9
+ file0
+
+ ranges
+
+
+
+ line204
+ col9
+ file0
+
+
+ line204
+ col18
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line204
+ col3
+ file0
+
+
+ line204
+ col3
+ file0
+
+
+ end
+
+
+ line205
+ col3
+ file0
+
+
+ line205
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line208
+ col3
+ file0
+
+ ranges
+
+
+
+ line208
+ col3
+ file0
+
+
+ line208
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Returned allocated memory
+ message
+ Returned allocated memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line208
+ col3
+ file0
+
+
+ line208
+ col23
+ file0
+
+
+ end
+
+
+ line209
+ col1
+ file0
+
+
+ line209
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line209
+ col1
+ file0
+
+ depth0
+ extended_message
+ Potential memory leak
+ message
+ Potential memory leak
+
+
+ descriptionPotential memory leak
+ categoryMemory error
+ typeMemory leak
+ check_nameunix.Malloc
+
+ issue_hash_content_of_line_in_context8d59cc5cc4b7db55d432abc18b0e6c23
+ issue_context_kindfunction
+ issue_contexttestMyMalloc
+ issue_hash_function_offset1
+ location
+
+ line209
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 202
+ 203
+ 204
+ 205
+ 207
+ 208
+ 209
+
+
+
+
+
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/method-call-path-notes.cpp.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/method-call-path-notes.cpp.plist
+++ clang/test/Analysis/Inputs/expected-plists/method-call-path-notes.cpp.plist
@@ -111,6 +111,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 12
+ 13
+ 14
+
+
path
@@ -223,6 +232,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 17
+ 18
+ 19
+
+
path
@@ -369,6 +387,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 22
+ 23
+ 24
+ 25
+
+
path
@@ -515,6 +543,15 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 28
+ 29
+ 30
+
+
path
@@ -627,6 +664,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 33
+ 34
+ 36
+ 37
+
+
path
@@ -773,7 +820,16 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 40
+ 41
+ 42
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/model-file.cpp.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/model-file.cpp.plist
+++ clang/test/Analysis/Inputs/expected-plists/model-file.cpp.plist
@@ -276,7 +276,23 @@
col15
file0
+ ExecutedLines
+
+ 1
+
+ 20
+ 22
+ 24
+ 25
+ 31
+ 35
+
+ 5
+
+ 1
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/null-deref-path-notes.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/null-deref-path-notes.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/null-deref-path-notes.m.plist
@@ -242,6 +242,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 13
+ 14
+ 18
+ 19
+
+
path
@@ -470,6 +480,20 @@
col12
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 27
+ 28
+ 29
+ 33
+
+
path
@@ -747,6 +771,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 39
+ 40
+ 41
+ 47
+ 50
+
+
path
@@ -970,7 +1005,22 @@
col8
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 60
+ 61
+ 66
+ 67
+ 68
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/nullability-notes.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/nullability-notes.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/nullability-notes.m.plist
@@ -179,7 +179,17 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 10
+ 14
+ 16
+ 17
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/objc-arc.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/objc-arc.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/objc-arc.m.plist
@@ -145,6 +145,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 52
+ 53
+ 54
+
+
path
@@ -310,6 +319,17 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 92
+ 93
+ 94
+ 95
+ 96
+
+
path
@@ -371,6 +391,13 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 119
+
+
path
@@ -432,6 +459,13 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 139
+
+
path
@@ -493,6 +527,13 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 144
+
+
path
@@ -554,6 +595,13 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 145
+
+
path
@@ -615,6 +663,13 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 146
+
+
path
@@ -795,6 +850,21 @@
col33
file0
+ ExecutedLines
+
+ 1
+
+ 138
+ 139
+ 140
+ 141
+ 142
+ 143
+ 144
+ 145
+ 146
+
+
path
@@ -926,6 +996,22 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 138
+ 139
+ 140
+ 141
+ 142
+ 143
+ 144
+ 145
+ 146
+ 147
+
+
path
@@ -987,6 +1073,13 @@
col13
file0
+ ExecutedLines
+
+ 1
+
+ 150
+
+
path
@@ -1048,6 +1141,13 @@
col15
file0
+ ExecutedLines
+
+ 1
+
+ 151
+
+
path
@@ -1109,6 +1209,13 @@
col13
file0
+ ExecutedLines
+
+ 1
+
+ 152
+
+
path
@@ -1170,6 +1277,13 @@
col15
file0
+ ExecutedLines
+
+ 1
+
+ 153
+
+
path
@@ -1316,6 +1430,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 163
+ 164
+ 165
+ 166
+
+
path
@@ -1617,6 +1741,28 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 176
+ 178
+ 179
+ 180
+ 181
+ 185
+ 186
+ 187
+ 188
+ 189
+ 193
+ 194
+ 195
+ 196
+ 200
+ 202
+
+
path
@@ -1789,6 +1935,16 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 213
+ 214
+ 215
+ 216
+
+
path
@@ -1906,7 +2062,18 @@
col22
file0
+ ExecutedLines
+
+ 1
+
+ 222
+ 223
+ 226
+ 229
+ 230
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/plist-macros.cpp.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/plist-macros.cpp.plist
+++ clang/test/Analysis/Inputs/expected-plists/plist-macros.cpp.plist
@@ -145,6 +145,19 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+
+
path
@@ -242,6 +255,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 19
+ 20
+ 21
+
+
path
@@ -490,6 +512,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 26
+ 27
+ 28
+ 30
+
+
path
@@ -801,6 +833,17 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 34
+ 35
+ 36
+ 37
+ 39
+
+
path
@@ -1015,6 +1058,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 43
+ 44
+ 45
+ 47
+
+
path
@@ -1161,6 +1214,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 54
+ 55
+ 56
+
+
path
@@ -1438,6 +1500,17 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 66
+ 67
+ 68
+ 69
+ 71
+
+
path
@@ -1661,7 +1734,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 76
+ 77
+ 79
+ 82
+ 83
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/plist-output-alternate.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/plist-output-alternate.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/plist-output-alternate.m.plist
@@ -145,6 +145,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 4
+ 5
+ 6
+
+
path
@@ -325,6 +334,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 9
+ 10
+ 11
+ 12
+
+
path
@@ -568,6 +587,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 15
+ 16
+ 17
+ 18
+ 19
+
+
path
@@ -748,6 +778,15 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 22
+ 23
+ 24
+
+
path
@@ -991,6 +1030,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 28
+ 29
+ 30
+ 31
+
+
path
@@ -1171,6 +1220,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 35
+ 36
+ 37
+ 38
+
+
path
@@ -1433,7 +1492,19 @@
col1
file0
+ ExecutedLines
+
+ 1
+
+ 52
+ 53
+ 54
+ 55
+ 57
+ 58
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/plist-output.m.plist
@@ -145,6 +145,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 4
+ 5
+ 6
+
+
path
@@ -325,6 +334,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 9
+ 10
+ 11
+ 12
+
+
path
@@ -568,6 +587,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 15
+ 16
+ 17
+ 18
+ 19
+
+
path
@@ -748,6 +778,15 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 22
+ 23
+ 24
+
+
path
@@ -991,6 +1030,16 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 28
+ 29
+ 30
+ 31
+
+
path
@@ -1171,6 +1220,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 35
+ 36
+ 37
+ 38
+
+
path
@@ -1511,6 +1570,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 41
+ 42
+ 43
+ 46
+ 49
+ 50
+
+
path
@@ -1783,6 +1854,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 54
+ 55
+ 56
+ 58
+
+
path
@@ -2026,6 +2107,20 @@
col8
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 74
+ 75
+ 76
+ 77
+
+
path
@@ -2087,6 +2182,13 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 86
+
+
path
@@ -2281,6 +2383,20 @@
col9
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 84
+ 85
+ 86
+ 88
+
+
path
@@ -2718,6 +2834,18 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 94
+ 95
+ 96
+ 97
+ 98
+ 100
+
+
path
@@ -2927,6 +3055,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 106
+ 107
+ 108
+ 111
+
+
path
@@ -3136,6 +3274,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 114
+ 115
+ 116
+ 117
+ 121
+
+
path
@@ -3607,6 +3756,19 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 124
+ 125
+ 126
+ 127
+ 128
+ 129
+ 130
+
+
path
@@ -4107,6 +4269,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 133
+ 134
+ 135
+ 136
+
+
path
@@ -4675,6 +4847,19 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 139
+ 140
+ 141
+ 142
+ 143
+ 144
+ 145
+
+
path
@@ -5243,6 +5428,20 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 148
+ 149
+ 150
+ 151
+ 152
+ 153
+ 154
+ 155
+
+
path
@@ -5292,6 +5491,13 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 163
+
+
path
@@ -5501,6 +5707,16 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 158
+ 159
+ 160
+ 163
+
+
path
@@ -5647,6 +5863,19 @@
col6
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 170
+ 171
+ 172
+
+
path
@@ -5759,6 +5988,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 181
+ 182
+ 183
+ 184
+
+
path
@@ -5968,7 +6207,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 191
+ 192
+ 194
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/retain-release-path-notes.m.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/retain-release-path-notes.m.plist
+++ clang/test/Analysis/Inputs/expected-plists/retain-release-path-notes.m.plist
@@ -111,6 +111,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 46
+ 47
+ 48
+
+
path
@@ -223,6 +232,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 51
+ 52
+ 53
+
+
path
@@ -560,6 +578,18 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+
+
path
@@ -747,6 +777,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 64
+ 65
+ 66
+ 67
+
+
path
@@ -934,6 +974,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 70
+ 71
+ 72
+ 73
+
+
path
@@ -1121,6 +1171,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 76
+ 77
+ 78
+ 79
+
+
path
@@ -1308,6 +1368,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 82
+ 83
+ 84
+ 85
+
+
path
@@ -1570,6 +1640,17 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 88
+ 89
+ 90
+ 91
+ 92
+
+
path
@@ -1757,6 +1838,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 95
+ 96
+ 97
+ 98
+
+
path
@@ -1869,6 +1960,17 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 101
+ 102
+ 103
+ 104
+ 105
+
+
path
@@ -2022,6 +2124,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 108
+ 109
+ 110
+
+
path
@@ -2175,6 +2286,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 113
+ 114
+ 115
+
+
path
@@ -2328,6 +2448,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 119
+ 120
+ 121
+
+
path
@@ -2481,6 +2610,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 124
+ 125
+ 126
+
+
path
@@ -2634,6 +2772,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 129
+ 130
+ 131
+
+
path
@@ -2787,6 +2934,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 134
+ 135
+ 136
+
+
path
@@ -2974,6 +3130,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 139
+ 140
+ 141
+ 142
+
+
path
@@ -3086,6 +3252,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 169
+ 170
+ 171
+
+
path
@@ -3198,6 +3373,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 174
+ 175
+ 176
+
+
path
@@ -3310,6 +3494,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 179
+ 180
+ 181
+
+
path
@@ -3422,6 +3615,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 184
+ 185
+ 186
+
+
path
@@ -3534,6 +3736,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 189
+ 190
+ 191
+
+
path
@@ -3883,6 +4094,17 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 206
+ 207
+ 209
+ 224
+ 226
+
+
path
@@ -4271,6 +4493,22 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 206
+ 207
+ 209
+ 214
+ 215
+ 216
+ 224
+ 226
+ 232
+ 237
+
+
path
@@ -4533,6 +4771,17 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 246
+ 247
+ 248
+ 249
+ 250
+
+
path
@@ -4720,6 +4969,16 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 253
+ 254
+ 255
+ 256
+
+
path
@@ -4982,7 +5241,18 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 259
+ 260
+ 261
+ 262
+ 263
+
+
\ No newline at end of file
Index: clang/test/Analysis/Inputs/expected-plists/unix-fns.c.plist
===================================================================
--- clang/test/Analysis/Inputs/expected-plists/unix-fns.c.plist
+++ clang/test/Analysis/Inputs/expected-plists/unix-fns.c.plist
@@ -1,2833 +1,3011 @@
-diagnostics
-
-
- path
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line80
- col3
- file0
-
-
- line80
- col5
- file0
-
-
- end
-
-
- line82
- col3
- file0
-
-
- line82
- col4
- file0
-
-
-
-
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line82
- col3
- file0
-
-
- line82
- col4
- file0
-
-
- end
-
-
- line82
- col7
- file0
-
-
- line82
- col7
- file0
-
-
-
-
-
-
- kindevent
- location
+ diagnostics
+
+
+ path
+
- line82
- col7
- file0
-
- ranges
-
+ kindcontrol
+ edges
- line82
- col7
- file0
-
-
- line82
- col9
- file0
+ start
+
+
+ line82
+ col3
+ file0
+
+
+ line82
+ col5
+ file0
+
+
+ end
+
+
+ line84
+ col3
+ file0
+
+
+ line84
+ col4
+ file0
+
+
-
- depth0
- extended_message
- Assuming 'fd' is not equal to 0
- message
- Assuming 'fd' is not equal to 0
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line82
- col7
- file0
-
-
- line82
- col7
- file0
-
-
- end
-
-
- line85
- col3
- file0
-
-
- line85
- col4
- file0
-
-
-
-
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line85
- col3
- file0
-
-
- line85
- col4
- file0
-
-
- end
-
-
- line85
- col8
- file0
-
-
- line85
- col11
- file0
-
-
-
-
-
-
- kindevent
- location
-
- line85
- col8
- file0
- ranges
-
+
+ kindcontrol
+ edges
- line85
- col19
- file0
-
-
- line85
- col25
- file0
+ start
+
+
+ line84
+ col3
+ file0
+
+
+ line84
+ col4
+ file0
+
+
+ end
+
+
+ line84
+ col7
+ file0
+
+
+ line84
+ col7
+ file0
+
+
-
- depth0
- extended_message
- Call to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
- message
- Call to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
-
-
- descriptionCall to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
- categoryUnix API
- typeImproper use of 'open'
- check_nameunix.API
-
- issue_hash_content_of_line_in_context5ef25c5c47db3dbfb329901d426452e7
- issue_context_kindfunction
- issue_contexttest_open
- issue_hash_function_offset6
- location
-
- line85
- col8
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line91
- col3
- file0
-
-
- line91
- col5
- file0
-
-
- end
-
-
- line93
- col3
- file0
-
-
- line93
- col4
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line84
+ col7
+ file0
+
+ ranges
-
- start
-
-
- line93
- col3
- file0
-
-
- line93
- col4
- file0
-
-
- end
-
-
- line93
- col7
- file0
-
-
- line93
- col7
- file0
-
-
-
+
+
+ line84
+ col7
+ file0
+
+
+ line84
+ col9
+ file0
+
+
-
-
- kindevent
- location
-
- line93
- col7
- file0
+ depth0
+ extended_message
+ Assuming 'fd' is not equal to 0
+ message
+ Assuming 'fd' is not equal to 0
- ranges
-
+
+ kindcontrol
+ edges
- line93
- col7
- file0
-
-
- line93
- col9
- file0
+ start
+
+
+ line84
+ col7
+ file0
+
+
+ line84
+ col7
+ file0
+
+
+ end
+
+
+ line87
+ col3
+ file0
+
+
+ line87
+ col4
+ file0
+
+
-
- depth0
- extended_message
- Assuming 'fd' is not equal to 0
- message
- Assuming 'fd' is not equal to 0
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line93
- col7
- file0
-
-
- line93
- col7
- file0
-
-
- end
-
-
- line96
- col3
- file0
-
-
- line96
- col4
- file0
-
-
-
-
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line96
- col3
- file0
-
-
- line96
- col4
- file0
-
-
- end
-
-
- line96
- col8
- file0
-
-
- line96
- col13
- file0
-
-
-
-
-
-
- kindevent
- location
-
- line96
- col8
- file0
- ranges
-
+
+ kindcontrol
+ edges
- line96
- col44
- file0
-
-
- line96
- col50
- file0
+ start
+
+
+ line87
+ col3
+ file0
+
+
+ line87
+ col4
+ file0
+
+
+ end
+
+
+ line87
+ col8
+ file0
+
+
+ line87
+ col11
+ file0
+
+
-
- depth0
- extended_message
- Call to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
- message
- Call to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
-
-
- descriptionCall to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
- categoryUnix API
- typeImproper use of 'open'
- check_nameunix.API
-
- issue_hash_content_of_line_in_context433b17840bb989e7a13dc6337c1ed220
- issue_context_kindfunction
- issue_contexttest_open_at
- issue_hash_function_offset6
- location
-
- line96
- col8
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line102
- col3
- file0
-
-
- line102
- col17
- file0
-
-
- end
-
-
- line103
- col8
- file0
-
-
- line103
- col9
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line87
+ col8
+ file0
+
+ ranges
-
- start
-
-
- line103
- col8
- file0
-
-
- line103
- col9
- file0
-
-
- end
-
-
- line103
- col52
- file0
-
-
- line103
- col64
- file0
-
-
-
+
+
+ line87
+ col19
+ file0
+
+
+ line87
+ col25
+ file0
+
+
-
-
- kindevent
- location
-
- line103
- col52
- file0
+ depth0
+ extended_message
+ Call to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
+ message
+ Call to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
- ranges
-
+
+ descriptionCall to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
+ categoryUnix API
+ typeImproper use of 'open'
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context5ef25c5c47db3dbfb329901d426452e7
+ issue_context_kindfunction
+ issue_contexttest_open
+ issue_hash_function_offset6
+ location
+
+ line87
+ col8
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 81
+ 82
+ 83
+ 84
+ 87
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line103
- col66
- file0
+ start
+
+
+ line93
+ col3
+ file0
+
+
+ line93
+ col5
+ file0
+
+
+ end
+
+
+ line95
+ col3
+ file0
+
+
+ line95
+ col4
+ file0
+
+
+
+
+
+ kindcontrol
+ edges
+
- line103
- col72
- file0
+ start
+
+
+ line95
+ col3
+ file0
+
+
+ line95
+ col4
+ file0
+
+
+ end
+
+
+ line95
+ col7
+ file0
+
+
+ line95
+ col7
+ file0
+
+
-
- depth0
- extended_message
- Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- message
- Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-
-
- descriptionCall to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- categoryAPI Misuse (Apple)
- typeImproper use of 'dispatch_once'
- check_nameosx.API
-
- issue_hash_content_of_line_in_context173fbcac3fc64dbaec32768d4cfda250
- issue_context_kindfunction
- issue_contexttest_dispatch_once
- issue_hash_function_offset2
- location
-
- line103
- col52
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line95
+ col7
+ file0
+
+ ranges
-
- start
-
-
- line113
- col3
- file0
-
-
- line113
- col16
- file0
-
-
- end
-
-
- line114
- col3
- file0
-
-
- line114
- col14
- file0
-
-
-
+
+
+ line95
+ col7
+ file0
+
+
+ line95
+ col9
+ file0
+
+
-
-
- kindevent
- location
-
- line114
- col3
- file0
+ depth0
+ extended_message
+ Assuming 'fd' is not equal to 0
+ message
+ Assuming 'fd' is not equal to 0
- ranges
-
+
+ kindcontrol
+ edges
- line114
- col16
- file0
+ start
+
+
+ line95
+ col7
+ file0
+
+
+ line95
+ col7
+ file0
+
+
+ end
+
+
+ line98
+ col3
+ file0
+
+
+ line98
+ col4
+ file0
+
+
+
+
+
+ kindcontrol
+ edges
+
- line114
- col20
- file0
+ start
+
+
+ line98
+ col3
+ file0
+
+
+ line98
+ col4
+ file0
+
+
+ end
+
+
+ line98
+ col8
+ file0
+
+
+ line98
+ col13
+ file0
+
+
-
- depth0
- extended_message
- Call to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- message
- Call to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-
-
- descriptionCall to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- categoryUnix API
- typeImproper use of 'pthread_once'
- check_nameunix.API
-
- issue_hash_content_of_line_in_context1e2f657a65cf8ee3c3ac2227de05ade4
- issue_context_kindfunction
- issue_contexttest_pthread_once
- issue_hash_function_offset2
- location
-
- line114
- col3
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line98
+ col8
+ file0
+
+ ranges
-
- start
-
-
- line123
- col3
- file0
-
-
- line123
- col6
- file0
-
-
- end
-
-
- line123
- col15
- file0
-
-
- line123
- col20
- file0
-
-
-
+
+
+ line98
+ col44
+ file0
+
+
+ line98
+ col50
+ file0
+
+
-
-
- kindevent
- location
-
- line123
- col15
- file0
+ depth0
+ extended_message
+ Call to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
+ message
+ Call to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
- ranges
-
+
+ descriptionCall to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
+ categoryUnix API
+ typeImproper use of 'open'
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context433b17840bb989e7a13dc6337c1ed220
+ issue_context_kindfunction
+ issue_contexttest_open_at
+ issue_hash_function_offset6
+ location
+
+ line98
+ col8
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 92
+ 93
+ 94
+ 95
+ 98
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line123
- col22
- file0
+ start
+
+
+ line104
+ col3
+ file0
+
+
+ line104
+ col17
+ file0
+
+
+ end
+
+
+ line105
+ col8
+ file0
+
+
+ line105
+ col9
+ file0
+
+
+
+
+
+ kindcontrol
+ edges
+
- line123
- col22
- file0
+ start
+
+
+ line105
+ col8
+ file0
+
+
+ line105
+ col9
+ file0
+
+
+ end
+
+
+ line105
+ col52
+ file0
+
+
+ line105
+ col64
+ file0
+
+
-
- depth0
- extended_message
- Call to 'malloc' has an allocation size of 0 bytes
- message
- Call to 'malloc' has an allocation size of 0 bytes
-
-
- descriptionCall to 'malloc' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_context0e841458f0cb7cf161d35f9db5862dcf
- issue_context_kindfunction
- issue_contextpr2899
- issue_hash_function_offset1
- location
-
- line123
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line105
+ col52
+ file0
+
+ ranges
-
- start
-
-
- line135
- col3
- file0
-
-
- line135
- col6
- file0
-
-
- end
-
-
- line135
- col15
- file0
-
-
- line135
- col20
- file0
-
-
-
+
+
+ line105
+ col66
+ file0
+
+
+ line105
+ col72
+ file0
+
+
-
-
- kindevent
- location
-
- line135
- col15
- file0
+ depth0
+ extended_message
+ Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+ message
+ Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- ranges
-
+
+ descriptionCall to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+ categoryAPI Misuse (Apple)
+ typeImproper use of 'dispatch_once'
+ check_nameosx.API
+
+ issue_hash_content_of_line_in_context173fbcac3fc64dbaec32768d4cfda250
+ issue_context_kindfunction
+ issue_contexttest_dispatch_once
+ issue_hash_function_offset2
+ location
+
+ line105
+ col52
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 103
+ 104
+ 105
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line135
- col22
- file0
-
-
- line135
- col22
- file0
+ start
+
+
+ line115
+ col3
+ file0
+
+
+ line115
+ col16
+ file0
+
+
+ end
+
+
+ line116
+ col3
+ file0
+
+
+ line116
+ col14
+ file0
+
+
-
- depth0
- extended_message
- Call to 'calloc' has an allocation size of 0 bytes
- message
- Call to 'calloc' has an allocation size of 0 bytes
-
-
- descriptionCall to 'calloc' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_contexta267ff573c7e8b959a3f886677893eb0
- issue_context_kindfunction
- issue_contexttest_calloc
- issue_hash_function_offset1
- location
-
- line135
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line116
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line141
- col3
- file0
-
-
- line141
- col6
- file0
-
-
- end
-
-
- line141
- col15
- file0
-
-
- line141
- col20
- file0
-
-
-
+
+
+ line116
+ col16
+ file0
+
+
+ line116
+ col20
+ file0
+
+
-
-
- kindevent
- location
-
- line141
- col15
- file0
+ depth0
+ extended_message
+ Call to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+ message
+ Call to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- ranges
-
+
+ descriptionCall to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+ categoryUnix API
+ typeImproper use of 'pthread_once'
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context1e2f657a65cf8ee3c3ac2227de05ade4
+ issue_context_kindfunction
+ issue_contexttest_pthread_once
+ issue_hash_function_offset2
+ location
+
+ line116
+ col3
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 114
+ 115
+ 116
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line141
- col26
- file0
-
-
- line141
- col26
- file0
+ start
+
+
+ line125
+ col3
+ file0
+
+
+ line125
+ col6
+ file0
+
+
+ end
+
+
+ line125
+ col15
+ file0
+
+
+ line125
+ col20
+ file0
+
+
-
- depth0
- extended_message
- Call to 'calloc' has an allocation size of 0 bytes
- message
- Call to 'calloc' has an allocation size of 0 bytes
-
-
- descriptionCall to 'calloc' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_context14eb72957baab3c63bac610a10e6f48b
- issue_context_kindfunction
- issue_contexttest_calloc2
- issue_hash_function_offset1
- location
-
- line141
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line125
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line153
- col3
- file0
-
-
- line153
- col6
- file0
-
-
- end
-
-
- line153
- col15
- file0
-
-
- line153
- col21
- file0
-
-
-
+
+
+ line125
+ col22
+ file0
+
+
+ line125
+ col22
+ file0
+
+
-
-
- kindevent
- location
-
- line153
- col15
- file0
+ depth0
+ extended_message
+ Call to 'malloc' has an allocation size of 0 bytes
+ message
+ Call to 'malloc' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'malloc' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context0e841458f0cb7cf161d35f9db5862dcf
+ issue_context_kindfunction
+ issue_contextpr2899
+ issue_hash_function_offset1
+ location
+
+ line125
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 124
+ 125
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line153
- col28
- file0
-
-
- line153
- col28
- file0
+ start
+
+
+ line137
+ col3
+ file0
+
+
+ line137
+ col6
+ file0
+
+
+ end
+
+
+ line137
+ col15
+ file0
+
+
+ line137
+ col20
+ file0
+
+
-
- depth0
- extended_message
- Call to 'realloc' has an allocation size of 0 bytes
- message
- Call to 'realloc' has an allocation size of 0 bytes
-
-
- descriptionCall to 'realloc' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_context7f6f67ebe3d481aed7750005bea7e371
- issue_context_kindfunction
- issue_contexttest_realloc
- issue_hash_function_offset1
- location
-
- line153
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line137
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line159
- col3
- file0
-
-
- line159
- col6
- file0
-
-
- end
-
-
- line159
- col15
- file0
-
-
- line159
- col22
- file0
-
-
-
+
+
+ line137
+ col22
+ file0
+
+
+ line137
+ col22
+ file0
+
+
-
-
- kindevent
- location
-
- line159
- col15
- file0
+ depth0
+ extended_message
+ Call to 'calloc' has an allocation size of 0 bytes
+ message
+ Call to 'calloc' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'calloc' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_contexta267ff573c7e8b959a3f886677893eb0
+ issue_context_kindfunction
+ issue_contexttest_calloc
+ issue_hash_function_offset1
+ location
+
+ line137
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 136
+ 137
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line159
- col29
- file0
-
-
- line159
- col29
- file0
+ start
+
+
+ line143
+ col3
+ file0
+
+
+ line143
+ col6
+ file0
+
+
+ end
+
+
+ line143
+ col15
+ file0
+
+
+ line143
+ col20
+ file0
+
+
-
- depth0
- extended_message
- Call to 'reallocf' has an allocation size of 0 bytes
- message
- Call to 'reallocf' has an allocation size of 0 bytes
-
-
- descriptionCall to 'reallocf' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_context4941698efbd81601653dff10ef9c645b
- issue_context_kindfunction
- issue_contexttest_reallocf
- issue_hash_function_offset1
- location
-
- line159
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line143
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line177
- col3
- file0
-
-
- line177
- col6
- file0
-
-
- end
-
-
- line177
- col15
- file0
-
-
- line177
- col20
- file0
-
-
-
+
+
+ line143
+ col26
+ file0
+
+
+ line143
+ col26
+ file0
+
+
-
-
- kindevent
- location
-
- line177
- col15
- file0
+ depth0
+ extended_message
+ Call to 'calloc' has an allocation size of 0 bytes
+ message
+ Call to 'calloc' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'calloc' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context14eb72957baab3c63bac610a10e6f48b
+ issue_context_kindfunction
+ issue_contexttest_calloc2
+ issue_hash_function_offset1
+ location
+
+ line143
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 142
+ 143
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line177
- col22
- file0
-
-
- line177
- col22
- file0
+ start
+
+
+ line155
+ col3
+ file0
+
+
+ line155
+ col6
+ file0
+
+
+ end
+
+
+ line155
+ col15
+ file0
+
+
+ line155
+ col21
+ file0
+
+
-
- depth0
- extended_message
- Call to 'alloca' has an allocation size of 0 bytes
- message
- Call to 'alloca' has an allocation size of 0 bytes
-
-
- descriptionCall to 'alloca' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_contextb7ca3488e81d9d9d4b8dc545258ce97c
- issue_context_kindfunction
- issue_contexttest_alloca
- issue_hash_function_offset1
- location
-
- line177
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line155
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line189
- col3
- file0
-
-
- line189
- col6
- file0
-
-
- end
-
-
- line189
- col16
- file0
-
-
- line189
- col31
- file0
-
-
-
+
+
+ line155
+ col28
+ file0
+
+
+ line155
+ col28
+ file0
+
+
-
-
- kindevent
- location
-
- line189
- col16
- file0
+ depth0
+ extended_message
+ Call to 'realloc' has an allocation size of 0 bytes
+ message
+ Call to 'realloc' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'realloc' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context7f6f67ebe3d481aed7750005bea7e371
+ issue_context_kindfunction
+ issue_contexttest_realloc
+ issue_hash_function_offset1
+ location
+
+ line155
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 154
+ 155
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line189
- col33
- file0
-
-
- line189
- col33
- file0
+ start
+
+
+ line161
+ col3
+ file0
+
+
+ line161
+ col6
+ file0
+
+
+ end
+
+
+ line161
+ col15
+ file0
+
+
+ line161
+ col22
+ file0
+
+
-
- depth0
- extended_message
- Call to 'alloca' has an allocation size of 0 bytes
- message
- Call to 'alloca' has an allocation size of 0 bytes
-
-
- descriptionCall to 'alloca' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_context1ec52551362b070237f47f6bb6c3847d
- issue_context_kindfunction
- issue_contexttest_builtin_alloca
- issue_hash_function_offset1
- location
-
- line189
- col16
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line161
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line201
- col3
- file0
-
-
- line201
- col6
- file0
-
-
- end
-
-
- line201
- col15
- file0
-
-
- line201
- col20
- file0
-
-
-
+
+
+ line161
+ col29
+ file0
+
+
+ line161
+ col29
+ file0
+
+
-
-
- kindevent
- location
-
- line201
- col15
- file0
+ depth0
+ extended_message
+ Call to 'reallocf' has an allocation size of 0 bytes
+ message
+ Call to 'reallocf' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'reallocf' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context4941698efbd81601653dff10ef9c645b
+ issue_context_kindfunction
+ issue_contexttest_reallocf
+ issue_hash_function_offset1
+ location
+
+ line161
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 160
+ 161
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line201
- col22
- file0
-
-
- line201
- col22
- file0
+ start
+
+
+ line179
+ col3
+ file0
+
+
+ line179
+ col6
+ file0
+
+
+ end
+
+
+ line179
+ col15
+ file0
+
+
+ line179
+ col20
+ file0
+
+
-
- depth0
- extended_message
- Call to 'valloc' has an allocation size of 0 bytes
- message
- Call to 'valloc' has an allocation size of 0 bytes
-
-
- descriptionCall to 'valloc' has an allocation size of 0 bytes
- categoryUnix API
- typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
- check_nameunix.API
-
- issue_hash_content_of_line_in_context675741e04c8d0071d280324e23f41d35
- issue_context_kindfunction
- issue_contexttest_valloc
- issue_hash_function_offset1
- location
-
- line201
- col15
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line179
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line214
- col3
- file0
-
-
- line214
- col17
- file0
-
-
- end
-
-
- line215
- col3
- file0
-
-
- line215
- col15
- file0
-
-
-
+
+
+ line179
+ col22
+ file0
+
+
+ line179
+ col22
+ file0
+
+
-
-
- kindevent
- location
-
- line215
- col3
- file0
+ depth0
+ extended_message
+ Call to 'alloca' has an allocation size of 0 bytes
+ message
+ Call to 'alloca' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'alloca' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_contextb7ca3488e81d9d9d4b8dc545258ce97c
+ issue_context_kindfunction
+ issue_contexttest_alloca
+ issue_hash_function_offset1
+ location
+
+ line179
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 178
+ 179
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line215
- col17
- file0
-
-
- line215
- col21
- file0
+ start
+
+
+ line191
+ col3
+ file0
+
+
+ line191
+ col6
+ file0
+
+
+ end
+
+
+ line191
+ col16
+ file0
+
+
+ line191
+ col31
+ file0
+
+
-
- depth0
- extended_message
- Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- message
- Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-
-
- descriptionCall to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
- categoryAPI Misuse (Apple)
- typeImproper use of 'dispatch_once'
- check_nameosx.API
-
- issue_hash_content_of_line_in_context8ded1f2025c1e4a4bcd5302dc97006d9
- issue_context_kindfunction
- issue_contexttest_dispatch_once_in_macro
- issue_hash_function_offset2
- location
-
- line215
- col3
- file0
-
-
-
- path
-
-
- kindevent
- location
+
- line220
- col3
- file0
+ kindevent
+ location
+
+ line191
+ col16
+ file0
+
+ ranges
+
+
+
+ line191
+ col33
+ file0
+
+
+ line191
+ col33
+ file0
+
+
+
+ depth0
+ extended_message
+ Call to 'alloca' has an allocation size of 0 bytes
+ message
+ Call to 'alloca' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'alloca' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context1ec52551362b070237f47f6bb6c3847d
+ issue_context_kindfunction
+ issue_contexttest_builtin_alloca
+ issue_hash_function_offset1
+ location
+
+ line191
+ col16
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 190
+ 191
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line220
- col3
- file0
-
-
- line220
- col8
- file0
+ start
+
+
+ line203
+ col3
+ file0
+
+
+ line203
+ col6
+ file0
+
+
+ end
+
+
+ line203
+ col15
+ file0
+
+
+ line203
+ col20
+ file0
+
+
-
- depth0
- extended_message
- 'p' initialized to a null pointer value
- message
- 'p' initialized to a null pointer value
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line220
- col3
- file0
-
-
- line220
- col5
- file0
-
-
- end
-
-
- line221
- col3
- file0
-
-
- line221
- col15
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line203
+ col15
+ file0
+
+ ranges
-
- start
-
-
- line221
- col3
- file0
-
-
- line221
- col15
- file0
-
-
- end
-
-
- line221
- col24
- file0
-
-
- line221
- col24
- file0
-
-
-
+
+
+ line203
+ col22
+ file0
+
+
+ line203
+ col22
+ file0
+
+
-
-
- kindevent
- location
-
- line221
- col24
- file0
+ depth0
+ extended_message
+ Call to 'valloc' has an allocation size of 0 bytes
+ message
+ Call to 'valloc' has an allocation size of 0 bytes
- ranges
-
+
+ descriptionCall to 'valloc' has an allocation size of 0 bytes
+ categoryUnix API
+ typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
+ check_nameunix.API
+
+ issue_hash_content_of_line_in_context675741e04c8d0071d280324e23f41d35
+ issue_context_kindfunction
+ issue_contexttest_valloc
+ issue_hash_function_offset1
+ location
+
+ line203
+ col15
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 202
+ 203
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line221
- col24
- file0
-
-
- line225
- col3
- file0
+ start
+
+
+ line216
+ col3
+ file0
+
+
+ line216
+ col17
+ file0
+
+
+ end
+
+
+ line217
+ col3
+ file0
+
+
+ line217
+ col15
+ file0
+
+
-
- depth0
- extended_message
- 'p' captured by block as a null pointer value
- message
- 'p' captured by block as a null pointer value
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line217
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line221
- col24
- file0
-
-
- line221
- col24
- file0
-
-
- end
-
-
- line221
- col3
- file0
-
-
- line221
- col15
- file0
-
-
-
+
+
+ line217
+ col17
+ file0
+
+
+ line217
+ col21
+ file0
+
+
-
-
- kindevent
- location
+ depth0
+ extended_message
+ Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+ message
+ Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+
+
+ descriptionCall to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
+ categoryAPI Misuse (Apple)
+ typeImproper use of 'dispatch_once'
+ check_nameosx.API
+
+ issue_hash_content_of_line_in_context8ded1f2025c1e4a4bcd5302dc97006d9
+ issue_context_kindfunction
+ issue_contexttest_dispatch_once_in_macro
+ issue_hash_function_offset2
+ location
+
+ line217
+ col3
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 215
+ 216
+ 217
+
+
+
+
+ path
+
- line221
- col3
- file0
+ kindevent
+ location
+
+ line222
+ col3
+ file0
+
+ ranges
+
+
+
+ line222
+ col3
+ file0
+
+
+ line222
+ col8
+ file0
+
+
+
+ depth0
+ extended_message
+ 'p' initialized to a null pointer value
+ message
+ 'p' initialized to a null pointer value
- ranges
-
+
+ kindcontrol
+ edges
- line221
- col3
- file0
-
-
- line225
- col4
- file0
+ start
+
+
+ line222
+ col3
+ file0
+
+
+ line222
+ col5
+ file0
+
+
+ end
+
+
+ line223
+ col3
+ file0
+
+
+ line223
+ col15
+ file0
+
+
-
- depth0
- extended_message
- Calling 'dispatch_sync'
- message
- Calling 'dispatch_sync'
-
-
- kindevent
- location
-
- line221
- col3
- file0
-
- ranges
-
+
+
+ kindcontrol
+ edges
- line221
- col3
- file0
-
-
- line225
- col4
- file0
+ start
+
+
+ line223
+ col3
+ file0
+
+
+ line223
+ col15
+ file0
+
+
+ end
+
+
+ line223
+ col24
+ file0
+
+
+ line223
+ col24
+ file0
+
+
-
- depth1
- extended_message
- Calling anonymous block
- message
- Calling anonymous block
-
-
- kindevent
- location
-
- line221
- col24
- file0
-
- depth2
- extended_message
- Entered call from 'dispatch_sync'
- message
- Entered call from 'dispatch_sync'
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line221
- col24
- file0
-
-
- line221
- col24
- file0
-
-
- end
-
-
- line222
- col4
- file0
-
-
- line222
- col5
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line223
+ col24
+ file0
+
+ ranges
-
- start
-
-
- line222
- col4
- file0
-
-
- line222
- col5
- file0
-
-
- end
-
-
- line222
- col8
- file0
-
-
- line222
- col8
- file0
-
-
-
+
+
+ line223
+ col24
+ file0
+
+
+ line227
+ col3
+ file0
+
+
-
-
- kindevent
- location
-
- line222
- col8
- file0
+ depth0
+ extended_message
+ 'p' captured by block as a null pointer value
+ message
+ 'p' captured by block as a null pointer value
- ranges
-
+
+ kindcontrol
+ edges
- line222
- col8
- file0
-
-
- line222
- col8
- file0
+ start
+
+
+ line223
+ col24
+ file0
+
+
+ line223
+ col24
+ file0
+
+
+ end
+
+
+ line223
+ col3
+ file0
+
+
+ line223
+ col15
+ file0
+
+
-
- depth2
- extended_message
- Assuming 'q' is non-null
- message
- Assuming 'q' is non-null
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line223
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line222
- col8
- file0
-
-
- line222
- col8
- file0
-
-
- end
-
-
- line223
- col3
- file0
-
-
- line223
- col3
- file0
-
-
-
+
+
+ line223
+ col3
+ file0
+
+
+ line227
+ col4
+ file0
+
+
-
-
- kindcontrol
- edges
+ depth0
+ extended_message
+ Calling 'dispatch_sync'
+ message
+ Calling 'dispatch_sync'
+
+
+ kindevent
+ location
+
+ line223
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line223
- col3
- file0
-
-
- line223
- col3
- file0
-
-
- end
-
-
- line223
- col6
- file0
-
-
- line223
- col6
- file0
-
-
-
+
+
+ line223
+ col3
+ file0
+
+
+ line227
+ col4
+ file0
+
+
-
-
- kindevent
- location
+ depth1
+ extended_message
+ Calling anonymous block
+ message
+ Calling anonymous block
+
- line223
- col6
- file0
+ kindevent
+ location
+
+ line223
+ col24
+ file0
+
+ depth2
+ extended_message
+ Entered call from 'dispatch_sync'
+ message
+ Entered call from 'dispatch_sync'
- ranges
-
+
+ kindcontrol
+ edges
- line223
- col4
- file0
-
-
- line223
- col4
- file0
+ start
+
+
+ line223
+ col24
+ file0
+
+
+ line223
+ col24
+ file0
+
+
+ end
+
+
+ line224
+ col4
+ file0
+
+
+ line224
+ col5
+ file0
+
+
-
- depth2
- extended_message
- Dereference of null pointer (loaded from variable 'p')
- message
- Dereference of null pointer (loaded from variable 'p')
-
-
- descriptionDereference of null pointer (loaded from variable 'p')
- categoryLogic error
- typeDereference of null pointer
- check_namecore.NullDereference
-
- issue_hash_content_of_line_in_context5d3f4c433004c7a6d4a06aa30cc3ea85
- location
-
- line223
- col6
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line230
- col3
- file0
-
-
- line230
- col8
- file0
-
-
- end
-
-
- line231
- col3
- file0
-
-
- line231
- col5
- file0
-
-
-
-
-
-
- kindevent
- location
-
- line231
- col3
- file0
- ranges
-
+
+ kindcontrol
+ edges
- line231
- col3
- file0
-
-
- line231
- col8
- file0
+ start
+
+
+ line224
+ col4
+ file0
+
+
+ line224
+ col5
+ file0
+
+
+ end
+
+
+ line224
+ col8
+ file0
+
+
+ line224
+ col8
+ file0
+
+
-
- depth0
- extended_message
- 'p' initialized to a null pointer value
- message
- 'p' initialized to a null pointer value
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line231
- col3
- file0
-
-
- line231
- col5
- file0
-
-
- end
-
-
- line232
- col3
- file0
-
-
- line232
- col15
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line224
+ col8
+ file0
+
+ ranges
-
- start
-
-
- line232
- col3
- file0
-
-
- line232
- col15
- file0
-
-
- end
-
-
- line232
- col24
- file0
-
-
- line232
- col24
- file0
-
-
-
+
+
+ line224
+ col8
+ file0
+
+
+ line224
+ col8
+ file0
+
+
-
-
- kindevent
- location
-
- line232
- col24
- file0
+ depth2
+ extended_message
+ Assuming 'q' is non-null
+ message
+ Assuming 'q' is non-null
- ranges
-
+
+ kindcontrol
+ edges
- line232
- col24
- file0
+ start
+
+
+ line224
+ col8
+ file0
+
+
+ line224
+ col8
+ file0
+
+
+ end
+
+
+ line225
+ col3
+ file0
+
+
+ line225
+ col3
+ file0
+
+
+
+
+
+ kindcontrol
+ edges
+
- line234
- col3
- file0
+ start
+
+
+ line225
+ col3
+ file0
+
+
+ line225
+ col3
+ file0
+
+
+ end
+
+
+ line225
+ col6
+ file0
+
+
+ line225
+ col6
+ file0
+
+
-
- depth0
- extended_message
- 'p' captured by block as a null pointer value
- message
- 'p' captured by block as a null pointer value
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line225
+ col6
+ file0
+
+ ranges
-
- start
-
-
- line232
- col24
- file0
-
-
- line232
- col24
- file0
-
-
- end
-
-
- line232
- col3
- file0
-
-
- line232
- col15
- file0
-
-
-
+
+
+ line225
+ col4
+ file0
+
+
+ line225
+ col4
+ file0
+
+
-
-
- kindevent
- location
-
- line232
- col3
- file0
+ depth2
+ extended_message
+ Dereference of null pointer (loaded from variable 'p')
+ message
+ Dereference of null pointer (loaded from variable 'p')
- ranges
-
+
+ descriptionDereference of null pointer (loaded from variable 'p')
+ categoryLogic error
+ typeDereference of null pointer
+ check_namecore.NullDereference
+
+ issue_hash_content_of_line_in_context5d3f4c433004c7a6d4a06aa30cc3ea85
+ location
+
+ line225
+ col6
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 40
+ 221
+ 222
+ 223
+ 224
+ 225
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line232
- col3
- file0
-
-
- line234
- col4
- file0
+ start
+
+
+ line232
+ col3
+ file0
+
+
+ line232
+ col8
+ file0
+
+
+ end
+
+
+ line233
+ col3
+ file0
+
+
+ line233
+ col5
+ file0
+
+
-
- depth0
- extended_message
- Calling '_dispatch_once'
- message
- Calling '_dispatch_once'
-
-
- kindevent
- location
-
- line50
- col1
- file0
-
- depth1
- extended_message
- Entered call from 'test_inline_dispatch_once'
- message
- Entered call from 'test_inline_dispatch_once'
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line50
- col1
- file0
-
-
- line50
- col6
- file0
-
-
- end
-
-
- line58
- col2
- file0
-
-
- line58
- col3
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line233
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line58
- col2
- file0
-
-
- line58
- col3
- file0
-
-
- end
-
-
- line59
- col3
- file0
-
-
- line59
- col15
- file0
-
-
-
+
+
+ line233
+ col3
+ file0
+
+
+ line233
+ col8
+ file0
+
+
-
-
- kindevent
- location
-
- line59
- col3
- file0
+ depth0
+ extended_message
+ 'p' initialized to a null pointer value
+ message
+ 'p' initialized to a null pointer value
- ranges
-
+
+ kindcontrol
+ edges
- line59
- col3
- file0
-
-
- line59
- col33
- file0
+ start
+
+
+ line233
+ col3
+ file0
+
+
+ line233
+ col5
+ file0
+
+
+ end
+
+
+ line234
+ col3
+ file0
+
+
+ line234
+ col15
+ file0
+
+
-
- depth1
- extended_message
- Calling 'dispatch_once'
- message
- Calling 'dispatch_once'
-
-
- kindevent
- location
-
- line59
- col3
- file0
-
- ranges
-
+
+
+ kindcontrol
+ edges
- line59
- col3
- file0
-
-
- line59
- col33
- file0
+ start
+
+
+ line234
+ col3
+ file0
+
+
+ line234
+ col15
+ file0
+
+
+ end
+
+
+ line234
+ col24
+ file0
+
+
+ line234
+ col24
+ file0
+
+
-
- depth2
- extended_message
- Calling anonymous block
- message
- Calling anonymous block
-
-
- kindevent
- location
-
- line232
- col24
- file0
-
- depth3
- extended_message
- Entered call from 'dispatch_once'
- message
- Entered call from 'dispatch_once'
-
-
- kindcontrol
- edges
-
-
- start
-
-
- line232
- col24
- file0
-
-
- line232
- col24
- file0
-
-
- end
-
-
- line233
- col4
- file0
-
-
- line233
- col4
- file0
-
-
-
-
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line234
+ col24
+ file0
+
+ ranges
-
- start
-
-
- line233
- col4
- file0
-
-
- line233
- col4
- file0
-
-
- end
-
-
- line233
- col7
- file0
-
-
- line233
- col7
- file0
-
-
-
+
+
+ line234
+ col24
+ file0
+
+
+ line236
+ col3
+ file0
+
+
-
-
- kindevent
- location
-
- line233
- col7
- file0
+ depth0
+ extended_message
+ 'p' captured by block as a null pointer value
+ message
+ 'p' captured by block as a null pointer value
- ranges
-
+
+ kindcontrol
+ edges
- line233
- col5
- file0
-
-
- line233
- col5
- file0
+ start
+
+
+ line234
+ col24
+ file0
+
+
+ line234
+ col24
+ file0
+
+
+ end
+
+
+ line234
+ col3
+ file0
+
+
+ line234
+ col15
+ file0
+
+
-
- depth3
- extended_message
- Dereference of null pointer (loaded from variable 'p')
- message
- Dereference of null pointer (loaded from variable 'p')
-
-
- descriptionDereference of null pointer (loaded from variable 'p')
- categoryLogic error
- typeDereference of null pointer
- check_namecore.NullDereference
-
- issue_hash_content_of_line_in_context265c4fd608dafee211bfa93d21c28866
- location
-
- line233
- col7
- file0
-
-
-
- path
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line234
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line239
- col3
- file0
-
-
- line239
- col8
- file0
-
-
- end
-
-
- line241
- col3
- file0
-
-
- line241
- col15
- file0
-
-
-
+
+
+ line234
+ col3
+ file0
+
+
+ line236
+ col4
+ file0
+
+
-
-
- kindevent
- location
+ depth0
+ extended_message
+ Calling '_dispatch_once'
+ message
+ Calling '_dispatch_once'
+
- line241
- col3
- file0
+ kindevent
+ location
+
+ line52
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'test_inline_dispatch_once'
+ message
+ Entered call from 'test_inline_dispatch_once'
- ranges
-
+
+ kindcontrol
+ edges
- line241
- col3
- file0
+ start
+
+
+ line52
+ col1
+ file0
+
+
+ line52
+ col6
+ file0
+
+
+ end
+
+
+ line60
+ col2
+ file0
+
+
+ line60
+ col3
+ file0
+
+
+
+
+
+ kindcontrol
+ edges
+
- line243
- col4
- file0
+ start
+
+
+ line60
+ col2
+ file0
+
+
+ line60
+ col3
+ file0
+
+
+ end
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col15
+ file0
+
+
-
- depth0
- extended_message
- Calling '_dispatch_once'
- message
- Calling '_dispatch_once'
-
-
- kindevent
- location
-
- line50
- col1
- file0
-
- depth1
- extended_message
- Entered call from 'test_inline_dispatch_once_reachable'
- message
- Entered call from 'test_inline_dispatch_once_reachable'
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line61
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line50
- col1
- file0
-
-
- line50
- col6
- file0
-
-
- end
-
-
- line58
- col2
- file0
-
-
- line58
- col3
- file0
-
-
-
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col33
+ file0
+
+
-
-
- kindcontrol
- edges
+ depth1
+ extended_message
+ Calling 'dispatch_once'
+ message
+ Calling 'dispatch_once'
+
+
+ kindevent
+ location
+
+ line61
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line58
- col2
- file0
-
-
- line58
- col3
- file0
-
-
- end
-
-
- line59
- col3
- file0
-
-
- line59
- col15
- file0
-
-
-
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col33
+ file0
+
+
-
-
- kindevent
- location
+ depth2
+ extended_message
+ Calling anonymous block
+ message
+ Calling anonymous block
+
- line59
- col3
- file0
+ kindevent
+ location
+
+ line234
+ col24
+ file0
+
+ depth3
+ extended_message
+ Entered call from 'dispatch_once'
+ message
+ Entered call from 'dispatch_once'
- ranges
-
+
+ kindcontrol
+ edges
- line59
- col3
- file0
-
-
- line59
- col33
- file0
+ start
+
+
+ line234
+ col24
+ file0
+
+
+ line234
+ col24
+ file0
+
+
+ end
+
+
+ line235
+ col4
+ file0
+
+
+ line235
+ col4
+ file0
+
+
-
- depth1
- extended_message
- Calling 'dispatch_once'
- message
- Calling 'dispatch_once'
-
-
- kindevent
- location
-
- line59
- col3
- file0
-
- ranges
-
+
+
+ kindcontrol
+ edges
- line59
- col3
- file0
-
-
- line59
- col33
- file0
+ start
+
+
+ line235
+ col4
+ file0
+
+
+ line235
+ col4
+ file0
+
+
+ end
+
+
+ line235
+ col7
+ file0
+
+
+ line235
+ col7
+ file0
+
+
-
- depth2
- extended_message
- Calling anonymous block
- message
- Calling anonymous block
-
-
- kindevent
- location
-
- line241
- col24
- file0
-
- depth3
- extended_message
- Entered call from 'dispatch_once'
- message
- Entered call from 'dispatch_once'
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line235
+ col7
+ file0
+
+ ranges
-
- start
-
-
- line241
- col24
- file0
-
-
- line241
- col24
- file0
-
-
- end
-
-
- line242
- col7
- file0
-
-
- line242
- col7
- file0
-
-
-
+
+
+ line235
+ col5
+ file0
+
+
+ line235
+ col5
+ file0
+
+
-
-
- kindevent
- location
-
- line242
- col7
- file0
+ depth3
+ extended_message
+ Dereference of null pointer (loaded from variable 'p')
+ message
+ Dereference of null pointer (loaded from variable 'p')
- ranges
-
+
+ descriptionDereference of null pointer (loaded from variable 'p')
+ categoryLogic error
+ typeDereference of null pointer
+ check_namecore.NullDereference
+
+ issue_hash_content_of_line_in_context265c4fd608dafee211bfa93d21c28866
+ location
+
+ line235
+ col7
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 44
+ 45
+ 46
+ 47
+ 48
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 231
+ 232
+ 233
+ 234
+ 235
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
- line242
- col7
- file0
-
-
- line242
- col11
- file0
+ start
+
+
+ line241
+ col3
+ file0
+
+
+ line241
+ col8
+ file0
+
+
+ end
+
+
+ line243
+ col3
+ file0
+
+
+ line243
+ col15
+ file0
+
+
-
- depth3
- extended_message
- Null pointer value stored to 'p'
- message
- Null pointer value stored to 'p'
-
-
- kindevent
- location
-
- line59
- col3
- file0
-
- ranges
-
+
+
+ kindevent
+ location
+
+ line243
+ col3
+ file0
+
+ ranges
+
+
+
+ line243
+ col3
+ file0
+
+
+ line245
+ col4
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling '_dispatch_once'
+ message
+ Calling '_dispatch_once'
+
+
+ kindevent
+ location
+
+ line52
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'test_inline_dispatch_once_reachable'
+ message
+ Entered call from 'test_inline_dispatch_once_reachable'
+
+
+ kindcontrol
+ edges
- line59
- col3
- file0
-
-
- line59
- col33
- file0
+ start
+
+
+ line52
+ col1
+ file0
+
+
+ line52
+ col6
+ file0
+
+
+ end
+
+
+ line60
+ col2
+ file0
+
+
+ line60
+ col3
+ file0
+
+
-
- depth2
- extended_message
- Returning to caller
- message
- Returning to caller
-
-
- kindevent
- location
-
- line59
- col3
- file0
-
- ranges
-
+
+
+ kindcontrol
+ edges
- line59
- col3
- file0
-
-
- line59
- col33
- file0
+ start
+
+
+ line60
+ col2
+ file0
+
+
+ line60
+ col3
+ file0
+
+
+ end
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col15
+ file0
+
+
-
- depth1
- extended_message
- Returning from 'dispatch_once'
- message
- Returning from 'dispatch_once'
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line61
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line59
- col3
- file0
-
-
- line59
- col15
- file0
-
-
- end
-
-
- line63
- col2
- file0
-
-
- line63
- col17
- file0
-
-
-
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col33
+ file0
+
+
-
-
- kindevent
- location
+ depth1
+ extended_message
+ Calling 'dispatch_once'
+ message
+ Calling 'dispatch_once'
+
- line241
- col3
- file0
+ kindevent
+ location
+
+ line61
+ col3
+ file0
+
+ ranges
+
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col33
+ file0
+
+
+
+ depth2
+ extended_message
+ Calling anonymous block
+ message
+ Calling anonymous block
- ranges
-
+
+ kindevent
+ location
+
+ line243
+ col24
+ file0
+
+ depth3
+ extended_message
+ Entered call from 'dispatch_once'
+ message
+ Entered call from 'dispatch_once'
+
+
+ kindcontrol
+ edges
- line241
- col3
- file0
-
-
- line243
- col4
- file0
+ start
+
+
+ line243
+ col24
+ file0
+
+
+ line243
+ col24
+ file0
+
+
+ end
+
+
+ line244
+ col7
+ file0
+
+
+ line244
+ col7
+ file0
+
+
-
- depth0
- extended_message
- Returning from '_dispatch_once'
- message
- Returning from '_dispatch_once'
-
-
- kindcontrol
- edges
+
+
+ kindevent
+ location
+
+ line244
+ col7
+ file0
+
+ ranges
-
- start
-
-
- line241
- col3
- file0
-
-
- line241
- col15
- file0
-
-
- end
-
-
- line245
- col3
- file0
-
-
- line245
- col3
- file0
-
-
-
+
+
+ line244
+ col7
+ file0
+
+
+ line244
+ col11
+ file0
+
+
-
-
- kindcontrol
- edges
+ depth3
+ extended_message
+ Null pointer value stored to 'p'
+ message
+ Null pointer value stored to 'p'
+
+
+ kindevent
+ location
+
+ line61
+ col3
+ file0
+
+ ranges
-
- start
-
-
- line245
- col3
- file0
-
-
- line245
- col3
- file0
-
-
- end
-
-
- line245
- col6
- file0
-
-
- line245
- col6
- file0
-
-
-
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col33
+ file0
+
+
-
-
- kindevent
- location
+ depth2
+ extended_message
+ Returning to caller
+ message
+ Returning to caller
+
- line245
- col6
- file0
+ kindevent
+ location
+
+ line61
+ col3
+ file0
+
+ ranges
+
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col33
+ file0
+
+
+
+ depth1
+ extended_message
+ Returning from 'dispatch_once'
+ message
+ Returning from 'dispatch_once'
- ranges
-
+
+ kindcontrol
+ edges
- line245
- col4
- file0
+ start
+
+
+ line61
+ col3
+ file0
+
+
+ line61
+ col15
+ file0
+
+
+ end
+
+
+ line65
+ col2
+ file0
+
+
+ line65
+ col17
+ file0
+
+
+
+
+
+ kindevent
+ location
+
+ line243
+ col3
+ file0
+
+ ranges
+
+
+
+ line243
+ col3
+ file0
+
+
+ line245
+ col4
+ file0
+
+
+
+ depth0
+ extended_message
+ Returning from '_dispatch_once'
+ message
+ Returning from '_dispatch_once'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line243
+ col3
+ file0
+
+
+ line243
+ col15
+ file0
+
+
+ end
+
+
+ line247
+ col3
+ file0
+
+
+ line247
+ col3
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
- line245
- col4
- file0
+ start
+
+
+ line247
+ col3
+ file0
+
+
+ line247
+ col3
+ file0
+
+
+ end
+
+
+ line247
+ col6
+ file0
+
+
+ line247
+ col6
+ file0
+
+
-
- depth0
- extended_message
- Dereference of null pointer (loaded from variable 'p')
- message
- Dereference of null pointer (loaded from variable 'p')
-
+
+
+ kindevent
+ location
+
+ line247
+ col6
+ file0
+
+ ranges
+
+
+
+ line247
+ col4
+ file0
+
+
+ line247
+ col4
+ file0
+
+
+
+ depth0
+ extended_message
+ Dereference of null pointer (loaded from variable 'p')
+ message
+ Dereference of null pointer (loaded from variable 'p')
+
+
+ descriptionDereference of null pointer (loaded from variable 'p')
+ categoryLogic error
+ typeDereference of null pointer
+ check_namecore.NullDereference
+
+ issue_hash_content_of_line_in_context1e83bd4361a2351df0b4e77eb3a9109b
+ issue_context_kindfunction
+ issue_contexttest_inline_dispatch_once_reachable
+ issue_hash_function_offset7
+ location
+
+ line247
+ col6
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 44
+ 45
+ 46
+ 47
+ 48
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 65
+ 240
+ 241
+ 242
+ 243
+ 244
+ 247
+
- descriptionDereference of null pointer (loaded from variable 'p')
- categoryLogic error
- typeDereference of null pointer
- check_namecore.NullDereference
-
- issue_hash_content_of_line_in_context1e83bd4361a2351df0b4e77eb3a9109b
- issue_context_kindfunction
- issue_contexttest_inline_dispatch_once_reachable
- issue_hash_function_offset7
- location
-
- line245
- col6
- file0
-
-
-
-
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
===================================================================
--- clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
+++ clang/test/Analysis/MismatchedDeallocator-path-notes.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify %s
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist %s -o %t.plist
-// RUN: FileCheck --input-file=%t.plist %s
+// RUN: tail -n +11 %t.plist | diff -u -w - %S/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist
void changePointee(int *p);
int *allocIntArray(unsigned c) {
@@ -13,293 +13,3 @@
delete p; // expected-warning {{Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'}}
// expected-note@-1 {{Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'}}
}
-
-// CHECK: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col27
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'allocIntArray'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'allocIntArray'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'test'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'test'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col19
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col27
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line13
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line13
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line13
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line13
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line13
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionMemory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeBad deallocator
-// CHECK-NEXT: check_nameunix.MismatchedDeallocator
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context2009ca1da75217064b6052ba7465dff9
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest
-// CHECK-NEXT: issue_hash_function_offset4
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line13
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
Index: clang/test/Analysis/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist
===================================================================
--- /dev/null
+++ clang/test/Analysis/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist
@@ -0,0 +1,303 @@
+ diagnostics
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line10
+ col3
+ file0
+
+
+ line10
+ col5
+ file0
+
+
+ end
+
+
+ line10
+ col12
+ file0
+
+
+ line10
+ col24
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line10
+ col12
+ file0
+
+ ranges
+
+
+
+ line10
+ col12
+ file0
+
+
+ line10
+ col27
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'allocIntArray'
+ message
+ Calling 'allocIntArray'
+
+
+ kindevent
+ location
+
+ line6
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'test'
+ message
+ Entered call from 'test'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line6
+ col1
+ file0
+
+
+ line6
+ col3
+ file0
+
+
+ end
+
+
+ line7
+ col3
+ file0
+
+
+ line7
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line7
+ col10
+ file0
+
+ ranges
+
+
+
+ line7
+ col10
+ file0
+
+
+ line7
+ col19
+ file0
+
+
+
+ depth1
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindevent
+ location
+
+ line10
+ col12
+ file0
+
+ ranges
+
+
+
+ line10
+ col12
+ file0
+
+
+ line10
+ col27
+ file0
+
+
+
+ depth0
+ extended_message
+ Returned allocated memory
+ message
+ Returned allocated memory
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line10
+ col12
+ file0
+
+
+ line10
+ col24
+ file0
+
+
+ end
+
+
+ line10
+ col3
+ file0
+
+
+ line10
+ col5
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line10
+ col3
+ file0
+
+
+ line10
+ col5
+ file0
+
+
+ end
+
+
+ line13
+ col3
+ file0
+
+
+ line13
+ col8
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line13
+ col3
+ file0
+
+ ranges
+
+
+
+ line13
+ col10
+ file0
+
+
+ line13
+ col10
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
+ message
+ Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
+
+
+ descriptionMemory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
+ categoryMemory error
+ typeBad deallocator
+ check_nameunix.MismatchedDeallocator
+
+ issue_hash_content_of_line_in_context2009ca1da75217064b6052ba7465dff9
+ issue_context_kindfunction
+ issue_contexttest
+ issue_hash_function_offset4
+ location
+
+ line13
+ col3
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 6
+ 7
+ 9
+ 10
+ 12
+ 13
+
+
+
+
+
+
\ No newline at end of file
Index: clang/test/Analysis/copypaste/Inputs/expected-plists/plist-diagnostics-notes-as-events.cpp.plist
===================================================================
--- clang/test/Analysis/copypaste/Inputs/expected-plists/plist-diagnostics-notes-as-events.cpp.plist
+++ clang/test/Analysis/copypaste/Inputs/expected-plists/plist-diagnostics-notes-as-events.cpp.plist
@@ -74,7 +74,15 @@
col23
file0
+ ExecutedLines
+
+ 1
+
+ 6
+ 13
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/copypaste/Inputs/expected-plists/plist-diagnostics.cpp.plist
===================================================================
--- clang/test/Analysis/copypaste/Inputs/expected-plists/plist-diagnostics.cpp.plist
+++ clang/test/Analysis/copypaste/Inputs/expected-plists/plist-diagnostics.cpp.plist
@@ -75,7 +75,15 @@
col23
file0
+ ExecutedLines
+
+ 1
+
+ 6
+ 13
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/deref-track-symbolic-region.c.plist
===================================================================
--- clang/test/Analysis/diagnostics/Inputs/expected-plists/deref-track-symbolic-region.c.plist
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/deref-track-symbolic-region.c.plist
@@ -276,6 +276,18 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 12
+ 13
+ 14
+ 16
+ 17
+ 23
+
+
path
@@ -616,7 +628,20 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 27
+ 28
+ 29
+ 31
+ 32
+ 37
+ 38
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist
===================================================================
--- /dev/null
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist
@@ -0,0 +1,147 @@
+ /Volumes/Transcend/code/monorepo/llvm-project/clang/test/Analysis/diagnostics/Inputs/include/plist-diagnostics-include-check-macro.def
+
+ diagnostics
+
+
+ path
+
+
+ kindevent
+ location
+
+ line7
+ col3
+ file0
+
+ ranges
+
+
+
+ line7
+ col3
+ file0
+
+
+ line1
+ col15
+ file2
+
+
+
+ depth0
+ extended_message
+ Calling 'PlistCheckMacro::run'
+ message
+ Calling 'PlistCheckMacro::run'
+
+
+ kindevent
+ location
+
+ line6
+ col3
+ file1
+
+ depth1
+ extended_message
+ Entered call from 'foo'
+ message
+ Entered call from 'foo'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line6
+ col3
+ file1
+
+
+ line6
+ col6
+ file1
+
+
+ end
+
+
+ line7
+ col5
+ file1
+
+
+ line7
+ col32
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line7
+ col5
+ file1
+
+ ranges
+
+
+
+ line7
+ col5
+ file1
+
+
+ line7
+ col34
+ file1
+
+
+
+ depth1
+ extended_message
+ REACHABLE
+ message
+ REACHABLE
+
+
+ descriptionREACHABLE
+ categorydebug
+ typeChecking analyzer assumptions
+ check_namedebug.ExprInspection
+
+ issue_hash_content_of_line_in_context93b4eab05b21c892c8e31723e5af3f59
+ issue_context_kindC++ method
+ issue_contextrun
+ issue_hash_function_offset1
+ location
+
+ line7
+ col5
+ file1
+
+ ExecutedLines
+
+ 1
+
+ 6
+ 7
+
+ 3
+
+ 5
+ 6
+ 7
+
+
+
+
+
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist
===================================================================
--- /dev/null
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-file.c.plist
@@ -0,0 +1,212 @@
+
+ diagnostics
+
+
+ path
+
+
+ kindevent
+ location
+
+ line7
+ col7
+ file0
+
+ ranges
+
+
+
+ line7
+ col7
+ file0
+
+
+ line7
+ col7
+ file0
+
+
+
+ depth0
+ extended_message
+ Passing null pointer value via 1st parameter 'ptr'
+ message
+ Passing null pointer value via 1st parameter 'ptr'
+
+
+ kindevent
+ location
+
+ line7
+ col3
+ file0
+
+ ranges
+
+
+
+ line7
+ col3
+ file0
+
+
+ line7
+ col8
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'foo'
+ message
+ Calling 'foo'
+
+
+ kindevent
+ location
+
+ line1
+ col1
+ file1
+
+ depth1
+ extended_message
+ Entered call from 'bar'
+ message
+ Entered call from 'bar'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line1
+ col1
+ file1
+
+
+ line1
+ col4
+ file1
+
+
+ end
+
+
+ line2
+ col3
+ file1
+
+
+ line2
+ col3
+ file1
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line2
+ col3
+ file1
+
+
+ line2
+ col3
+ file1
+
+
+ end
+
+
+ line2
+ col8
+ file1
+
+
+ line2
+ col8
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line2
+ col8
+ file1
+
+ ranges
+
+
+
+ line2
+ col4
+ file1
+
+
+ line2
+ col6
+ file1
+
+
+
+ depth1
+ extended_message
+ Dereference of null pointer (loaded from variable 'ptr')
+ message
+ Dereference of null pointer (loaded from variable 'ptr')
+
+
+ descriptionDereference of null pointer (loaded from variable 'ptr')
+ categoryLogic error
+ typeDereference of null pointer
+ check_namecore.NullDereference
+
+ issue_hash_content_of_line_in_context2058c95994cab381890af28e7bf354bf
+ issue_context_kindfunction
+ issue_contextfoo
+ issue_hash_function_offset1
+ location
+
+ line2
+ col8
+ file1
+
+ HTMLDiagnostics_files
+
+ report-516de4.html
+
+ ExecutedLines
+
+ 1
+
+ 6
+ 7
+
+ 3
+
+ 1
+ 2
+
+
+
+
+
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/report-issues-within-main-file.cpp.plist
===================================================================
--- /dev/null
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/report-issues-within-main-file.cpp.plist
@@ -0,0 +1,1825 @@
+
+ diagnostics
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line49
+ col3
+ file0
+
+
+ line49
+ col5
+ file0
+
+
+ end
+
+
+ line51
+ col3
+ file0
+
+
+ line51
+ col23
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line51
+ col3
+ file0
+
+ ranges
+
+
+
+ line51
+ col3
+ file0
+
+
+ line51
+ col23
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'cause_div_by_zero_in_header2'
+ message
+ Calling 'cause_div_by_zero_in_header2'
+
+
+ kindevent
+ location
+
+ line21
+ col1
+ file1
+
+ depth1
+ extended_message
+ Entered call from 'callInMacro'
+ message
+ Entered call from 'callInMacro'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line21
+ col1
+ file1
+
+
+ line21
+ col4
+ file1
+
+
+ end
+
+
+ line22
+ col3
+ file1
+
+
+ line22
+ col5
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line22
+ col3
+ file1
+
+ ranges
+
+
+
+ line22
+ col3
+ file1
+
+
+ line22
+ col8
+ file1
+
+
+
+ depth1
+ extended_message
+ 'h2' initialized to 0
+ message
+ 'h2' initialized to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line22
+ col3
+ file1
+
+
+ line22
+ col5
+ file1
+
+
+ end
+
+
+ line23
+ col10
+ file1
+
+
+ line23
+ col10
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line23
+ col10
+ file1
+
+ ranges
+
+
+
+ line23
+ col8
+ file1
+
+
+ line23
+ col12
+ file1
+
+
+
+ depth1
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_context81ef0773d42c0309a03a9a11048f497e
+ issue_context_kindfunction
+ issue_contextcause_div_by_zero_in_header2
+ issue_hash_function_offset2
+ location
+
+ line23
+ col10
+ file1
+
+ ExecutedLines
+
+ 1
+
+ 48
+ 49
+ 50
+ 51
+
+ 3
+
+ 21
+ 22
+ 23
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line63
+ col3
+ file0
+
+ ranges
+
+
+
+ line63
+ col3
+ file0
+
+
+ line63
+ col16
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'callInMacro3'
+ message
+ Calling 'callInMacro3'
+
+
+ kindevent
+ location
+
+ line55
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'callCallInMacro3'
+ message
+ Entered call from 'callCallInMacro3'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line55
+ col1
+ file0
+
+
+ line55
+ col4
+ file0
+
+
+ end
+
+
+ line56
+ col3
+ file0
+
+
+ line56
+ col5
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line56
+ col3
+ file0
+
+
+ line56
+ col5
+ file0
+
+
+ end
+
+
+ line58
+ col3
+ file0
+
+
+ line58
+ col23
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line58
+ col3
+ file0
+
+ ranges
+
+
+
+ line58
+ col3
+ file0
+
+
+ line58
+ col23
+ file0
+
+
+
+ depth1
+ extended_message
+ Calling 'cause_div_by_zero_in_header3'
+ message
+ Calling 'cause_div_by_zero_in_header3'
+
+
+ kindevent
+ location
+
+ line29
+ col1
+ file1
+
+ depth2
+ extended_message
+ Entered call from 'callInMacro3'
+ message
+ Entered call from 'callInMacro3'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line29
+ col1
+ file1
+
+
+ line29
+ col4
+ file1
+
+
+ end
+
+
+ line30
+ col3
+ file1
+
+
+ line30
+ col5
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line30
+ col3
+ file1
+
+ ranges
+
+
+
+ line30
+ col3
+ file1
+
+
+ line30
+ col8
+ file1
+
+
+
+ depth2
+ extended_message
+ 'h3' initialized to 0
+ message
+ 'h3' initialized to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line30
+ col3
+ file1
+
+
+ line30
+ col5
+ file1
+
+
+ end
+
+
+ line31
+ col10
+ file1
+
+
+ line31
+ col10
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line31
+ col10
+ file1
+
+ ranges
+
+
+
+ line31
+ col8
+ file1
+
+
+ line31
+ col12
+ file1
+
+
+
+ depth2
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_contexta4f425d2b2715e682b08a754fc88d2c8
+ issue_context_kindfunction
+ issue_contextcause_div_by_zero_in_header3
+ issue_hash_function_offset2
+ location
+
+ line31
+ col10
+ file1
+
+ ExecutedLines
+
+ 1
+
+ 55
+ 56
+ 57
+ 58
+ 62
+ 63
+
+ 3
+
+ 29
+ 30
+ 31
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line67
+ col3
+ file0
+
+
+ line67
+ col5
+ file0
+
+
+ end
+
+
+ line69
+ col3
+ file0
+
+
+ line69
+ col18
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line69
+ col3
+ file0
+
+ ranges
+
+
+
+ line69
+ col3
+ file0
+
+
+ line69
+ col51
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'cause_div_by_zero_in_header4'
+ message
+ Calling 'cause_div_by_zero_in_header4'
+
+
+ kindevent
+ location
+
+ line37
+ col1
+ file1
+
+ depth1
+ extended_message
+ Entered call from 'callInMacroArg'
+ message
+ Entered call from 'callInMacroArg'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line37
+ col1
+ file1
+
+
+ line37
+ col4
+ file1
+
+
+ end
+
+
+ line38
+ col3
+ file1
+
+
+ line38
+ col5
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line38
+ col3
+ file1
+
+ ranges
+
+
+
+ line38
+ col3
+ file1
+
+
+ line38
+ col8
+ file1
+
+
+
+ depth1
+ extended_message
+ 'h4' initialized to 0
+ message
+ 'h4' initialized to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line38
+ col3
+ file1
+
+
+ line38
+ col5
+ file1
+
+
+ end
+
+
+ line39
+ col10
+ file1
+
+
+ line39
+ col10
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line39
+ col10
+ file1
+
+ ranges
+
+
+
+ line39
+ col8
+ file1
+
+
+ line39
+ col12
+ file1
+
+
+
+ depth1
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_context35f2ebe7ff6b3b34233a5465a6eaf661
+ issue_context_kindfunction
+ issue_contextcause_div_by_zero_in_header4
+ issue_hash_function_offset2
+ location
+
+ line39
+ col10
+ file1
+
+ ExecutedLines
+
+ 1
+
+ 66
+ 67
+ 68
+ 69
+
+ 3
+
+ 37
+ 38
+ 39
+
+
+
+
+ path
+
+
+ kindevent
+ location
+
+ line6
+ col20
+ file0
+
+ ranges
+
+
+
+ line6
+ col20
+ file0
+
+
+ line6
+ col29
+ file0
+
+
+
+ depth0
+ extended_message
+ Memory is allocated
+ message
+ Memory is allocated
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line6
+ col3
+ file0
+
+
+ line6
+ col10
+ file0
+
+
+ end
+
+
+ line7
+ col1
+ file0
+
+
+ line7
+ col1
+ file0
+
+
+
+
+
+
+ kindevent
+ key_event
+ location
+
+ line7
+ col1
+ file0
+
+ depth0
+ extended_message
+ Calling '~auto_ptr'
+ message
+ Calling '~auto_ptr'
+
+
+ kindevent
+ location
+
+ line7
+ col3
+ file1
+
+ depth1
+ extended_message
+ Entered call from 'mainPlusHeader'
+ message
+ Entered call from 'mainPlusHeader'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line7
+ col3
+ file1
+
+
+ line7
+ col3
+ file1
+
+
+ end
+
+
+ line7
+ col17
+ file1
+
+
+ line7
+ col22
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line7
+ col17
+ file1
+
+ ranges
+
+
+
+ line7
+ col24
+ file1
+
+
+ line7
+ col29
+ file1
+
+
+
+ depth1
+ extended_message
+ Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
+ message
+ Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
+
+
+ descriptionMemory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete' (within a call to '~auto_ptr')
+ categoryMemory error
+ typeBad deallocator
+ check_nameunix.MismatchedDeallocator
+
+ issue_hash_content_of_line_in_contextf689fbd54138491e228f0f89bb02bfb2
+ issue_context_kindfunction
+ issue_contextmainPlusHeader
+ issue_hash_function_offset2
+ location
+
+ line7
+ col1
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 5
+ 6
+ 7
+
+ 3
+
+ 6
+ 7
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line16
+ col3
+ file0
+
+
+ line16
+ col5
+ file0
+
+
+ end
+
+
+ line18
+ col3
+ file0
+
+
+ line18
+ col11
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line18
+ col3
+ file0
+
+ ranges
+
+
+
+ line18
+ col3
+ file0
+
+
+ line18
+ col13
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'auxInMain'
+ message
+ Calling 'auxInMain'
+
+
+ kindevent
+ location
+
+ line9
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'mainPlusMainPlusHeader'
+ message
+ Entered call from 'mainPlusMainPlusHeader'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line9
+ col1
+ file0
+
+
+ line9
+ col4
+ file0
+
+
+ end
+
+
+ line10
+ col3
+ file0
+
+
+ line10
+ col5
+ file0
+
+
+
+
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line10
+ col3
+ file0
+
+
+ line10
+ col5
+ file0
+
+
+ end
+
+
+ line12
+ col3
+ file0
+
+
+ line12
+ col29
+ file0
+
+
+
+
+
+
+ kindevent
+ key_event
+ location
+
+ line12
+ col3
+ file0
+
+ ranges
+
+
+
+ line12
+ col3
+ file0
+
+
+ line12
+ col32
+ file0
+
+
+
+ depth1
+ extended_message
+ Calling 'cause_div_by_zero_in_header'
+ message
+ Calling 'cause_div_by_zero_in_header'
+
+
+ kindevent
+ location
+
+ line10
+ col1
+ file1
+
+ depth2
+ extended_message
+ Entered call from 'auxInMain'
+ message
+ Entered call from 'auxInMain'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line10
+ col1
+ file1
+
+
+ line10
+ col4
+ file1
+
+
+ end
+
+
+ line11
+ col3
+ file1
+
+
+ line11
+ col5
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line11
+ col3
+ file1
+
+ ranges
+
+
+
+ line11
+ col3
+ file1
+
+
+ line11
+ col7
+ file1
+
+
+
+ depth2
+ extended_message
+ 'h' initialized to 0
+ message
+ 'h' initialized to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line11
+ col3
+ file1
+
+
+ line11
+ col5
+ file1
+
+
+ end
+
+
+ line12
+ col9
+ file1
+
+
+ line12
+ col9
+ file1
+
+
+
+
+
+
+ kindevent
+ location
+
+ line12
+ col9
+ file1
+
+ ranges
+
+
+
+ line12
+ col7
+ file1
+
+
+ line12
+ col10
+ file1
+
+
+
+ depth2
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero (within a call to 'cause_div_by_zero_in_header')
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_contextdceba279187ce4f6514f4a4c43a51063
+ issue_context_kindfunction
+ issue_contextauxInMain
+ issue_hash_function_offset3
+ location
+
+ line12
+ col3
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 9
+ 10
+ 11
+ 12
+ 15
+ 16
+ 17
+ 18
+
+ 3
+
+ 10
+ 11
+ 12
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line28
+ col3
+ file0
+
+
+ line28
+ col5
+ file0
+
+
+ end
+
+
+ line30
+ col3
+ file0
+
+
+ line30
+ col22
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line30
+ col3
+ file0
+
+ ranges
+
+
+
+ line30
+ col3
+ file0
+
+
+ line30
+ col25
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'causeDivByZeroInMain'
+ message
+ Calling 'causeDivByZeroInMain'
+
+
+ kindevent
+ location
+
+ line22
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'mainPlusMain'
+ message
+ Entered call from 'mainPlusMain'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line22
+ col1
+ file0
+
+
+ line22
+ col4
+ file0
+
+
+ end
+
+
+ line23
+ col3
+ file0
+
+
+ line23
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line23
+ col3
+ file0
+
+ ranges
+
+
+
+ line23
+ col3
+ file0
+
+
+ line23
+ col7
+ file0
+
+
+
+ depth1
+ extended_message
+ 'm' initialized to 0
+ message
+ 'm' initialized to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line23
+ col3
+ file0
+
+
+ line23
+ col5
+ file0
+
+
+ end
+
+
+ line24
+ col9
+ file0
+
+
+ line24
+ col9
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line24
+ col9
+ file0
+
+ ranges
+
+
+
+ line24
+ col7
+ file0
+
+
+ line24
+ col10
+ file0
+
+
+
+ depth1
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_contextd0d513aa4710781c2b56c44226354403
+ issue_context_kindfunction
+ issue_contextcauseDivByZeroInMain
+ issue_hash_function_offset2
+ location
+
+ line24
+ col9
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 22
+ 23
+ 24
+ 27
+ 28
+ 29
+ 30
+
+
+
+
+ path
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line41
+ col3
+ file0
+
+
+ line41
+ col5
+ file0
+
+
+ end
+
+
+ line44
+ col3
+ file0
+
+
+ line44
+ col23
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line44
+ col3
+ file0
+
+ ranges
+
+
+
+ line44
+ col3
+ file0
+
+
+ line44
+ col26
+ file0
+
+
+
+ depth0
+ extended_message
+ Calling 'causeDivByZeroInMain2'
+ message
+ Calling 'causeDivByZeroInMain2'
+
+
+ kindevent
+ location
+
+ line34
+ col1
+ file0
+
+ depth1
+ extended_message
+ Entered call from 'mainPlustHeaderCallAndReturnPlusMain'
+ message
+ Entered call from 'mainPlustHeaderCallAndReturnPlusMain'
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line34
+ col1
+ file0
+
+
+ line34
+ col4
+ file0
+
+
+ end
+
+
+ line35
+ col3
+ file0
+
+
+ line35
+ col5
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line35
+ col3
+ file0
+
+ ranges
+
+
+
+ line35
+ col3
+ file0
+
+
+ line35
+ col8
+ file0
+
+
+
+ depth1
+ extended_message
+ 'm2' initialized to 0
+ message
+ 'm2' initialized to 0
+
+
+ kindcontrol
+ edges
+
+
+ start
+
+
+ line35
+ col3
+ file0
+
+
+ line35
+ col5
+ file0
+
+
+ end
+
+
+ line36
+ col10
+ file0
+
+
+ line36
+ col10
+ file0
+
+
+
+
+
+
+ kindevent
+ location
+
+ line36
+ col10
+ file0
+
+ ranges
+
+
+
+ line36
+ col8
+ file0
+
+
+ line36
+ col12
+ file0
+
+
+
+ depth1
+ extended_message
+ Division by zero
+ message
+ Division by zero
+
+
+ descriptionDivision by zero
+ categoryLogic error
+ typeDivision by zero
+ check_namecore.DivideZero
+
+ issue_hash_content_of_line_in_context577ddcf4482f18dec120e21890ed234a
+ issue_context_kindfunction
+ issue_contextcauseDivByZeroInMain2
+ issue_hash_function_offset2
+ location
+
+ line36
+ col10
+ file0
+
+ ExecutedLines
+
+ 1
+
+ 34
+ 35
+ 36
+ 40
+ 41
+ 42
+ 43
+ 44
+
+ 3
+
+ 16
+ 17
+ 18
+
+
+
+
+
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-caller.c.plist
===================================================================
--- clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-caller.c.plist
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-caller.c.plist
@@ -111,7 +111,21 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 8
+ 9
+ 10
+ 11
+
+ 3
+
+ 2
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.c.plist
===================================================================
--- clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.c.plist
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.c.plist
@@ -464,6 +464,24 @@
col14
file0
+ ExecutedLines
+
+ 1
+
+ 5
+ 6
+ 7
+ 11
+ 12
+ 15
+ 19
+ 20
+ 21
+ 22
+ 25
+ 26
+
+
path
@@ -784,6 +802,19 @@
col14
file0
+ ExecutedLines
+
+ 1
+
+ 30
+ 31
+ 33
+ 38
+ 39
+ 40
+ 42
+
+
path
@@ -1283,7 +1314,21 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 50
+ 51
+ 54
+ 57
+ 58
+ 59
+ 60
+ 62
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.m.plist
===================================================================
--- clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.m.plist
+++ clang/test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.m.plist
@@ -479,6 +479,23 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 34
+ 35
+ 36
+ 39
+ 53
+ 54
+ 55
+ 56
+ 59
+ 60
+ 62
+
+
path
@@ -978,7 +995,23 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 43
+ 44
+ 45
+ 48
+ 65
+ 66
+ 67
+ 68
+ 71
+ 72
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp
===================================================================
--- clang/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp
+++ clang/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file %s -o %t.plist
-// RUN: FileCheck --input-file=%t.plist %s
+// RUN: tail -n +11 %t.plist | diff -u -w - %S/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist
#include "Inputs/include/plist-diagnostics-include-check-macro.h"
@@ -8,133 +8,3 @@
#define PLIST_DEF_MACRO .run();
#include "Inputs/include/plist-diagnostics-include-check-macro.def"
}
-
-// CHECK: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line1
-// CHECK-NEXT: col15
-// CHECK-NEXT: file2
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'PlistCheckMacro::run'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'PlistCheckMacro::run'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'foo'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'foo'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col6
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col32
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col34
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: REACHABLE
-// CHECK-NEXT: message
-// CHECK-NEXT: REACHABLE
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionREACHABLE
-// CHECK-NEXT: categorydebug
-// CHECK-NEXT: typeChecking analyzer assumptions
-// CHECK-NEXT: check_namedebug.ExprInspection
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context93b4eab05b21c892c8e31723e5af3f59
-// CHECK-NEXT: issue_context_kindC++ method
-// CHECK-NEXT: issue_contextrun
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
Index: clang/test/Analysis/diagnostics/plist-multi-file.c
===================================================================
--- clang/test/Analysis/diagnostics/plist-multi-file.c
+++ clang/test/Analysis/diagnostics/plist-multi-file.c
@@ -1,205 +1,8 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-html -o %t.plist -verify %s
-// RUN: FileCheck --input-file=%t.plist %s
+// RUN: tail -n +11 %t.plist | diff -u -w --ignore-matching-lines=report - %S/Inputs/expected-plists/plist-multi-file.c.plist
#include "plist-multi-file.h"
void bar() {
foo(0);
}
-
-// CHECK: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Passing null pointer value via 1st parameter 'ptr'
-// CHECK-NEXT: message
-// CHECK-NEXT: Passing null pointer value via 1st parameter 'ptr'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'foo'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'foo'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line1
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'bar'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'bar'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line1
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line1
-// CHECK-NEXT: col4
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col4
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col6
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'ptr')
-// CHECK-NEXT: message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'ptr')
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDereference of null pointer (loaded from variable 'ptr')
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDereference of null pointer
-// CHECK-NEXT: check_namecore.NullDereference
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context2058c95994cab381890af28e7bf354bf
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfoo
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line2
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: HTMLDiagnostics_files
-// CHECK-NEXT:
-// CHECK-NEXT: report-{{([0-9a-f]{6})}}.html
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
Index: clang/test/Analysis/diagnostics/report-issues-within-main-file.cpp
===================================================================
--- clang/test/Analysis/diagnostics/report-issues-within-main-file.cpp
+++ clang/test/Analysis/diagnostics/report-issues-within-main-file.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true %s -o %t.plist
-// RUN: FileCheck --input-file=%t.plist %s
+// RUN: tail -n +11 %t.plist | diff -u -w - %S/Inputs/expected-plists/report-issues-within-main-file.cpp.plist
#include "Inputs/include/report-issues-within-main-file.h"
void mainPlusHeader() {
@@ -69,1710 +69,3 @@
TAKE_CALL_AS_ARG(cause_div_by_zero_in_header4(5));
j--;
}
-
-// CHECK:
-// CHECK-NEXT: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line49
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line49
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header2'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header2'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'callInMacro'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'callInMacro'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col4
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'h2' initialized to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: 'h2' initialized to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col12
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context81ef0773d42c0309a03a9a11048f497e
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextcause_div_by_zero_in_header2
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col16
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'callInMacro3'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'callInMacro3'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'callCallInMacro3'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'callCallInMacro3'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header3'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header3'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'callInMacro3'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'callInMacro3'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col4
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'h3' initialized to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: 'h3' initialized to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line31
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line31
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line31
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line31
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line31
-// CHECK-NEXT: col12
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contexta4f425d2b2715e682b08a754fc88d2c8
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextcause_div_by_zero_in_header3
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line31
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line67
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line67
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col51
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header4'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header4'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'callInMacroArg'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'callInMacroArg'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col4
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'h4' initialized to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: 'h4' initialized to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line38
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col8
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col12
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context35f2ebe7ff6b3b34233a5465a6eaf661
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextcause_div_by_zero_in_header4
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col29
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line6
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: key_event
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling '~auto_ptr'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling '~auto_ptr'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'mainPlusHeader'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'mainPlusHeader'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col17
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col22
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col17
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col24
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col29
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionMemory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete' (within a call to '~auto_ptr')
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeBad deallocator
-// CHECK-NEXT: check_nameunix.MismatchedDeallocator
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextf689fbd54138491e228f0f89bb02bfb2
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextmainPlusHeader
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line7
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line16
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line16
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line18
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line18
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line18
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line18
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line18
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'auxInMain'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'auxInMain'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'mainPlusMainPlusHeader'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'mainPlusMainPlusHeader'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col29
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: key_event
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col32
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'cause_div_by_zero_in_header'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'auxInMain'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'auxInMain'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col1
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col4
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col7
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'h' initialized to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: 'h' initialized to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col3
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col5
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col9
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col9
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col9
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col7
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col10
-// CHECK-NEXT: file1
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero (within a call to 'cause_div_by_zero_in_header')
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextdceba279187ce4f6514f4a4c43a51063
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextauxInMain
-// CHECK-NEXT: issue_hash_function_offset3
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'causeDivByZeroInMain'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'causeDivByZeroInMain'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'mainPlusMain'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'mainPlusMain'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'm' initialized to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: 'm' initialized to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line24
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line24
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line24
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line24
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line24
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextd0d513aa4710781c2b56c44226354403
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextcauseDivByZeroInMain
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line24
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line41
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line41
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line44
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line44
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line44
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line44
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line44
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'causeDivByZeroInMain2'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'causeDivByZeroInMain2'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line34
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'mainPlustHeaderCallAndReturnPlusMain'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'mainPlustHeaderCallAndReturnPlusMain'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line34
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line34
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'm2' initialized to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: 'm2' initialized to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line35
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context577ddcf4482f18dec120e21890ed234a
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextcauseDivByZeroInMain2
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
Index: clang/test/Analysis/inlining/Inputs/expected-plists/eager-reclamation-path-notes.c.plist
===================================================================
--- clang/test/Analysis/inlining/Inputs/expected-plists/eager-reclamation-path-notes.c.plist
+++ clang/test/Analysis/inlining/Inputs/expected-plists/eager-reclamation-path-notes.c.plist
@@ -251,6 +251,19 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 5
+ 6
+ 10
+ 15
+ 18
+ 19
+ 21
+
+
path
@@ -609,7 +622,22 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 10
+ 15
+ 27
+ 28
+ 32
+ 33
+ 38
+ 39
+ 41
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/inlining/Inputs/expected-plists/eager-reclamation-path-notes.cpp.plist
===================================================================
--- clang/test/Analysis/inlining/Inputs/expected-plists/eager-reclamation-path-notes.cpp.plist
+++ clang/test/Analysis/inlining/Inputs/expected-plists/eager-reclamation-path-notes.cpp.plist
@@ -348,7 +348,20 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 9
+ 10
+ 14
+ 24
+ 30
+ 31
+ 33
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.c.plist
===================================================================
--- clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.c.plist
+++ clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.c.plist
@@ -251,6 +251,17 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 5
+ 6
+ 10
+ 11
+ 14
+
+
path
@@ -431,6 +442,15 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 18
+ 19
+ 24
+
+
path
@@ -674,6 +694,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 31
+ 32
+ 34
+ 39
+
+
path
@@ -917,6 +947,16 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 43
+ 44
+ 46
+ 51
+
+
path
@@ -1198,6 +1238,17 @@
col14
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 60
+ 64
+ 65
+
+
path
@@ -1479,6 +1530,17 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 60
+ 71
+ 72
+
+
path
@@ -1891,6 +1953,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 60
+ 78
+ 79
+ 83
+
+
path
@@ -2303,6 +2377,18 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 60
+ 87
+ 88
+ 92
+
+
path
@@ -2758,6 +2844,19 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 56
+ 57
+ 60
+ 96
+ 97
+ 101
+ 103
+
+
path
@@ -3010,6 +3109,17 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 112
+ 113
+ 116
+ 117
+ 119
+
+
path
@@ -3156,6 +3266,15 @@
col24
file0
+ ExecutedLines
+
+ 1
+
+ 130
+ 131
+ 132
+
+
path
@@ -3336,6 +3455,15 @@
col7
file0
+ ExecutedLines
+
+ 1
+
+ 136
+ 137
+ 139
+
+
path
@@ -3622,7 +3750,21 @@
col12
file0
+ ExecutedLines
+
+ 1
+
+ 143
+ 146
+ 147
+ 148
+ 151
+ 152
+ 153
+ 155
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.cpp.plist
===================================================================
--- clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.cpp.plist
+++ clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.cpp.plist
@@ -487,6 +487,23 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 7
+ 8
+ 12
+ 13
+ 21
+ 23
+ 24
+ 30
+ 31
+ 32
+ 34
+
+
path
@@ -710,6 +727,18 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 37
+ 38
+ 40
+ 41
+ 44
+ 46
+
+
path
@@ -1028,6 +1057,18 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 62
+ 63
+ 93
+ 109
+ 110
+ 112
+
+
path
@@ -1346,6 +1387,18 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 67
+ 68
+ 93
+ 117
+ 118
+ 120
+
+
path
@@ -1664,6 +1717,20 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 54
+ 55
+ 72
+ 73
+ 102
+ 125
+ 126
+ 128
+
+
path
@@ -1984,6 +2051,21 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 62
+ 63
+ 77
+ 78
+ 93
+ 132
+ 133
+ 134
+ 136
+
+
path
@@ -2304,6 +2386,24 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 54
+ 55
+ 62
+ 63
+ 82
+ 83
+ 100
+ 105
+ 141
+ 142
+ 143
+ 145
+
+
path
@@ -2592,6 +2692,21 @@
col18
file0
+ ExecutedLines
+
+ 1
+
+ 62
+ 63
+ 87
+ 88
+ 93
+ 149
+ 150
+ 151
+ 153
+
+
path
@@ -2844,6 +2959,16 @@
col21
file0
+ ExecutedLines
+
+ 1
+
+ 159
+ 160
+ 172
+ 173
+
+
path
@@ -3193,6 +3318,18 @@
col21
file0
+ ExecutedLines
+
+ 1
+
+ 164
+ 165
+ 166
+ 168
+ 179
+ 180
+
+
path
@@ -3305,6 +3442,15 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 187
+ 188
+ 190
+
+
path
@@ -3671,6 +3817,17 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 196
+ 197
+ 202
+ 203
+ 205
+
+
path
@@ -3880,6 +4037,16 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 209
+ 210
+ 211
+ 212
+
+
path
@@ -4026,6 +4193,15 @@
col8
file0
+ ExecutedLines
+
+ 1
+
+ 219
+ 220
+ 221
+
+
path
@@ -4206,6 +4382,15 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 233
+ 234
+ 237
+
+
path
@@ -4352,6 +4537,15 @@
col11
file0
+ ExecutedLines
+
+ 1
+
+ 241
+ 242
+ 243
+
+
path
@@ -4561,6 +4755,16 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 253
+ 254
+ 259
+ 261
+
+
path
@@ -4750,6 +4954,20 @@
col13
file0
+ ExecutedLines
+
+ 0
+
+ 0
+
+ 1
+
+ 268
+ 269
+ 272
+ 273
+
+
path
@@ -4985,7 +5203,19 @@
col26
file0
+ ExecutedLines
+
+ 1
+
+ 280
+ 281
+ 289
+ 290
+ 295
+ 296
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist
===================================================================
--- clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist
+++ clang/test/Analysis/inlining/Inputs/expected-plists/path-notes.m.plist
@@ -343,6 +343,16 @@
col20
file0
+ ExecutedLines
+
+ 1
+
+ 72
+ 73
+ 78
+ 79
+
+
path
@@ -653,6 +663,19 @@
col12
file0
+ ExecutedLines
+
+ 1
+
+ 7
+ 87
+ 88
+ 90
+ 94
+ 97
+ 101
+
+
path
@@ -902,6 +925,19 @@
col5
file0
+ ExecutedLines
+
+ 1
+
+ 7
+ 105
+ 109
+ 111
+ 114
+ 116
+ 118
+
+
path
@@ -1479,6 +1515,19 @@
col6
file0
+ ExecutedLines
+
+ 1
+
+ 134
+ 135
+ 139
+ 143
+ 145
+ 150
+ 152
+
+
path
@@ -1659,6 +1708,15 @@
col10
file0
+ ExecutedLines
+
+ 1
+
+ 158
+ 159
+ 161
+
+
path
@@ -1914,7 +1972,20 @@
col3
file0
+ ExecutedLines
+
+ 1
+
+ 13
+ 166
+ 167
+ 168
+ 170
+ 175
+ 177
+
+
-
+
\ No newline at end of file
Index: clang/test/Analysis/lambda-notes.cpp
===================================================================
--- clang/test/Analysis/lambda-notes.cpp
+++ clang/test/Analysis/lambda-notes.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_analyze_cc1 -std=c++11 -analyzer-checker=core.DivideZero -analyzer-config inline-lambdas=true -analyzer-output plist -verify %s -o %t
-// RUN: FileCheck --input-file=%t %s
+// RUN: tail -n +11 %t | diff -u -w - %S/Inputs/expected-plists/lambda-notes.cpp.plist
// Diagnostic inside a lambda
@@ -11,196 +11,3 @@
(void)p;
}();
}
-
-// CHECK: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line8
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line8
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: The value 0 is assigned to field ''
-// CHECK-NEXT: message
-// CHECK-NEXT: The value 0 is assigned to field ''
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'operator()'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'operator()'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'diagnosticFromLambda'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'diagnosticFromLambda'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line9
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT: message
-// CHECK-NEXT: Division by zero
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDivision by zero
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDivision by zero
-// CHECK-NEXT: check_namecore.DivideZero
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextbd4eed3234018edced5efc2ed5562a74
-// CHECK-NEXT: issue_context_kindC++ method
-// CHECK-NEXT: issue_contextoperator()
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line10
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
Index: clang/test/Analysis/malloc-plist.c
===================================================================
--- clang/test/Analysis/malloc-plist.c
+++ clang/test/Analysis/malloc-plist.c
@@ -1,6 +1,6 @@
// RUN: rm -f %t
// RUN: %clang_analyze_cc1 -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o %t -analyzer-config eagerly-assume=false %s
-// RUN: FileCheck -input-file %t %s
+// RUN: tail -n +11 %t | diff -u -w - %S/Inputs/expected-plists/malloc-plist.c.plist
typedef __typeof(sizeof(int)) size_t;
void *malloc(size_t);
@@ -207,5038 +207,3 @@
void testMyMalloc() {
my_malloc_into_struct();
} // expected-warning{{Potential memory leak}}
-
-// CHECK: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'in' is > 5
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'in' is > 5
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line11
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col27
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line12
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line14
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line14
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line14
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line14
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line16
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line16
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line16
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'p'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'p'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'p'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextc60b35a3e46fd104f362f430a1eaca5d
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextdiagnosticTest
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line16
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line20
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line20
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col30
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line21
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line22
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'A'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'A'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'A'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context9b732ec46c4a08108dfbd37aa0955c51
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextmyArrayAllocation
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line23
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line26
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line26
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line26
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line26
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line26
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col40
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Attempt to reallocate memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Attempt to reallocate memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line28
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'tmp' is null
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'tmp' is null
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Reallocation failed
-// CHECK-NEXT: message
-// CHECK-NEXT: Reallocation failed
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line29
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'buf'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'buf'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'buf'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context37c0b1a1e65d26af6f9fb840cf159149
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextreallocDiagnostics
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line30
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col21
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'wrapper'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'wrapper'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'test_wrapper'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'test_wrapper'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line36
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line37
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'x' is non-null
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'x' is non-null
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line39
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line40
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line40
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col21
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line45
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line46
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line46
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line46
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line46
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line47
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line47
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line47
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'buf'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'buf'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'buf'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context384d1700f3d9c8eeea96d171e3030bdf
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_wrapper
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line47
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line61
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line61
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'my_malloc_and_free'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'my_malloc_and_free'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line54
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'test_double_action_call'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'test_double_action_call'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line54
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line54
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line55
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming the condition is true
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming the condition is true
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line56
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col17
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'my_free'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'my_free'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'my_malloc_and_free'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'my_malloc_and_free'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line51
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line52
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line52
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line52
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line52
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line52
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is released
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is released
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col17
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returning; memory was released via 1st parameter
-// CHECK-NEXT: message
-// CHECK-NEXT: Returning; memory was released via 1st parameter
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line57
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returning; memory was released via 1st parameter
-// CHECK-NEXT: message
-// CHECK-NEXT: Returning; memory was released via 1st parameter
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line62
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Use of memory after it is freed
-// CHECK-NEXT: message
-// CHECK-NEXT: Use of memory after it is freed
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionUse of memory after it is freed
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeUse-after-free
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context422436dc85b85cde7e15046a5616ee99
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_double_action_call
-// CHECK-NEXT: issue_hash_function_offset3
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line76
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line76
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line76
-// CHECK-NEXT: col35
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line76
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line76
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'my_realloc'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'my_realloc'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line67
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'reallocIntra'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'reallocIntra'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line67
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line67
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line68
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line68
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line68
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line68
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col40
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Attempt to reallocate memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Attempt to reallocate memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line69
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'tmp' is null
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'tmp' is null
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Reallocation failed
-// CHECK-NEXT: message
-// CHECK-NEXT: Reallocation failed
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line70
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line71
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line71
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Reallocation of 1st parameter failed
-// CHECK-NEXT: message
-// CHECK-NEXT: Reallocation of 1st parameter failed
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line77
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line78
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line78
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line78
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'buf'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'buf'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'buf'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context23a6c295a515c455bea1c81519bc05b6
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextreallocIntra
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line78
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line86
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line86
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'malloc_wrapper_ret'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'malloc_wrapper_ret'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_ret'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_ret'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line83
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line83
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line83
-// CHECK-NEXT: col19
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line83
-// CHECK-NEXT: col19
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line83
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line87
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line88
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line88
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line88
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'v'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'v'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'v'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context45181c7fc1df81a732346f1ed1b3f238
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextuse_ret
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line88
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line98
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line98
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col30
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line100
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col35
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'myfree_takingblock'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'myfree_takingblock'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'call_myfree_takingblock'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'call_myfree_takingblock'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line94
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line94
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line94
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line94
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line94
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is released
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is released
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col35
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returning; memory was released via 2nd parameter
-// CHECK-NEXT: message
-// CHECK-NEXT: Returning; memory was released via 2nd parameter
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line101
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Use of memory after it is freed
-// CHECK-NEXT: message
-// CHECK-NEXT: Use of memory after it is freed
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionUse of memory after it is freed
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeUse-after-free
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context652c97005df876a65d64ecd286d6030a
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextcall_myfree_takingblock
-// CHECK-NEXT: issue_hash_function_offset5
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line107
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line107
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line109
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line115
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line115
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line115
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'm'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'm'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'm'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextd8483ccf1d5a1af1e8bcaac6905a18b3
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextLeakedSymbol
-// CHECK-NEXT: issue_hash_function_offset3
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line115
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak1'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak1'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line119
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak1'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak1'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line119
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line119
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line120
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line121
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line121
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line121
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'x'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextb07aebe89e4ba5ea104a9f957df9531b
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfunction_with_leak1
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line121
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line132
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line132
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line132
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak2'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak2'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line127
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak2'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak2'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line127
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line127
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line128
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line129
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line129
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line129
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'x'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextefe2ffcb7c227e872aa732c5f793895d
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfunction_with_leak2
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line129
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak3'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak3'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak3'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak3'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line136
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'y' is not equal to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'y' is not equal to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line137
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line138
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line138
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line138
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'x'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context0ddc87e8a7e7104428af3905f3057611
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfunction_with_leak3
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line138
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line152
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line152
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line152
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak4'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak4'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line144
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak4'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak4'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line144
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line144
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line145
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'y' is 0
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'y' is 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line146
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line149
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line149
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line149
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'x'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context948d356840e67fc4baa8cc5d0600463c
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfunction_with_leak4
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line149
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line163
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line163
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line163
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak5'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak5'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line158
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak5'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak5'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line158
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line158
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col27
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'x'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context2b0361060027060b94915ff4de8aa782
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfunction_with_leak5
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line160
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line174
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line174
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line174
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak6'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak6'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line169
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak6'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak6'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line169
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line169
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line170
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line171
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line171
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line171
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential leak of memory pointed to by 'x'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential leak of memory pointed to by 'x'
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context73f573faa903ad4308d5155ef979cf31
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextfunction_with_leak6
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line171
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'function_with_leak7'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'function_with_leak7'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line182
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'use_function_with_leak7'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'use_function_with_leak7'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line182
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line182
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line183
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line183
-// CHECK-NEXT: col10
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line183
-// CHECK-NEXT: col19
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line183
-// CHECK-NEXT: col19
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line183
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line186
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line187
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line187
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line187
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential memory leak
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential memory leak
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential memory leak
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contexteb5628850b9b9118fbda903e721436a5
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextuse_function_with_leak7
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line187
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'my_malloc'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'my_malloc'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line191
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'testOnlyRefferToVisibleVariables'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'testOnlyRefferToVisibleVariables'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line191
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line191
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col12
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col21
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line192
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line193
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line193
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line196
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line197
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line197
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line197
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential memory leak
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential memory leak
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential memory leak
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextad5b603037bc3581ff94947e86dbb1c8
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttestOnlyRefferToVisibleVariables
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line197
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'my_malloc_into_struct'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'my_malloc_into_struct'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line202
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'testMyMalloc'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'testMyMalloc'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line202
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line202
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line203
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line203
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line203
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line203
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col18
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT: message
-// CHECK-NEXT: Memory is allocated
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line204
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line205
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line205
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT: message
-// CHECK-NEXT: Returned allocated memory
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line208
-// CHECK-NEXT: col23
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line209
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line209
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line209
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Potential memory leak
-// CHECK-NEXT: message
-// CHECK-NEXT: Potential memory leak
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionPotential memory leak
-// CHECK-NEXT: categoryMemory error
-// CHECK-NEXT: typeMemory leak
-// CHECK-NEXT: check_nameunix.Malloc
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context8d59cc5cc4b7db55d432abc18b0e6c23
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttestMyMalloc
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line209
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
Index: clang/test/Analysis/unix-fns.c
===================================================================
--- clang/test/Analysis/unix-fns.c
+++ clang/test/Analysis/unix-fns.c
@@ -1,8 +1,10 @@
// RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability %s -analyzer-store=region -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o %t.plist
-// RUN: FileCheck --input-file=%t.plist %s
+// RUN: tail -n +11 %t.plist | diff -u -w - %S/Inputs/expected-plists/unix-fns.c.plist
// RUN: mkdir -p %t.dir
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.API,osx.API,optin.portability -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %t.dir %s
// RUN: rm -fR %t.dir
+
+
struct _opaque_pthread_once_t {
long __sig;
char __opaque[8];
@@ -244,2834 +246,3 @@
*p = 7; // expected-warning {{Dereference of null pointer (loaded from variable 'p')}}
}
-
-// CHECK: diagnostics
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line80
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line80
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'fd' is not equal to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'fd' is not equal to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line82
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col19
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col25
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'open' requires a 3rd argument when the 'O_CREAT' flag is set
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeImproper use of 'open'
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context5ef25c5c47db3dbfb329901d426452e7
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_open
-// CHECK-NEXT: issue_hash_function_offset6
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line85
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line91
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line91
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'fd' is not equal to 0
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'fd' is not equal to 0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line93
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col13
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col44
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col50
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'openat' requires a 4th argument when the 'O_CREAT' flag is set
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeImproper use of 'open'
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context433b17840bb989e7a13dc6337c1ed220
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_open_at
-// CHECK-NEXT: issue_hash_function_offset6
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line96
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line102
-// CHECK-NEXT: col17
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col9
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col52
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col64
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col52
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col66
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col72
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT: categoryAPI Misuse (Apple)
-// CHECK-NEXT: typeImproper use of 'dispatch_once'
-// CHECK-NEXT: check_nameosx.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context173fbcac3fc64dbaec32768d4cfda250
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_dispatch_once
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line103
-// CHECK-NEXT: col52
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line113
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line113
-// CHECK-NEXT: col16
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line114
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line114
-// CHECK-NEXT: col14
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line114
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line114
-// CHECK-NEXT: col16
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line114
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'pthread_once' uses the local variable 'pred' for the "control" value. Using such transient memory for the control value is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeImproper use of 'pthread_once'
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context1e2f657a65cf8ee3c3ac2227de05ade4
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_pthread_once
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line114
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'malloc' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'malloc' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'malloc' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context0e841458f0cb7cf161d35f9db5862dcf
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contextpr2899
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line123
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'calloc' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'calloc' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'calloc' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contexta267ff573c7e8b959a3f886677893eb0
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_calloc
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line135
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col26
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'calloc' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'calloc' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'calloc' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context14eb72957baab3c63bac610a10e6f48b
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_calloc2
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line141
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col21
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col28
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'realloc' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'realloc' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'realloc' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context7f6f67ebe3d481aed7750005bea7e371
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_realloc
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line153
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col29
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col29
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'reallocf' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'reallocf' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'reallocf' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context4941698efbd81601653dff10ef9c645b
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_reallocf
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line159
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'alloca' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'alloca' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'alloca' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_contextb7ca3488e81d9d9d4b8dc545258ce97c
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_alloca
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line177
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col16
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col31
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col16
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'alloca' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'alloca' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'alloca' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context1ec52551362b070237f47f6bb6c3847d
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_builtin_alloca
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line189
-// CHECK-NEXT: col16
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col20
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col22
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'valloc' has an allocation size of 0 bytes
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'valloc' has an allocation size of 0 bytes
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'valloc' has an allocation size of 0 bytes
-// CHECK-NEXT: categoryUnix API
-// CHECK-NEXT: typeUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)
-// CHECK-NEXT: check_nameunix.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context675741e04c8d0071d280324e23f41d35
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_valloc
-// CHECK-NEXT: issue_hash_function_offset1
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line201
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line214
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line214
-// CHECK-NEXT: col17
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line215
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line215
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line215
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line215
-// CHECK-NEXT: col17
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line215
-// CHECK-NEXT: col21
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT: message
-// CHECK-NEXT: Call to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionCall to 'dispatch_once' uses the local variable 'pred' for the predicate value. Using such transient memory for the predicate is potentially dangerous. Perhaps you intended to declare the variable as 'static'?
-// CHECK-NEXT: categoryAPI Misuse (Apple)
-// CHECK-NEXT: typeImproper use of 'dispatch_once'
-// CHECK-NEXT: check_nameosx.API
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context8ded1f2025c1e4a4bcd5302dc97006d9
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_dispatch_once_in_macro
-// CHECK-NEXT: issue_hash_function_offset2
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line215
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line220
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line220
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line220
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'p' initialized to a null pointer value
-// CHECK-NEXT: message
-// CHECK-NEXT: 'p' initialized to a null pointer value
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line220
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line220
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line225
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'p' captured by block as a null pointer value
-// CHECK-NEXT: message
-// CHECK-NEXT: 'p' captured by block as a null pointer value
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line225
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'dispatch_sync'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'dispatch_sync'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line225
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling anonymous block
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling anonymous block
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'dispatch_sync'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'dispatch_sync'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line221
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Assuming 'q' is non-null
-// CHECK-NEXT: message
-// CHECK-NEXT: Assuming 'q' is non-null
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line222
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT: message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDereference of null pointer
-// CHECK-NEXT: check_namecore.NullDereference
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context5d3f4c433004c7a6d4a06aa30cc3ea85
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line223
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line230
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line230
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'p' initialized to a null pointer value
-// CHECK-NEXT: message
-// CHECK-NEXT: 'p' initialized to a null pointer value
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line231
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line234
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: 'p' captured by block as a null pointer value
-// CHECK-NEXT: message
-// CHECK-NEXT: 'p' captured by block as a null pointer value
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line234
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling '_dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling '_dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line50
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'test_inline_dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'test_inline_dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line50
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line50
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col2
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col2
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling anonymous block
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling anonymous block
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth3
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line232
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col5
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth3
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT: message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDereference of null pointer
-// CHECK-NEXT: check_namecore.NullDereference
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context265c4fd608dafee211bfa93d21c28866
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line233
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: path
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line239
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line239
-// CHECK-NEXT: col8
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line243
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling '_dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling '_dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line50
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'test_inline_dispatch_once_reachable'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'test_inline_dispatch_once_reachable'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line50
-// CHECK-NEXT: col1
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line50
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col2
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col2
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line58
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling 'dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling 'dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Calling anonymous block
-// CHECK-NEXT: message
-// CHECK-NEXT: Calling anonymous block
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: depth3
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Entered call from 'dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Entered call from 'dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col24
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line242
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line242
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line242
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line242
-// CHECK-NEXT: col7
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line242
-// CHECK-NEXT: col11
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth3
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Null pointer value stored to 'p'
-// CHECK-NEXT: message
-// CHECK-NEXT: Null pointer value stored to 'p'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth2
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returning to caller
-// CHECK-NEXT: message
-// CHECK-NEXT: Returning to caller
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col33
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth1
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returning from 'dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Returning from 'dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line59
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col2
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line63
-// CHECK-NEXT: col17
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line243
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Returning from '_dispatch_once'
-// CHECK-NEXT: message
-// CHECK-NEXT: Returning from '_dispatch_once'
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line241
-// CHECK-NEXT: col15
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindcontrol
-// CHECK-NEXT: edges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: start
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col3
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: end
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: kindevent
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT: ranges
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col4
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: depth0
-// CHECK-NEXT: extended_message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT: message
-// CHECK-NEXT: Dereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: descriptionDereference of null pointer (loaded from variable 'p')
-// CHECK-NEXT: categoryLogic error
-// CHECK-NEXT: typeDereference of null pointer
-// CHECK-NEXT: check_namecore.NullDereference
-// CHECK-NEXT:
-// CHECK-NEXT: issue_hash_content_of_line_in_context1e83bd4361a2351df0b4e77eb3a9109b
-// CHECK-NEXT: issue_context_kindfunction
-// CHECK-NEXT: issue_contexttest_inline_dispatch_once_reachable
-// CHECK-NEXT: issue_hash_function_offset7
-// CHECK-NEXT: location
-// CHECK-NEXT:
-// CHECK-NEXT: line245
-// CHECK-NEXT: col6
-// CHECK-NEXT: file0
-// CHECK-NEXT:
-// CHECK-NEXT:
-// CHECK-NEXT: