FIR CFA: add edges according to constructor delegation

This commit is contained in:
pyos
2023-01-18 12:02:00 +01:00
committed by teamcity
parent 29b7a8e435
commit 9f17b5de97
21 changed files with 593 additions and 562 deletions
@@ -59,15 +59,15 @@ digraph nullability_kt {
14 [label="Enter class QImpl" style="filled" fillcolor=red];
subgraph cluster_8 {
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];
15 [label="Enter property" style="filled" fillcolor=red];
16 [label="Access variable R|<local>/data|"];
17 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
18 [label="Enter property" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/data|"];
20 [label="Exit property" style="filled" fillcolor=red];
18 [label="Enter function <init>" style="filled" fillcolor=red];
19 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
20 [label="Exit function <init>" style="filled" fillcolor=red];
}
21 [label="Exit class QImpl" style="filled" fillcolor=red];
}
@@ -108,15 +108,15 @@ digraph nullability_kt {
29 [label="Enter class QImplMutable" style="filled" fillcolor=red];
subgraph cluster_13 {
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];
30 [label="Enter property" style="filled" fillcolor=red];
31 [label="Access variable R|<local>/data|"];
32 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_14 {
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];
33 [label="Enter function <init>" style="filled" fillcolor=red];
34 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
35 [label="Exit function <init>" style="filled" fillcolor=red];
}
36 [label="Exit class QImplMutable" style="filled" fillcolor=red];
}