[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
+223
@@ -0,0 +1,223 @@
|
||||
digraph propertiesAndInitBlocks_kt {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function run" style="filled" fillcolor=red];
|
||||
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
|
||||
2 [label="Exit function run" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
4 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
3 -> {4};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
5 [label="Enter property" style="filled" fillcolor=red];
|
||||
6 [label="Const: Int(1)"];
|
||||
7 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
9 [label="Const: Int(1)"];
|
||||
10 [label="Jump: ^ Int(1)"];
|
||||
11 [label="Stub" style="filled" fillcolor=gray];
|
||||
12 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {12};
|
||||
10 -> {11} [style=dotted];
|
||||
11 -> {12} [style=dotted];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
13 [label="Enter function setter" style="filled" fillcolor=red];
|
||||
14 [label="Const: Int(1)"];
|
||||
15 [label="Assignmenet: F|/x2|"];
|
||||
16 [label="Exit function setter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
17 [label="Enter property" style="filled" fillcolor=red];
|
||||
18 [label="Const: Int(1)"];
|
||||
19 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
|
||||
subgraph cluster_6 {
|
||||
color=red
|
||||
20 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
21 [label="Const: Int(1)"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
|
||||
24 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
||||
25 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||
26 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
27 [label="Stub" style="filled" fillcolor=gray];
|
||||
28 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {28};
|
||||
26 -> {27} [style=dotted];
|
||||
27 -> {28} [style=dotted];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
30 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
31 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
32 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
33 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
32 -> {33};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
34 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
35 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
36 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
37 [label="Enter property" style="filled" fillcolor=red];
|
||||
38 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
39 [label="Enter function anonymousFunction"];
|
||||
40 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||
41 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||
42 [label="Stub" style="filled" fillcolor=gray];
|
||||
43 [label="Exit function anonymousFunction"];
|
||||
}
|
||||
44 [label="Postponed exit from lambda"];
|
||||
45 [label="Function call: R|/run|(...)"];
|
||||
46 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
38 -> {44} [color=red];
|
||||
39 -> {43 40};
|
||||
40 -> {41};
|
||||
41 -> {46};
|
||||
41 -> {42} [style=dotted];
|
||||
42 -> {43} [style=dotted];
|
||||
43 -> {39};
|
||||
43 -> {44} [color=green];
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
47 [label="Enter function getter" style="filled" fillcolor=red];
|
||||
48 [label="Exit function getter" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
47 -> {48};
|
||||
|
||||
subgraph cluster_13 {
|
||||
color=red
|
||||
49 [label="Enter property" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
50 [label="Try expression enter"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
51 [label="Try main block enter"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
52 [label="Enter block"];
|
||||
53 [label="Const: Int(1)"];
|
||||
54 [label="Exit block"];
|
||||
}
|
||||
55 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
56 [label="Enter finally"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
57 [label="Enter block"];
|
||||
58 [label="Const: Int(0)"];
|
||||
59 [label="Exit block"];
|
||||
}
|
||||
60 [label="Exit finally"];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
61 [label="Catch enter"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
62 [label="Enter block"];
|
||||
63 [label="Const: Int(2)"];
|
||||
64 [label="Exit block"];
|
||||
}
|
||||
65 [label="Catch exit"];
|
||||
}
|
||||
66 [label="Try expression exit"];
|
||||
}
|
||||
67 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {67 61 56 52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {66};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {66};
|
||||
61 -> {67 62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user