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, 12, 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, 12, 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
15
+ Number of file 0 mappings: 10
16
16
- Code(Counter(0)) at (prev + 18, 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, 17, 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, 17, 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
@@ -50,66 +51,68 @@ Number of file 0 mappings: 10
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, 08, 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, 08, 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
+ Number of file 0 mappings: 8
79
80
- Code(Counter(0)) at (prev + 8, 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, 0d, 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, 0d, 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
104
+ Number of file 0 mappings: 8
103
105
- Code(Counter(0)) at (prev + 13, 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)
@@ -124,20 +127,21 @@ Number of file 0 mappings: 1
124
127
- Code(Counter(0)) at (prev + 28, 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, 20, 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, 20, 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
137
+ Number of file 0 mappings: 6
135
138
- Code(Counter(0)) at (prev + 32, 1) to (start + 1, 10)
136
- - Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 1, 9) to (start + 0, 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)
0 commit comments