[FIR] Add checker for uninitialized properties
This commit is contained in:
+139
-139
@@ -5,237 +5,237 @@ digraph nullability_kt {
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
1 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
0 [label="Enter class A" style="filled" fillcolor=red];
|
||||
1 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1};
|
||||
0 -> {1} [color=green];
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter function getA" style="filled" fillcolor=red];
|
||||
3 [label="Exit function getA" style="filled" fillcolor=red];
|
||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
3 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter class A" style="filled" fillcolor=red];
|
||||
5 [label="Exit class A" style="filled" fillcolor=red];
|
||||
4 [label="Enter function getA" style="filled" fillcolor=red];
|
||||
5 [label="Exit function getA" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5} [color=green];
|
||||
4 -> {5};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
6 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
7 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
6 [label="Enter class MyData" style="filled" fillcolor=red];
|
||||
7 [label="Exit class MyData" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7};
|
||||
6 -> {7} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
8 [label="Enter function fs" style="filled" fillcolor=red];
|
||||
9 [label="Exit function fs" style="filled" fillcolor=red];
|
||||
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
9 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
10 [label="Enter class MyData" style="filled" fillcolor=red];
|
||||
11 [label="Exit class MyData" style="filled" fillcolor=red];
|
||||
10 [label="Enter function fs" style="filled" fillcolor=red];
|
||||
11 [label="Exit function fs" style="filled" fillcolor=red];
|
||||
}
|
||||
10 -> {11} [color=green];
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
12 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
13 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
12 [label="Enter class Q" style="filled" fillcolor=red];
|
||||
13 [label="Exit class Q" style="filled" fillcolor=red];
|
||||
}
|
||||
12 -> {13};
|
||||
12 -> {13} [color=green];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
14 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
15 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
14 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
15 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
16 [label="Enter class Q" style="filled" fillcolor=red];
|
||||
17 [label="Exit class Q" style="filled" fillcolor=red];
|
||||
16 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
17 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
}
|
||||
16 -> {17} [color=green];
|
||||
16 -> {17};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
18 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
19 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
20 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
21 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
22 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
18 [label="Enter class QImpl" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
20 [label="Enter property" style="filled" fillcolor=red];
|
||||
21 [label="Access variable R|<local>/data|"];
|
||||
22 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
19 [label="Exit class QImpl" style="filled" fillcolor=red];
|
||||
}
|
||||
18 -> {20} [color=green];
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {19} [color=green];
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
26 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
27 [label="Enter block"];
|
||||
28 [label="Const: Null(null)"];
|
||||
29 [label="Jump: ^fdata Null(null)"];
|
||||
30 [label="Stub" style="filled" fillcolor=gray];
|
||||
31 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
32 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
23 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
24 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
25 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
26 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
27 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {32};
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32} [style=dotted];
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
33 [label="Enter class QImpl" style="filled" fillcolor=red];
|
||||
28 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
23 [label="Enter property" style="filled" fillcolor=red];
|
||||
24 [label="Access variable R|<local>/data|"];
|
||||
25 [label="Exit property" style="filled" fillcolor=red];
|
||||
29 [label="Enter block"];
|
||||
30 [label="Const: Null(null)"];
|
||||
31 [label="Jump: ^fdata Null(null)"];
|
||||
32 [label="Stub" style="filled" fillcolor=gray];
|
||||
33 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
34 [label="Exit class QImpl" style="filled" fillcolor=red];
|
||||
34 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
}
|
||||
33 -> {23} [color=green];
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {34} [color=green];
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {34};
|
||||
31 -> {32} [style=dotted];
|
||||
32 -> {33} [style=dotted];
|
||||
33 -> {34} [style=dotted];
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
35 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
36 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
37 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
38 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
39 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
35 [label="Enter class QImplMutable" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
37 [label="Enter property" style="filled" fillcolor=red];
|
||||
38 [label="Access variable R|<local>/data|"];
|
||||
39 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
36 [label="Exit class QImplMutable" style="filled" fillcolor=red];
|
||||
}
|
||||
35 -> {37} [color=green];
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {36} [color=green];
|
||||
|
||||
subgraph cluster_17 {
|
||||
color=red
|
||||
40 [label="Enter function setter" style="filled" fillcolor=red];
|
||||
41 [label="Exit function setter" style="filled" fillcolor=red];
|
||||
40 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
41 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
42 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
|
||||
subgraph cluster_18 {
|
||||
color=red
|
||||
45 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Const: Null(null)"];
|
||||
48 [label="Jump: ^fdata Null(null)"];
|
||||
49 [label="Stub" style="filled" fillcolor=gray];
|
||||
50 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
51 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
43 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
44 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
43 -> {44};
|
||||
|
||||
subgraph cluster_19 {
|
||||
color=red
|
||||
45 [label="Enter function setter" style="filled" fillcolor=red];
|
||||
46 [label="Exit function setter" style="filled" fillcolor=red];
|
||||
}
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {51};
|
||||
48 -> {49} [style=dotted];
|
||||
49 -> {50} [style=dotted];
|
||||
50 -> {51} [style=dotted];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
52 [label="Enter class QImplMutable" style="filled" fillcolor=red];
|
||||
47 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
42 [label="Enter property" style="filled" fillcolor=red];
|
||||
43 [label="Access variable R|<local>/data|"];
|
||||
44 [label="Exit property" style="filled" fillcolor=red];
|
||||
48 [label="Enter block"];
|
||||
49 [label="Const: Null(null)"];
|
||||
50 [label="Jump: ^fdata Null(null)"];
|
||||
51 [label="Stub" style="filled" fillcolor=gray];
|
||||
52 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
53 [label="Exit class QImplMutable" style="filled" fillcolor=red];
|
||||
53 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
}
|
||||
52 -> {42} [color=green];
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {53} [color=green];
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {53};
|
||||
50 -> {51} [style=dotted];
|
||||
51 -> {52} [style=dotted];
|
||||
52 -> {53} [style=dotted];
|
||||
|
||||
subgraph cluster_22 {
|
||||
color=red
|
||||
54 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
55 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
56 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
54 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
|
||||
55 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
|
||||
}
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
54 -> {55} [color=green];
|
||||
|
||||
subgraph cluster_23 {
|
||||
color=red
|
||||
57 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Const: Null(null)"];
|
||||
60 [label="Jump: ^ Null(null)"];
|
||||
61 [label="Stub" style="filled" fillcolor=gray];
|
||||
62 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
63 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
56 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
57 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
58 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {63};
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62} [style=dotted];
|
||||
62 -> {63} [style=dotted];
|
||||
|
||||
subgraph cluster_25 {
|
||||
subgraph cluster_24 {
|
||||
color=red
|
||||
64 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_26 {
|
||||
59 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Const: Null(null)"];
|
||||
67 [label="Jump: ^fdata Null(null)"];
|
||||
68 [label="Stub" style="filled" fillcolor=gray];
|
||||
69 [label="Exit block" style="filled" fillcolor=gray];
|
||||
60 [label="Enter block"];
|
||||
61 [label="Const: Null(null)"];
|
||||
62 [label="Jump: ^ Null(null)"];
|
||||
63 [label="Stub" style="filled" fillcolor=gray];
|
||||
64 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
70 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
65 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {70};
|
||||
67 -> {68} [style=dotted];
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {70} [style=dotted];
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {65};
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {65} [style=dotted];
|
||||
|
||||
subgraph cluster_27 {
|
||||
subgraph cluster_26 {
|
||||
color=red
|
||||
71 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
|
||||
72 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
|
||||
66 [label="Enter function fdata" style="filled" fillcolor=red];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
67 [label="Enter block"];
|
||||
68 [label="Const: Null(null)"];
|
||||
69 [label="Jump: ^fdata Null(null)"];
|
||||
70 [label="Stub" style="filled" fillcolor=gray];
|
||||
71 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
72 [label="Exit function fdata" style="filled" fillcolor=red];
|
||||
}
|
||||
71 -> {72} [color=green];
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {72};
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {72} [style=dotted];
|
||||
|
||||
subgraph cluster_28 {
|
||||
color=red
|
||||
|
||||
Reference in New Issue
Block a user