FIR CFA: attach method graphs to class exit node

Even for non-local classes. This ensures that the CFG edges in this case
will only go to a subgraph, not to an unrelated graph.
This commit is contained in:
pyos
2022-12-09 13:22:17 +01:00
committed by Dmitriy Novozhilov
parent aadea0e26f
commit 74758278d7
47 changed files with 1245 additions and 1181 deletions
@@ -4,18 +4,19 @@ digraph bangbang_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,53 +4,55 @@ digraph booleanOperators_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function bool" style="filled" fillcolor=red];
3 [label="Exit function bool" 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];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function bool" style="filled" fillcolor=red];
3 [label="Exit function bool" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
5 -> {0 2} [color=green];
5 -> {0 2} [style=dashed];
0 -> {1};
2 -> {3};
subgraph cluster_3 {
color=red
6 [label="Enter function bar" style="filled" fillcolor=red];
7 [label="Exit function bar" style="filled" fillcolor=red];
}
6 -> {7};
subgraph cluster_4 {
color=red
8 [label="Enter class B" style="filled" fillcolor=red];
9 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
6 [label="Enter function bar" style="filled" fillcolor=red];
7 [label="Exit function bar" style="filled" fillcolor=red];
}
8 -> {9} [color=green];
9 -> {6} [color=green];
9 -> {6} [style=dashed];
6 -> {7};
subgraph cluster_5 {
color=red
10 [label="Enter function baz" style="filled" fillcolor=red];
11 [label="Exit function baz" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_6 {
color=red
12 [label="Enter class C" style="filled" fillcolor=red];
13 [label="Exit class C" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
10 [label="Enter function baz" style="filled" fillcolor=red];
11 [label="Exit function baz" style="filled" fillcolor=red];
}
12 -> {13} [color=green];
13 -> {10} [color=green];
13 -> {10} [style=dashed];
10 -> {11};
subgraph cluster_7 {
color=red
@@ -4,18 +4,19 @@ digraph equalsToBoolean_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,18 +4,19 @@ digraph jumpFromRhsOfOperator_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,32 +4,34 @@ digraph boundSmartcasts_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {4} [color=green];
7 -> {4} [style=dashed];
4 -> {5};
subgraph cluster_4 {
color=red
@@ -335,19 +337,10 @@ digraph boundSmartcasts_kt {
123 -> {124};
subgraph cluster_27 {
color=red
125 [label="Enter function <init>" style="filled" fillcolor=red];
126 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
127 [label="Exit function <init>" style="filled" fillcolor=red];
}
125 -> {126};
126 -> {127};
subgraph cluster_28 {
color=red
131 [label="Enter class D" style="filled" fillcolor=red];
132 [label="Part of class initialization"];
subgraph cluster_29 {
subgraph cluster_28 {
color=blue
128 [label="Enter property" style="filled" fillcolor=red];
129 [label="Access variable R|<local>/any|"];
@@ -355,13 +348,23 @@ digraph boundSmartcasts_kt {
}
133 [label="Exit class D" style="filled" fillcolor=red];
}
subgraph cluster_29 {
color=blue
125 [label="Enter function <init>" style="filled" fillcolor=red];
126 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
127 [label="Exit function <init>" style="filled" fillcolor=red];
}
131 -> {132} [color=green];
132 -> {128} [color=green];
132 -> {133} [style=dotted];
132 -> {128} [style=dashed];
133 -> {125} [color=green];
133 -> {125} [style=dashed];
128 -> {129};
129 -> {130};
130 -> {133} [color=green];
125 -> {126};
126 -> {127};
subgraph cluster_30 {
color=red
@@ -4,19 +4,10 @@ digraph boundSmartcastsInBranches_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
6 [label="Enter class A" style="filled" fillcolor=red];
7 [label="Part of class initialization"];
subgraph cluster_2 {
subgraph cluster_1 {
color=blue
3 [label="Enter property" style="filled" fillcolor=red];
4 [label="Const: String()"];
@@ -24,13 +15,23 @@ digraph boundSmartcastsInBranches_kt {
}
8 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {3} [color=green];
7 -> {8} [style=dotted];
7 -> {3} [style=dashed];
8 -> {0} [color=green];
8 -> {0} [style=dashed];
3 -> {4};
4 -> {5};
5 -> {8} [color=green];
0 -> {1};
1 -> {2};
subgraph cluster_3 {
color=red
@@ -5,34 +5,26 @@ digraph functionCallBound_kt {
subgraph cluster_0 {
color=red
3 [label="Enter class Base" style="filled" fillcolor=red];
4 [label="Exit class Base" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
4 -> {0} [color=green];
4 -> {0} [style=dashed];
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
3 [label="Enter class Base" style="filled" fillcolor=red];
4 [label="Exit class Base" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
subgraph cluster_3 {
color=red
11 [label="Enter class Sub" style="filled" fillcolor=red];
12 [label="Part of class initialization"];
subgraph cluster_4 {
subgraph cluster_3 {
color=blue
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/data|"];
@@ -40,13 +32,23 @@ digraph functionCallBound_kt {
}
13 [label="Exit class Sub" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12} [color=green];
12 -> {8} [color=green];
12 -> {13} [style=dotted];
12 -> {8} [style=dashed];
13 -> {5} [color=green];
13 -> {5} [style=dashed];
8 -> {9};
9 -> {10};
10 -> {13} [color=green];
5 -> {6};
6 -> {7};
subgraph cluster_5 {
color=red
@@ -4,18 +4,19 @@ digraph elvis_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -153,46 +153,49 @@ digraph returns_kt {
51 -> {52};
subgraph cluster_14 {
color=red
53 [label="Enter function foo" style="filled" fillcolor=red];
54 [label="Exit function foo" style="filled" fillcolor=red];
}
53 -> {54};
subgraph cluster_15 {
color=red
55 [label="Enter class A" style="filled" fillcolor=red];
56 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
53 [label="Enter function foo" style="filled" fillcolor=red];
54 [label="Exit function foo" style="filled" fillcolor=red];
}
55 -> {56} [color=green];
56 -> {53} [color=green];
56 -> {53} [style=dashed];
53 -> {54};
subgraph cluster_16 {
color=red
57 [label="Enter function bar" style="filled" fillcolor=red];
58 [label="Exit function bar" style="filled" fillcolor=red];
}
57 -> {58};
subgraph cluster_17 {
color=red
59 [label="Enter class B" style="filled" fillcolor=red];
60 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_17 {
color=blue
57 [label="Enter function bar" style="filled" fillcolor=red];
58 [label="Exit function bar" style="filled" fillcolor=red];
}
59 -> {60} [color=green];
60 -> {57} [color=green];
60 -> {57} [style=dashed];
57 -> {58};
subgraph cluster_18 {
color=red
61 [label="Enter function baz" style="filled" fillcolor=red];
62 [label="Exit function baz" style="filled" fillcolor=red];
}
61 -> {62};
subgraph cluster_19 {
color=red
63 [label="Enter class C" style="filled" fillcolor=red];
64 [label="Exit class C" style="filled" fillcolor=red];
}
subgraph cluster_19 {
color=blue
61 [label="Enter function baz" style="filled" fillcolor=red];
62 [label="Exit function baz" style="filled" fillcolor=red];
}
63 -> {64} [color=green];
64 -> {61} [color=green];
64 -> {61} [style=dashed];
61 -> {62};
subgraph cluster_20 {
color=red
@@ -4,18 +4,19 @@ digraph smartcastFromArgument_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,32 +4,34 @@ digraph when_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {4} [color=green];
7 -> {4} [style=dashed];
4 -> {5};
subgraph cluster_4 {
color=red
@@ -4,18 +4,19 @@ digraph equalsAndIdentity_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,32 +4,34 @@ digraph inPlaceLambdas_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {4} [color=green];
7 -> {4} [style=dashed];
4 -> {5};
subgraph cluster_4 {
color=red
@@ -5,57 +5,26 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_0 {
color=red
3 [label="Enter class Sealed" style="filled" fillcolor=red];
4 [label="Exit class Sealed" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
4 -> {0} [color=green];
4 -> {0} [style=dashed];
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
3 [label="Enter class Sealed" style="filled" fillcolor=red];
4 [label="Exit class Sealed" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
subgraph cluster_3 {
color=red
11 [label="Enter function component1" style="filled" fillcolor=red];
12 [label="Exit function component1" style="filled" fillcolor=red];
}
11 -> {12};
subgraph cluster_4 {
color=red
13 [label="Enter function copy" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
15 [label="Enter default value of t" style="filled" fillcolor=red];
16 [label="Access variable R|/SubClass1.t|"];
17 [label="Exit default value of t" style="filled" fillcolor=red];
}
14 [label="Exit function copy" style="filled" fillcolor=red];
}
13 -> {14 15};
15 -> {16};
15 -> {15} [style=dashed];
16 -> {17};
subgraph cluster_6 {
color=red
18 [label="Enter class SubClass1" style="filled" fillcolor=red];
19 [label="Part of class initialization"];
subgraph cluster_7 {
subgraph cluster_3 {
color=blue
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/t|"];
@@ -63,36 +32,67 @@ digraph lambdaInWhenBranch_kt {
}
20 [label="Exit class SubClass1" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
13 [label="Enter function copy" style="filled" fillcolor=red];
14 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
15 [label="Enter default value of t" style="filled" fillcolor=red];
16 [label="Access variable R|/SubClass1.t|"];
17 [label="Exit default value of t" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
11 [label="Enter function component1" style="filled" fillcolor=red];
12 [label="Exit function component1" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
18 -> {19} [color=green];
19 -> {8} [color=green];
19 -> {20} [style=dotted];
19 -> {8} [style=dashed];
20 -> {5 11 13} [color=green];
20 -> {5 11 13} [style=dashed];
8 -> {9};
9 -> {10};
10 -> {20} [color=green];
5 -> {6};
6 -> {7};
11 -> {12};
13 -> {14 15};
15 -> {16};
15 -> {15} [style=dashed];
16 -> {17};
subgraph cluster_8 {
color=red
21 [label="Enter function <init>" style="filled" fillcolor=red];
22 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
23 [label="Exit function <init>" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
subgraph cluster_9 {
color=red
24 [label="Enter function copy" style="filled" fillcolor=red];
25 [label="Exit function copy" style="filled" fillcolor=red];
}
24 -> {25};
subgraph cluster_10 {
color=red
26 [label="Enter class SubClass2" style="filled" fillcolor=red];
27 [label="Exit class SubClass2" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
24 [label="Enter function copy" style="filled" fillcolor=red];
25 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
21 [label="Enter function <init>" style="filled" fillcolor=red];
22 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
23 [label="Exit function <init>" style="filled" fillcolor=red];
}
26 -> {27} [color=green];
27 -> {21 24} [color=green];
27 -> {21 24} [style=dashed];
21 -> {22};
22 -> {23};
24 -> {25};
subgraph cluster_11 {
color=red
@@ -4,18 +4,19 @@ digraph dataFlowInfoFromWhileCondition_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,18 +4,19 @@ digraph endlessLoops_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
@@ -4,32 +4,34 @@ digraph multipleCasts_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
subgraph cluster_2 {
color=red
4 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
4 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Exit function foo" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {4} [color=green];
7 -> {4} [style=dashed];
4 -> {5};
subgraph cluster_4 {
color=red
@@ -4,67 +4,72 @@ digraph nullability_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function getA" style="filled" fillcolor=red];
3 [label="Exit function getA" 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];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function getA" style="filled" fillcolor=red];
3 [label="Exit function getA" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
5 -> {0 2} [color=green];
5 -> {0 2} [style=dashed];
0 -> {1};
2 -> {3};
subgraph cluster_3 {
color=red
6 [label="Enter function fs" style="filled" fillcolor=red];
7 [label="Exit function fs" style="filled" fillcolor=red];
}
6 -> {7};
subgraph cluster_4 {
color=red
8 [label="Enter class MyData" style="filled" fillcolor=red];
9 [label="Exit class MyData" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
6 [label="Enter function fs" style="filled" fillcolor=red];
7 [label="Exit function fs" style="filled" fillcolor=red];
}
8 -> {9} [color=green];
9 -> {6} [color=green];
9 -> {6} [style=dashed];
6 -> {7};
subgraph cluster_5 {
color=red
10 [label="Enter function fdata" style="filled" fillcolor=red];
11 [label="Exit function fdata" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_6 {
color=red
12 [label="Enter class Q" style="filled" fillcolor=red];
13 [label="Exit class Q" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
10 [label="Enter function fdata" style="filled" fillcolor=red];
11 [label="Exit function fdata" style="filled" fillcolor=red];
}
12 -> {13} [color=green];
13 -> {10} [color=green];
13 -> {10} [style=dashed];
10 -> {11};
subgraph cluster_7 {
color=red
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
27 [label="Enter class QImpl" style="filled" fillcolor=red];
28 [label="Part of class initialization"];
subgraph cluster_8 {
color=blue
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/data|"];
19 [label="Exit property" style="filled" fillcolor=red];
}
29 [label="Exit class QImpl" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
subgraph cluster_8 {
color=red
subgraph cluster_9 {
color=blue
20 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_9 {
subgraph cluster_10 {
color=blue
21 [label="Enter block"];
22 [label="Const: Null(null)"];
@@ -74,6 +79,23 @@ digraph nullability_kt {
}
26 [label="Exit function fdata" style="filled" fillcolor=red];
}
subgraph cluster_11 {
color=blue
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
27 -> {28} [color=green];
28 -> {17} [color=green];
28 -> {29} [style=dotted];
28 -> {17} [style=dashed];
29 -> {14 20} [color=green];
29 -> {14 20} [style=dashed];
17 -> {18};
18 -> {19};
19 -> {29} [color=green];
14 -> {15};
15 -> {16};
20 -> {21};
21 -> {22};
22 -> {23};
@@ -82,39 +104,22 @@ digraph nullability_kt {
24 -> {25} [style=dotted];
25 -> {26} [style=dotted];
subgraph cluster_10 {
color=red
27 [label="Enter class QImpl" style="filled" fillcolor=red];
28 [label="Part of class initialization"];
subgraph cluster_11 {
color=blue
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/data|"];
19 [label="Exit property" style="filled" fillcolor=red];
}
29 [label="Exit class QImpl" style="filled" fillcolor=red];
}
27 -> {28} [color=green];
28 -> {17} [color=green];
28 -> {29} [style=dotted];
28 -> {17} [style=dashed];
17 -> {18};
18 -> {19};
19 -> {29} [color=green];
subgraph cluster_12 {
color=red
30 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
32 [label="Exit function <init>" style="filled" fillcolor=red];
43 [label="Enter class QImplMutable" style="filled" fillcolor=red];
44 [label="Part of class initialization"];
subgraph cluster_13 {
color=blue
33 [label="Enter property" style="filled" fillcolor=red];
34 [label="Access variable R|<local>/data|"];
35 [label="Exit property" style="filled" fillcolor=red];
}
45 [label="Exit class QImplMutable" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
subgraph cluster_13 {
color=red
subgraph cluster_14 {
color=blue
36 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_14 {
subgraph cluster_15 {
color=blue
37 [label="Enter block"];
38 [label="Const: Null(null)"];
@@ -124,6 +129,23 @@ digraph nullability_kt {
}
42 [label="Exit function fdata" style="filled" fillcolor=red];
}
subgraph cluster_16 {
color=blue
30 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
32 [label="Exit function <init>" style="filled" fillcolor=red];
}
43 -> {44} [color=green];
44 -> {33} [color=green];
44 -> {45} [style=dotted];
44 -> {33} [style=dashed];
45 -> {30 36} [color=green];
45 -> {30 36} [style=dashed];
33 -> {34};
34 -> {35};
35 -> {45} [color=green];
30 -> {31};
31 -> {32};
36 -> {37};
37 -> {38};
38 -> {39};
@@ -132,39 +154,10 @@ digraph nullability_kt {
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
subgraph cluster_15 {
color=red
43 [label="Enter class QImplMutable" style="filled" fillcolor=red];
44 [label="Part of class initialization"];
subgraph cluster_16 {
color=blue
33 [label="Enter property" style="filled" fillcolor=red];
34 [label="Access variable R|<local>/data|"];
35 [label="Exit property" style="filled" fillcolor=red];
}
45 [label="Exit class QImplMutable" style="filled" fillcolor=red];
}
43 -> {44} [color=green];
44 -> {33} [color=green];
44 -> {45} [style=dotted];
44 -> {33} [style=dashed];
33 -> {34};
34 -> {35};
35 -> {45} [color=green];
subgraph cluster_17 {
color=red
46 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
48 [label="Exit function <init>" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
subgraph cluster_18 {
color=red
49 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_19 {
subgraph cluster_18 {
color=blue
50 [label="Enter block"];
51 [label="Const: Null(null)"];
@@ -182,8 +175,13 @@ digraph nullability_kt {
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
subgraph cluster_20 {
subgraph cluster_19 {
color=red
63 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
64 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
}
subgraph cluster_20 {
color=blue
56 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
@@ -195,6 +193,17 @@ digraph nullability_kt {
}
62 [label="Exit function fdata" style="filled" fillcolor=red];
}
subgraph cluster_22 {
color=blue
46 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
48 [label="Exit function <init>" style="filled" fillcolor=red];
}
63 -> {64} [color=green];
64 -> {46 56} [color=green];
64 -> {46 56} [style=dashed];
46 -> {47};
47 -> {48};
56 -> {57};
57 -> {58};
58 -> {59};
@@ -203,13 +212,6 @@ digraph nullability_kt {
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
subgraph cluster_22 {
color=red
63 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
64 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
}
63 -> {64} [color=green];
subgraph cluster_23 {
color=red
65 [label="Enter function test_1" style="filled" fillcolor=red];
@@ -5,15 +5,11 @@ digraph implicitReceivers_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
7 [label="Enter class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
color=blue
3 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
@@ -22,28 +18,28 @@ digraph implicitReceivers_kt {
}
6 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
7 -> {8} [color=green];
8 -> {0 3} [color=green];
8 -> {0 3} [style=dashed];
0 -> {1};
1 -> {2};
3 -> {4};
4 -> {5};
5 -> {6};
subgraph cluster_3 {
color=red
7 [label="Enter class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red];
}
7 -> {8} [color=green];
subgraph cluster_4 {
color=red
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red];
16 [label="Enter class B" style="filled" fillcolor=red];
17 [label="Exit class B" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
subgraph cluster_5 {
color=red
color=blue
12 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
@@ -52,17 +48,21 @@ digraph implicitReceivers_kt {
}
15 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red];
}
16 -> {17} [color=green];
17 -> {9 12} [color=green];
17 -> {9 12} [style=dashed];
9 -> {10};
10 -> {11};
12 -> {13};
13 -> {14};
14 -> {15};
subgraph cluster_7 {
color=red
16 [label="Enter class B" style="filled" fillcolor=red];
17 [label="Exit class B" style="filled" fillcolor=red];
}
16 -> {17} [color=green];
subgraph cluster_8 {
color=red
18 [label="Enter function with" style="filled" fillcolor=red];
@@ -5,17 +5,30 @@ digraph assignSafeCall_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
17 [label="Enter class A" style="filled" fillcolor=red];
18 [label="Part of class initialization"];
subgraph cluster_1 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Const: Int(1)"];
12 [label="Exit property" style="filled" fillcolor=red];
}
19 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
subgraph cluster_2 {
color=blue
13 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
14 [label="Enter block"];
15 [label="Exit block"];
}
16 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
3 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
subgraph cluster_5 {
color=blue
4 [label="Enter block"];
5 [label="Const: Int(1)"];
@@ -25,6 +38,23 @@ digraph assignSafeCall_kt {
}
9 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
17 -> {18} [color=green];
18 -> {10} [color=green];
18 -> {19} [style=dotted];
18 -> {10} [style=dashed];
19 -> {0 3 13} [color=green];
19 -> {0 3 13} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {19} [color=green];
0 -> {1};
1 -> {2};
3 -> {4};
4 -> {5};
5 -> {6};
@@ -32,41 +62,10 @@ digraph assignSafeCall_kt {
6 -> {7} [style=dotted];
7 -> {8} [style=dotted];
8 -> {9} [style=dotted];
subgraph cluster_3 {
color=red
13 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
14 [label="Enter block"];
15 [label="Exit block"];
}
16 [label="Exit function bar" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_5 {
color=red
17 [label="Enter class A" style="filled" fillcolor=red];
18 [label="Part of class initialization"];
subgraph cluster_6 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Const: Int(1)"];
12 [label="Exit property" style="filled" fillcolor=red];
}
19 [label="Exit class A" style="filled" fillcolor=red];
}
17 -> {18} [color=green];
18 -> {10} [color=green];
18 -> {19} [style=dotted];
18 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {19} [color=green];
subgraph cluster_7 {
color=red
20 [label="Enter function test_1" style="filled" fillcolor=red];
@@ -237,25 +236,25 @@ digraph assignSafeCall_kt {
84 -> {85};
subgraph cluster_19 {
color=red
86 [label="Enter function foo" style="filled" fillcolor=red];
87 [label="Exit function foo" style="filled" fillcolor=red];
}
86 -> {87};
subgraph cluster_20 {
color=red
88 [label="Enter function bar" style="filled" fillcolor=red];
89 [label="Exit function bar" style="filled" fillcolor=red];
}
88 -> {89};
subgraph cluster_21 {
color=red
90 [label="Enter class B" style="filled" fillcolor=red];
91 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_20 {
color=blue
88 [label="Enter function bar" style="filled" fillcolor=red];
89 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_21 {
color=blue
86 [label="Enter function foo" style="filled" fillcolor=red];
87 [label="Exit function foo" style="filled" fillcolor=red];
}
90 -> {91} [color=green];
91 -> {86 88} [color=green];
91 -> {86 88} [style=dashed];
86 -> {87};
88 -> {89};
subgraph cluster_22 {
color=red
@@ -75,32 +75,31 @@ digraph safeCalls_kt {
24 -> {25};
subgraph cluster_6 {
color=red
26 [label="Enter function bar" style="filled" fillcolor=red];
27 [label="Exit function bar" style="filled" fillcolor=red];
}
26 -> {27};
subgraph cluster_7 {
color=red
28 [label="Enter function bool" style="filled" fillcolor=red];
29 [label="Exit function bool" style="filled" fillcolor=red];
}
28 -> {29};
subgraph cluster_8 {
color=red
30 [label="Enter function id" style="filled" fillcolor=red];
31 [label="Exit function id" style="filled" fillcolor=red];
}
30 -> {31};
subgraph cluster_9 {
color=red
32 [label="Enter class A" style="filled" fillcolor=red];
33 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
30 [label="Enter function id" style="filled" fillcolor=red];
31 [label="Exit function id" style="filled" fillcolor=red];
}
subgraph cluster_8 {
color=blue
28 [label="Enter function bool" style="filled" fillcolor=red];
29 [label="Exit function bool" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
26 [label="Enter function bar" style="filled" fillcolor=red];
27 [label="Exit function bar" style="filled" fillcolor=red];
}
32 -> {33} [color=green];
33 -> {26 28 30} [color=green];
33 -> {26 28 30} [style=dashed];
26 -> {27};
28 -> {29};
30 -> {31};
subgraph cluster_10 {
color=red
@@ -11,18 +11,19 @@ digraph smartCastInInit_kt {
0 -> {1} [color=green];
subgraph cluster_1 {
color=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 S" style="filled" fillcolor=red];
5 [label="Exit class S" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
2 [label="Enter function foo" style="filled" fillcolor=red];
3 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
5 -> {2} [color=green];
5 -> {2} [style=dashed];
2 -> {3};
subgraph cluster_3 {
color=red
@@ -47,22 +48,13 @@ digraph smartCastInInit_kt {
12 -> {13} [style=dotted];
subgraph cluster_5 {
color=red
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
subgraph cluster_6 {
color=red
26 [label="Enter class Main" style="filled" fillcolor=red];
27 [label="Part of class initialization"];
subgraph cluster_7 {
subgraph cluster_6 {
color=blue
17 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_8 {
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
@@ -76,10 +68,18 @@ digraph smartCastInInit_kt {
}
28 [label="Exit class Main" style="filled" fillcolor=red];
}
subgraph cluster_8 {
color=blue
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
26 -> {27} [color=green];
27 -> {17} [color=green];
27 -> {28} [style=dotted];
27 -> {17} [style=dashed];
28 -> {14} [color=green];
28 -> {14} [style=dashed];
17 -> {18};
18 -> {19};
19 -> {20};
@@ -89,5 +89,7 @@ digraph smartCastInInit_kt {
23 -> {24};
24 -> {25};
25 -> {28} [color=green];
14 -> {15};
15 -> {16};
}
@@ -4,26 +4,17 @@ digraph smartcastInByClause_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
9 [label="Enter class A" style="filled" fillcolor=red];
10 [label="Part of class initialization"];
subgraph cluster_2 {
subgraph cluster_1 {
color=blue
3 [label="Enter property" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/path|"];
5 [label="Exit property" style="filled" fillcolor=red];
}
11 [label="Part of class initialization"];
subgraph cluster_3 {
subgraph cluster_2 {
color=blue
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/index|"];
@@ -31,6 +22,12 @@ digraph smartcastInByClause_kt {
}
12 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 -> {10} [color=green];
10 -> {3} [color=green];
10 -> {11} [style=dotted];
@@ -38,12 +35,16 @@ digraph smartcastInByClause_kt {
11 -> {6} [color=green];
11 -> {12} [style=dotted];
11 -> {6} [style=dashed];
12 -> {0} [color=green];
12 -> {0} [style=dashed];
3 -> {4};
4 -> {5};
5 -> {11} [color=green];
6 -> {7};
7 -> {8};
8 -> {12} [color=green];
0 -> {1};
1 -> {2};
subgraph cluster_4 {
color=red
@@ -53,19 +54,10 @@ digraph smartcastInByClause_kt {
13 -> {14} [color=green];
subgraph cluster_5 {
color=red
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
subgraph cluster_6 {
color=red
21 [label="Enter class Derived" style="filled" fillcolor=red];
22 [label="Part of class initialization"];
subgraph cluster_7 {
subgraph cluster_6 {
color=blue
18 [label="Enter property" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/index|"];
@@ -73,13 +65,23 @@ digraph smartcastInByClause_kt {
}
23 [label="Exit class Derived" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
}
21 -> {22} [color=green];
22 -> {18} [color=green];
22 -> {23} [style=dotted];
22 -> {18} [style=dashed];
23 -> {15} [color=green];
23 -> {15} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {23} [color=green];
15 -> {16};
16 -> {17};
subgraph cluster_8 {
color=red
@@ -195,8 +197,6 @@ digraph smartcastInByClause_kt {
42 -> {43} [color=red];
42 -> {49} [style=dashed];
43 -> {44};
43 -> {64 67} [color=green];
43 -> {64 67} [style=dashed];
44 -> {45};
45 -> {48};
45 -> {46} [style=dotted];
@@ -209,7 +209,8 @@ digraph smartcastInByClause_kt {
51 -> {59} [color=green];
51 -> {52} [style=dotted];
51 -> {59} [style=dashed];
52 -> {43} [color=green];
52 -> {43 64 67} [color=green];
52 -> {64 67} [style=dashed];
53 -> {54};
54 -> {55};
55 -> {56};
@@ -115,26 +115,17 @@ digraph smartcastToNothing_kt {
37 -> {38} [style=dotted];
subgraph cluster_10 {
color=red
39 [label="Enter function <init>" style="filled" fillcolor=red];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
41 [label="Exit function <init>" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
subgraph cluster_11 {
color=red
48 [label="Enter class A" style="filled" fillcolor=red];
49 [label="Part of class initialization"];
subgraph cluster_12 {
subgraph cluster_11 {
color=blue
42 [label="Enter property" style="filled" fillcolor=red];
43 [label="Const: Int(1)"];
44 [label="Exit property" style="filled" fillcolor=red];
}
50 [label="Part of class initialization"];
subgraph cluster_13 {
subgraph cluster_12 {
color=blue
45 [label="Enter property" style="filled" fillcolor=red];
46 [label="Const: Boolean(true)"];
@@ -142,6 +133,12 @@ digraph smartcastToNothing_kt {
}
51 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_13 {
color=blue
39 [label="Enter function <init>" style="filled" fillcolor=red];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
41 [label="Exit function <init>" style="filled" fillcolor=red];
}
48 -> {49} [color=green];
49 -> {42} [color=green];
49 -> {50} [style=dotted];
@@ -149,12 +146,16 @@ digraph smartcastToNothing_kt {
50 -> {45} [color=green];
50 -> {51} [style=dotted];
50 -> {45} [style=dashed];
51 -> {39} [color=green];
51 -> {39} [style=dashed];
42 -> {43};
43 -> {44};
44 -> {50} [color=green];
45 -> {46};
46 -> {47};
47 -> {51} [color=green];
39 -> {40};
40 -> {41};
subgraph cluster_14 {
color=red
@@ -4,19 +4,10 @@ digraph overridenOpenVal_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
6 [label="Enter class A" style="filled" fillcolor=red];
7 [label="Part of class initialization"];
subgraph cluster_2 {
subgraph cluster_1 {
color=blue
3 [label="Enter property" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/x|"];
@@ -24,27 +15,31 @@ digraph overridenOpenVal_kt {
}
8 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
6 -> {7} [color=green];
7 -> {3} [color=green];
7 -> {8} [style=dotted];
7 -> {3} [style=dashed];
8 -> {0} [color=green];
8 -> {0} [style=dashed];
3 -> {4};
4 -> {5};
5 -> {8} [color=green];
0 -> {1};
1 -> {2};
subgraph cluster_3 {
color=red
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"];
11 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
31 [label="Enter class B" style="filled" fillcolor=red];
32 [label="Exit class B" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
11 -> {12};
subgraph cluster_4 {
color=red
color=blue
13 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
@@ -76,6 +71,19 @@ digraph overridenOpenVal_kt {
}
30 [label="Exit function test_1" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"];
11 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
31 -> {32} [color=green];
32 -> {9 13} [color=green];
32 -> {9 13} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12};
13 -> {14};
14 -> {15};
15 -> {16};
@@ -94,13 +102,6 @@ digraph overridenOpenVal_kt {
28 -> {29};
29 -> {30};
subgraph cluster_9 {
color=red
31 [label="Enter class B" style="filled" fillcolor=red];
32 [label="Exit class B" style="filled" fillcolor=red];
}
31 -> {32} [color=green];
subgraph cluster_10 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
@@ -5,15 +5,11 @@ digraph delayedAssignment_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
7 [label="Enter class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
color=blue
3 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
@@ -22,17 +18,21 @@ digraph delayedAssignment_kt {
}
6 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
7 -> {8} [color=green];
8 -> {0 3} [color=green];
8 -> {0 3} [style=dashed];
0 -> {1};
1 -> {2};
3 -> {4};
4 -> {5};
5 -> {6};
subgraph cluster_3 {
color=red
7 [label="Enter class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red];
}
7 -> {8} [color=green];
subgraph cluster_4 {
color=red
9 [label="Enter function test" style="filled" fillcolor=red];