MCPcopy Create free account
hub / github.com/LFYSec/MScan / A

Class A

src/test/resources/pta/basic/InstanceField.java:11–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11class A {
12 B b;
13
14 void longAP() {
15 A a = new A();
16 a.b = new B();
17 a.b.c = new C();
18 a.b.c.d = new D();
19 D x = a.b.c.d;
20 }
21
22 void cycle() {
23 A a = new A();
24 B b = new B();
25 b.a = a;
26 a.b = b;
27 A x = b.a.b.a;
28 }
29
30 void callField() {
31 A a = new A();
32 B b = new B();
33 a.b = b;
34 C c = a.b.foo();
35 }
36}
37
38class B {
39 A a;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected