-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdivision-by-zero-array-size-in-method.eo
109 lines (106 loc) · 2.39 KB
/
division-by-zero-array-size-in-method.eo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# 2022-07-18T12:42:28.218428400
# j2eo team
+package divByZero
+alias stdlib.lang.class__Object
+alias stdlib.lang.class__System
+alias eo/org/polystat/stdlib.util.class__Vector
[] > class__A
class__Object > super
super > @
[] > new
class__Object.new > super
super > @
"class__A" > className
[this] > init
seq > @
TRUE
# doSomething :: Vector -> void
[this args] > doSomething
seq > @
statementExpression_1
[] > statementExpression_1
class__System.out.println > @
class__System.out
binary_1
[] > binary_1
literal_1.div > @
methodInvocation_1
[] > literal_1
prim__int.constructor_2 > @
prim__int.new
10
[] > methodInvocation_1
args.size > @
args
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_2
this
[] > initialization
this.init > @
this
[] > statementExpression_2
this.super.constructor > @
this.super
[] > class__Test
class__Object > super
super > @
[] > new
class__Object.new > super
super > @
"class__Test" > className
[this] > init
seq > @
TRUE
# main :: String[] -> void
[args] > main
seq > @
variableDeclaration_1
variableDeclaration_2
statementExpression_3
cage > a
[] > variableDeclaration_1
a.write > @
initializerSimple_1
[] > initializerSimple_1
instanceCreation_1 > @
[] > instanceCreation_1
class__A.constructor > @
class__A.new
cage > v_s
[] > variableDeclaration_2
v_s.write > @
initializerSimple_2
[] > initializerSimple_2
instanceCreation_2 > @
[] > instanceCreation_2
class__Vector.constructor > @
class__Vector.new
[] > statementExpression_3
simpleReference_2.shift_l > @
methodInvocation_2
[] > simpleReference_2
cout > @
[] > methodInvocation_2
a.doSomething > @
a
simpleReference_4
[] > simpleReference_4
v_s > @
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_4
this
[] > initialization
this.init > @
this
[] > statementExpression_4
this.super.constructor > @
this.super
[args...] > main
class__Test.main > @
*