1
1
Function name: mcdc_non_control_flow::assign_3
2
- Raw bytes (73 ): 0x[01, 01, 09, 05, 07, 0b, 11, 09, 0d, 01, 05, 01, 05, 22, 11, 01, 05, 22, 11, 01, 05, 09 , 01, 13 , 01, 00, 28, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 20, 05, 22, 00, 0d, 00, 0e, 22, 00, 12, 00, 13, 20 , 1e, 11, 00, 12, 00, 13, 1e, 00, 17, 00, 18, 20 , 09, 0d, 00, 17, 00, 18, 03, 01, 05, 01, 02]
2
+ Raw bytes (89 ): 0x[01, 01, 09, 05, 07, 0b, 11, 09, 0d, 01, 05, 01, 05, 22, 11, 01, 05, 22, 11, 01, 05, 0a , 01, 16 , 01, 00, 28, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 28, 00, 03, 00, 0d, 00, 18, 30, 05, 22, 01, 00, 02, 00, 0d, 00, 0e, 22, 00, 12, 00, 13, 30 , 1e, 11, 02, 03, 00, 00, 12, 00, 13, 1e, 00, 17, 00, 18, 30 , 09, 0d, 03, 00, 00 , 00, 17, 00, 18, 03, 01, 05, 01, 02]
3
3
Number of files: 1
4
4
- file 0 => global file 1
5
5
Number of expressions: 9
@@ -12,29 +12,30 @@ Number of expressions: 9
12
12
- expression 6 operands: lhs = Counter(0), rhs = Counter(1)
13
13
- expression 7 operands: lhs = Expression(8, Sub), rhs = Counter(4)
14
14
- expression 8 operands: lhs = Counter(0), rhs = Counter(1)
15
- Number of file 0 mappings: 9
16
- - Code(Counter(0)) at (prev + 19 , 1) to (start + 0, 40)
15
+ Number of file 0 mappings: 10
16
+ - Code(Counter(0)) at (prev + 22 , 1) to (start + 0, 40)
17
17
- Code(Expression(0, Add)) at (prev + 1, 9) to (start + 0, 10)
18
18
= (c1 + ((c2 + c3) + c4))
19
19
- Code(Counter(0)) at (prev + 0, 13) to (start + 0, 14)
20
- - Branch { true: Counter(1), false: Expression(8, Sub) } at (prev + 0, 13) to (start + 0, 14)
20
+ - MCDCDecision { bitmap_idx: 0, conditions_num: 3 } at (prev + 0, 13) to (start + 0, 24)
21
+ - MCDCBranch { true: Counter(1), false: Expression(8, Sub), condition_id: 1, true_next_id: 0, false_next_id: 2 } at (prev + 0, 13) to (start + 0, 14)
21
22
true = c1
22
23
false = (c0 - c1)
23
24
- Code(Expression(8, Sub)) at (prev + 0, 18) to (start + 0, 19)
24
25
= (c0 - c1)
25
- - Branch { true: Expression(7, Sub), false: Counter(4) } at (prev + 0, 18) to (start + 0, 19)
26
+ - MCDCBranch { true: Expression(7, Sub), false: Counter(4), condition_id: 2, true_next_id: 3, false_next_id: 0 } at (prev + 0, 18) to (start + 0, 19)
26
27
true = ((c0 - c1) - c4)
27
28
false = c4
28
29
- Code(Expression(7, Sub)) at (prev + 0, 23) to (start + 0, 24)
29
30
= ((c0 - c1) - c4)
30
- - Branch { true: Counter(2), false: Counter(3) } at (prev + 0, 23) to (start + 0, 24)
31
+ - MCDCBranch { true: Counter(2), false: Counter(3), condition_id: 3, true_next_id: 0, false_next_id: 0 } at (prev + 0, 23) to (start + 0, 24)
31
32
true = c2
32
33
false = c3
33
34
- Code(Expression(0, Add)) at (prev + 1, 5) to (start + 1, 2)
34
35
= (c1 + ((c2 + c3) + c4))
35
36
36
37
Function name: mcdc_non_control_flow::assign_3_bis
37
- Raw bytes (82 ): 0x[01, 01, 07, 07, 11, 09, 0d, 01, 05, 05, 09, 16, 1a, 05, 09, 01, 05, 0a, 01, 18 , 01, 00, 2c, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 28, 00, 02 , 00, 0d, 00, 13 , 30, 05, 1a, 01, 02, 00 , 00, 0d, 00, 0e, 05, 00, 12, 00, 13, 30, 09, 16, 02 , 00, 00 , 00, 12, 00, 13, 13, 00, 17, 00, 18, 20 , 0d, 11, 00, 17, 00, 18, 03, 01, 05, 01, 02]
38
+ Raw bytes (85 ): 0x[01, 01, 07, 07, 11, 09, 0d, 01, 05, 05, 09, 16, 1a, 05, 09, 01, 05, 0a, 01, 1b , 01, 00, 2c, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 28, 00, 03 , 00, 0d, 00, 18 , 30, 05, 1a, 01, 03, 02 , 00, 0d, 00, 0e, 05, 00, 12, 00, 13, 30, 09, 16, 03 , 00, 02 , 00, 12, 00, 13, 13, 00, 17, 00, 18, 30 , 0d, 11, 02, 00, 00 , 00, 17, 00, 18, 03, 01, 05, 01, 02]
38
39
Number of files: 1
39
40
- file 0 => global file 1
40
41
Number of expressions: 7
@@ -46,105 +47,108 @@ Number of expressions: 7
46
47
- expression 5 operands: lhs = Counter(1), rhs = Counter(2)
47
48
- expression 6 operands: lhs = Counter(0), rhs = Counter(1)
48
49
Number of file 0 mappings: 10
49
- - Code(Counter(0)) at (prev + 24 , 1) to (start + 0, 44)
50
+ - Code(Counter(0)) at (prev + 27 , 1) to (start + 0, 44)
50
51
- Code(Expression(0, Add)) at (prev + 1, 9) to (start + 0, 10)
51
52
= ((c2 + c3) + c4)
52
53
- Code(Counter(0)) at (prev + 0, 13) to (start + 0, 14)
53
- - MCDCDecision { bitmap_idx: 0, conditions_num: 2 } at (prev + 0, 13) to (start + 0, 19 )
54
- - MCDCBranch { true: Counter(1), false: Expression(6, Sub), condition_id: 1, true_next_id: 2 , false_next_id: 0 } at (prev + 0, 13) to (start + 0, 14)
54
+ - MCDCDecision { bitmap_idx: 0, conditions_num: 3 } at (prev + 0, 13) to (start + 0, 24 )
55
+ - MCDCBranch { true: Counter(1), false: Expression(6, Sub), condition_id: 1, true_next_id: 3 , false_next_id: 2 } at (prev + 0, 13) to (start + 0, 14)
55
56
true = c1
56
57
false = (c0 - c1)
57
58
- Code(Counter(1)) at (prev + 0, 18) to (start + 0, 19)
58
- - MCDCBranch { true: Counter(2), false: Expression(5, Sub), condition_id: 2 , true_next_id: 0, false_next_id: 0 } at (prev + 0, 18) to (start + 0, 19)
59
+ - MCDCBranch { true: Counter(2), false: Expression(5, Sub), condition_id: 3 , true_next_id: 0, false_next_id: 2 } at (prev + 0, 18) to (start + 0, 19)
59
60
true = c2
60
61
false = (c1 - c2)
61
62
- Code(Expression(4, Add)) at (prev + 0, 23) to (start + 0, 24)
62
63
= ((c1 - c2) + (c0 - c1))
63
- - Branch { true: Counter(3), false: Counter(4) } at (prev + 0, 23) to (start + 0, 24)
64
+ - MCDCBranch { true: Counter(3), false: Counter(4), condition_id: 2, true_next_id: 0, false_next_id: 0 } at (prev + 0, 23) to (start + 0, 24)
64
65
true = c3
65
66
false = c4
66
67
- Code(Expression(0, Add)) at (prev + 1, 5) to (start + 1, 2)
67
68
= ((c2 + c3) + c4)
68
69
69
70
Function name: mcdc_non_control_flow::assign_and
70
- Raw bytes (51 ): 0x[01, 01, 04, 07, 0e, 09, 0d, 01, 05, 01, 05, 07 , 01, 09 , 01, 00, 21, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 20, 05, 0e, 00, 0d, 00, 0e, 05, 00, 12, 00, 13, 20 , 09, 0d, 00, 12, 00, 13, 03, 01, 05, 01, 02]
71
+ Raw bytes (64 ): 0x[01, 01, 04, 07, 0e, 09, 0d, 01, 05, 01, 05, 08 , 01, 0c , 01, 00, 21, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 28, 00, 02, 00, 0d, 00, 13, 30, 05, 0e, 01, 02, 00, 00, 0d, 00, 0e, 05, 00, 12, 00, 13, 30 , 09, 0d, 02, 00, 00 , 00, 12, 00, 13, 03, 01, 05, 01, 02]
71
72
Number of files: 1
72
73
- file 0 => global file 1
73
74
Number of expressions: 4
74
75
- expression 0 operands: lhs = Expression(1, Add), rhs = Expression(3, Sub)
75
76
- expression 1 operands: lhs = Counter(2), rhs = Counter(3)
76
77
- expression 2 operands: lhs = Counter(0), rhs = Counter(1)
77
78
- expression 3 operands: lhs = Counter(0), rhs = Counter(1)
78
- Number of file 0 mappings: 7
79
- - Code(Counter(0)) at (prev + 9 , 1) to (start + 0, 33)
79
+ Number of file 0 mappings: 8
80
+ - Code(Counter(0)) at (prev + 12 , 1) to (start + 0, 33)
80
81
- Code(Expression(0, Add)) at (prev + 1, 9) to (start + 0, 10)
81
82
= ((c2 + c3) + (c0 - c1))
82
83
- Code(Counter(0)) at (prev + 0, 13) to (start + 0, 14)
83
- - Branch { true: Counter(1), false: Expression(3, Sub) } at (prev + 0, 13) to (start + 0, 14)
84
+ - MCDCDecision { bitmap_idx: 0, conditions_num: 2 } at (prev + 0, 13) to (start + 0, 19)
85
+ - MCDCBranch { true: Counter(1), false: Expression(3, Sub), condition_id: 1, true_next_id: 2, false_next_id: 0 } at (prev + 0, 13) to (start + 0, 14)
84
86
true = c1
85
87
false = (c0 - c1)
86
88
- Code(Counter(1)) at (prev + 0, 18) to (start + 0, 19)
87
- - Branch { true: Counter(2), false: Counter(3) } at (prev + 0, 18) to (start + 0, 19)
89
+ - MCDCBranch { true: Counter(2), false: Counter(3), condition_id: 2, true_next_id: 0, false_next_id: 0 } at (prev + 0, 18) to (start + 0, 19)
88
90
true = c2
89
91
false = c3
90
92
- Code(Expression(0, Add)) at (prev + 1, 5) to (start + 1, 2)
91
93
= ((c2 + c3) + (c0 - c1))
92
94
93
95
Function name: mcdc_non_control_flow::assign_or
94
- Raw bytes (51 ): 0x[01, 01, 04, 07, 0d, 05, 09, 01, 05, 01, 05, 07 , 01, 0e , 01, 00, 20, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 20, 05, 0e, 00, 0d, 00, 0e, 0e, 00, 12, 00, 13, 20 , 09, 0d, 00, 12, 00, 13, 03, 01, 05, 01, 02]
96
+ Raw bytes (64 ): 0x[01, 01, 04, 07, 0d, 05, 09, 01, 05, 01, 05, 08 , 01, 11 , 01, 00, 20, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 28, 00, 02, 00, 0d, 00, 13, 30, 05, 0e, 01, 00, 02, 00, 0d, 00, 0e, 0e, 00, 12, 00, 13, 30 , 09, 0d, 02, 00, 00 , 00, 12, 00, 13, 03, 01, 05, 01, 02]
95
97
Number of files: 1
96
98
- file 0 => global file 1
97
99
Number of expressions: 4
98
100
- expression 0 operands: lhs = Expression(1, Add), rhs = Counter(3)
99
101
- expression 1 operands: lhs = Counter(1), rhs = Counter(2)
100
102
- expression 2 operands: lhs = Counter(0), rhs = Counter(1)
101
103
- expression 3 operands: lhs = Counter(0), rhs = Counter(1)
102
- Number of file 0 mappings: 7
103
- - Code(Counter(0)) at (prev + 14 , 1) to (start + 0, 32)
104
+ Number of file 0 mappings: 8
105
+ - Code(Counter(0)) at (prev + 17 , 1) to (start + 0, 32)
104
106
- Code(Expression(0, Add)) at (prev + 1, 9) to (start + 0, 10)
105
107
= ((c1 + c2) + c3)
106
108
- Code(Counter(0)) at (prev + 0, 13) to (start + 0, 14)
107
- - Branch { true: Counter(1), false: Expression(3, Sub) } at (prev + 0, 13) to (start + 0, 14)
109
+ - MCDCDecision { bitmap_idx: 0, conditions_num: 2 } at (prev + 0, 13) to (start + 0, 19)
110
+ - MCDCBranch { true: Counter(1), false: Expression(3, Sub), condition_id: 1, true_next_id: 0, false_next_id: 2 } at (prev + 0, 13) to (start + 0, 14)
108
111
true = c1
109
112
false = (c0 - c1)
110
113
- Code(Expression(3, Sub)) at (prev + 0, 18) to (start + 0, 19)
111
114
= (c0 - c1)
112
- - Branch { true: Counter(2), false: Counter(3) } at (prev + 0, 18) to (start + 0, 19)
115
+ - MCDCBranch { true: Counter(2), false: Counter(3), condition_id: 2, true_next_id: 0, false_next_id: 0 } at (prev + 0, 18) to (start + 0, 19)
113
116
true = c2
114
117
false = c3
115
118
- Code(Expression(0, Add)) at (prev + 1, 5) to (start + 1, 2)
116
119
= ((c1 + c2) + c3)
117
120
118
121
Function name: mcdc_non_control_flow::foo
119
- Raw bytes (9): 0x[01, 01, 00, 01, 01, 22 , 01, 02, 02]
122
+ Raw bytes (9): 0x[01, 01, 00, 01, 01, 25 , 01, 02, 02]
120
123
Number of files: 1
121
124
- file 0 => global file 1
122
125
Number of expressions: 0
123
126
Number of file 0 mappings: 1
124
- - Code(Counter(0)) at (prev + 34 , 1) to (start + 2, 2)
127
+ - Code(Counter(0)) at (prev + 37 , 1) to (start + 2, 2)
125
128
126
129
Function name: mcdc_non_control_flow::func_call
127
- Raw bytes (39 ): 0x[01, 01, 03, 01, 05, 0b, 02, 09, 0d, 05 , 01, 26 , 01, 01, 0a, 20, 05, 02, 01, 09, 00, 0a, 05, 00, 0e, 00, 0f, 20 , 09, 0d, 00, 0e, 00, 0f, 07, 01, 01, 00, 02]
130
+ Raw bytes (52 ): 0x[01, 01, 03, 01, 05, 0b, 02, 09, 0d, 06 , 01, 29 , 01, 01, 0a, 28, 00, 02, 01, 09, 00, 0f, 30, 05, 02, 01, 02, 00, 00, 09, 00, 0a, 05, 00, 0e, 00, 0f, 30 , 09, 0d, 02, 00, 00 , 00, 0e, 00, 0f, 07, 01, 01, 00, 02]
128
131
Number of files: 1
129
132
- file 0 => global file 1
130
133
Number of expressions: 3
131
134
- expression 0 operands: lhs = Counter(0), rhs = Counter(1)
132
135
- expression 1 operands: lhs = Expression(2, Add), rhs = Expression(0, Sub)
133
136
- expression 2 operands: lhs = Counter(2), rhs = Counter(3)
134
- Number of file 0 mappings: 5
135
- - Code(Counter(0)) at (prev + 38, 1) to (start + 1, 10)
136
- - Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 1, 9) to (start + 0, 10)
137
+ Number of file 0 mappings: 6
138
+ - Code(Counter(0)) at (prev + 41, 1) to (start + 1, 10)
139
+ - MCDCDecision { bitmap_idx: 0, conditions_num: 2 } at (prev + 1, 9) to (start + 0, 15)
140
+ - MCDCBranch { true: Counter(1), false: Expression(0, Sub), condition_id: 1, true_next_id: 2, false_next_id: 0 } at (prev + 0, 9) to (start + 0, 10)
137
141
true = c1
138
142
false = (c0 - c1)
139
143
- Code(Counter(1)) at (prev + 0, 14) to (start + 0, 15)
140
- - Branch { true: Counter(2), false: Counter(3) } at (prev + 0, 14) to (start + 0, 15)
144
+ - MCDCBranch { true: Counter(2), false: Counter(3), condition_id: 2, true_next_id: 0, false_next_id: 0 } at (prev + 0, 14) to (start + 0, 15)
141
145
true = c2
142
146
false = c3
143
147
- Code(Expression(1, Add)) at (prev + 1, 1) to (start + 0, 2)
144
148
= ((c2 + c3) + (c0 - c1))
145
149
146
150
Function name: mcdc_non_control_flow::right_comb_tree
147
- Raw bytes (117 ): 0x[01, 01, 13, 07, 1a, 0b, 19, 0f, 15, 13, 11, 09, 0d, 01, 05, 01, 05, 05, 19, 05, 19, 4a, 15, 05, 19, 4a, 15, 05, 19, 46, 11, 4a, 15, 05, 19, 46, 11, 4a, 15, 05, 19, 0d , 01, 1d , 01, 00, 41, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 20, 05, 1a, 00, 0d, 00, 0e, 05, 00, 13, 00, 14, 20 , 4a, 19, 00, 13, 00, 14, 4a, 00, 19, 00, 1a, 20 , 46, 15, 00, 19, 00, 1a, 46, 00, 1f, 00, 20, 20 , 42, 11, 00, 1f, 00, 20, 42, 00, 24, 00, 27, 20 , 09, 0d, 00, 24, 00, 27, 03, 01, 05, 01, 02]
151
+ Raw bytes (139 ): 0x[01, 01, 13, 07, 1a, 0b, 19, 0f, 15, 13, 11, 09, 0d, 01, 05, 01, 05, 05, 19, 05, 19, 4a, 15, 05, 19, 4a, 15, 05, 19, 46, 11, 4a, 15, 05, 19, 46, 11, 4a, 15, 05, 19, 0e , 01, 20 , 01, 00, 41, 03, 01, 09, 00, 0a, 01, 00, 0d, 00, 0e, 28, 00, 05, 00, 0d, 00, 2a, 30, 05, 1a, 01, 02, 00, 00, 0d, 00, 0e, 05, 00, 13, 00, 14, 30 , 4a, 19, 02, 03, 00, 00, 13, 00, 14, 4a, 00, 19, 00, 1a, 30 , 46, 15, 03, 04, 00, 00, 19, 00, 1a, 46, 00, 1f, 00, 20, 30 , 42, 11, 04, 05, 00, 00, 1f, 00, 20, 42, 00, 24, 00, 27, 30 , 09, 0d, 05, 00, 00 , 00, 24, 00, 27, 03, 01, 05, 01, 02]
148
152
Number of files: 1
149
153
- file 0 => global file 1
150
154
Number of expressions: 19
@@ -167,31 +171,32 @@ Number of expressions: 19
167
171
- expression 16 operands: lhs = Expression(17, Sub), rhs = Counter(4)
168
172
- expression 17 operands: lhs = Expression(18, Sub), rhs = Counter(5)
169
173
- expression 18 operands: lhs = Counter(1), rhs = Counter(6)
170
- Number of file 0 mappings: 13
171
- - Code(Counter(0)) at (prev + 29 , 1) to (start + 0, 65)
174
+ Number of file 0 mappings: 14
175
+ - Code(Counter(0)) at (prev + 32 , 1) to (start + 0, 65)
172
176
- Code(Expression(0, Add)) at (prev + 1, 9) to (start + 0, 10)
173
177
= (((((c2 + c3) + c4) + c5) + c6) + (c0 - c1))
174
178
- Code(Counter(0)) at (prev + 0, 13) to (start + 0, 14)
175
- - Branch { true: Counter(1), false: Expression(6, Sub) } at (prev + 0, 13) to (start + 0, 14)
179
+ - MCDCDecision { bitmap_idx: 0, conditions_num: 5 } at (prev + 0, 13) to (start + 0, 42)
180
+ - MCDCBranch { true: Counter(1), false: Expression(6, Sub), condition_id: 1, true_next_id: 2, false_next_id: 0 } at (prev + 0, 13) to (start + 0, 14)
176
181
true = c1
177
182
false = (c0 - c1)
178
183
- Code(Counter(1)) at (prev + 0, 19) to (start + 0, 20)
179
- - Branch { true: Expression(18, Sub), false: Counter(6) } at (prev + 0, 19) to (start + 0, 20)
184
+ - MCDCBranch { true: Expression(18, Sub), false: Counter(6), condition_id: 2, true_next_id: 3, false_next_id: 0 } at (prev + 0, 19) to (start + 0, 20)
180
185
true = (c1 - c6)
181
186
false = c6
182
187
- Code(Expression(18, Sub)) at (prev + 0, 25) to (start + 0, 26)
183
188
= (c1 - c6)
184
- - Branch { true: Expression(17, Sub), false: Counter(5) } at (prev + 0, 25) to (start + 0, 26)
189
+ - MCDCBranch { true: Expression(17, Sub), false: Counter(5), condition_id: 3, true_next_id: 4, false_next_id: 0 } at (prev + 0, 25) to (start + 0, 26)
185
190
true = ((c1 - c6) - c5)
186
191
false = c5
187
192
- Code(Expression(17, Sub)) at (prev + 0, 31) to (start + 0, 32)
188
193
= ((c1 - c6) - c5)
189
- - Branch { true: Expression(16, Sub), false: Counter(4) } at (prev + 0, 31) to (start + 0, 32)
194
+ - MCDCBranch { true: Expression(16, Sub), false: Counter(4), condition_id: 4, true_next_id: 5, false_next_id: 0 } at (prev + 0, 31) to (start + 0, 32)
190
195
true = (((c1 - c6) - c5) - c4)
191
196
false = c4
192
197
- Code(Expression(16, Sub)) at (prev + 0, 36) to (start + 0, 39)
193
198
= (((c1 - c6) - c5) - c4)
194
- - Branch { true: Counter(2), false: Counter(3) } at (prev + 0, 36) to (start + 0, 39)
199
+ - MCDCBranch { true: Counter(2), false: Counter(3), condition_id: 5, true_next_id: 0, false_next_id: 0 } at (prev + 0, 36) to (start + 0, 39)
195
200
true = c2
196
201
false = c3
197
202
- Code(Expression(0, Add)) at (prev + 1, 5) to (start + 1, 2)
0 commit comments