You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.4 KiB
83 lines
1.4 KiB
package pkg;
|
|
|
|
public class TestClassVar {
|
|
private boolean field_boolean = Math.random() > 0.0D;
|
|
public int field_int = 0;
|
|
|
|
public void testFieldSSAU() {
|
|
for(int var1 = 0; var1 < 10; ++var1) {// 26
|
|
try {
|
|
System.out.println();// 29
|
|
} finally {
|
|
if(this.field_boolean) {
|
|
System.out.println();// 33
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public Long testFieldSSAU1() {
|
|
return new Long((long)(this.field_int++));// 40
|
|
}
|
|
|
|
public void testComplexPropagation() {
|
|
int var1 = 0;// 45
|
|
|
|
while(var1 < 10) {// 47
|
|
int var2;
|
|
for(var2 = var1; var1 < 10 && var1 == 0; ++var1) {// 51
|
|
;
|
|
}
|
|
|
|
if(var2 != var1) {// 54
|
|
System.out.println();// 55
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
class 'pkg/TestClassVar' {
|
|
method 'testFieldSSAU ()V' {
|
|
0 7
|
|
1 7
|
|
3 7
|
|
8 9
|
|
b 9
|
|
26 12
|
|
29 12
|
|
}
|
|
|
|
method 'testFieldSSAU1 ()Ljava/lang/Long;' {
|
|
6 21
|
|
b 21
|
|
f 21
|
|
13 21
|
|
}
|
|
|
|
method 'testComplexPropagation ()V' {
|
|
0 25
|
|
1 25
|
|
3 27
|
|
9 29
|
|
b 29
|
|
14 29
|
|
1c 33
|
|
1f 34
|
|
22 34
|
|
}
|
|
}
|
|
|
|
Lines mapping:
|
|
26 <-> 8
|
|
29 <-> 10
|
|
33 <-> 13
|
|
40 <-> 22
|
|
45 <-> 26
|
|
47 <-> 28
|
|
49 <-> 30
|
|
51 <-> 30
|
|
54 <-> 34
|
|
55 <-> 35
|
|
|