coverage: Prefer to visit nodes whose predecessors have been visited
This commit is contained in:
parent
8dc83770f7
commit
ac815ff6b0
25 changed files with 936 additions and 1250 deletions
|
@ -1,14 +1,11 @@
|
|||
Function name: if::branch_and
|
||||
Raw bytes (60): 0x[01, 01, 06, 05, 09, 0b, 09, 05, 11, 13, 09, 17, 11, 05, 0d, 08, 01, 2b, 01, 01, 10, 05, 03, 08, 00, 09, 20, 09, 02, 00, 08, 00, 09, 09, 00, 0d, 00, 0e, 20, 0d, 11, 00, 0d, 00, 0e, 0d, 00, 0f, 02, 06, 06, 02, 0c, 02, 06, 0e, 03, 01, 00, 02]
|
||||
Raw bytes (54): 0x[01, 01, 03, 05, 09, 09, 0d, 05, 0d, 08, 01, 2b, 01, 01, 10, 05, 03, 08, 00, 09, 20, 09, 02, 00, 08, 00, 09, 09, 00, 0d, 00, 0e, 20, 0d, 06, 00, 0d, 00, 0e, 0d, 00, 0f, 02, 06, 0a, 02, 0c, 02, 06, 05, 03, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 6
|
||||
Number of expressions: 3
|
||||
- expression 0 operands: lhs = Counter(1), rhs = Counter(2)
|
||||
- expression 1 operands: lhs = Expression(2, Add), rhs = Counter(2)
|
||||
- expression 2 operands: lhs = Counter(1), rhs = Counter(4)
|
||||
- expression 3 operands: lhs = Expression(4, Add), rhs = Counter(2)
|
||||
- expression 4 operands: lhs = Expression(5, Add), rhs = Counter(4)
|
||||
- expression 5 operands: lhs = Counter(1), rhs = Counter(3)
|
||||
- expression 1 operands: lhs = Counter(2), rhs = Counter(3)
|
||||
- expression 2 operands: lhs = Counter(1), rhs = Counter(3)
|
||||
Number of file 0 mappings: 8
|
||||
- Code(Counter(0)) at (prev + 43, 1) to (start + 1, 16)
|
||||
- Code(Counter(1)) at (prev + 3, 8) to (start + 0, 9)
|
||||
|
@ -16,15 +13,14 @@ Number of file 0 mappings: 8
|
|||
true = c2
|
||||
false = (c1 - c2)
|
||||
- Code(Counter(2)) at (prev + 0, 13) to (start + 0, 14)
|
||||
- Branch { true: Counter(3), false: Counter(4) } at (prev + 0, 13) to (start + 0, 14)
|
||||
- Branch { true: Counter(3), false: Expression(1, Sub) } at (prev + 0, 13) to (start + 0, 14)
|
||||
true = c3
|
||||
false = c4
|
||||
false = (c2 - c3)
|
||||
- Code(Counter(3)) at (prev + 0, 15) to (start + 2, 6)
|
||||
- Code(Expression(1, Sub)) at (prev + 2, 12) to (start + 2, 6)
|
||||
= ((c1 + c4) - c2)
|
||||
- Code(Expression(3, Sub)) at (prev + 3, 1) to (start + 0, 2)
|
||||
= (((c1 + c3) + c4) - c2)
|
||||
Highest counter ID seen: c4
|
||||
- Code(Expression(2, Sub)) at (prev + 2, 12) to (start + 2, 6)
|
||||
= (c1 - c3)
|
||||
- Code(Counter(1)) at (prev + 3, 1) to (start + 0, 2)
|
||||
Highest counter ID seen: c3
|
||||
|
||||
Function name: if::branch_not
|
||||
Raw bytes (116): 0x[01, 01, 07, 05, 09, 05, 0d, 05, 0d, 05, 11, 05, 11, 05, 15, 05, 15, 12, 01, 0c, 01, 01, 10, 05, 03, 08, 00, 09, 20, 09, 02, 00, 08, 00, 09, 09, 01, 09, 00, 11, 02, 01, 05, 00, 06, 05, 01, 08, 00, 0a, 20, 0a, 0d, 00, 08, 00, 0a, 0a, 00, 0b, 02, 06, 0d, 02, 05, 00, 06, 05, 01, 08, 00, 0b, 20, 11, 12, 00, 08, 00, 0b, 11, 00, 0c, 02, 06, 12, 02, 05, 00, 06, 05, 01, 08, 00, 0c, 20, 1a, 15, 00, 08, 00, 0c, 1a, 00, 0d, 02, 06, 15, 02, 05, 00, 06, 05, 01, 01, 00, 02]
|
||||
|
@ -108,14 +104,16 @@ Number of file 0 mappings: 14
|
|||
Highest counter ID seen: c4
|
||||
|
||||
Function name: if::branch_or
|
||||
Raw bytes (56): 0x[01, 01, 04, 05, 09, 09, 0d, 0f, 11, 09, 0d, 08, 01, 35, 01, 01, 10, 05, 03, 08, 00, 09, 20, 09, 02, 00, 08, 00, 09, 02, 00, 0d, 00, 0e, 20, 0d, 11, 00, 0d, 00, 0e, 0f, 00, 0f, 02, 06, 11, 02, 0c, 02, 06, 0b, 03, 01, 00, 02]
|
||||
Raw bytes (60): 0x[01, 01, 06, 05, 09, 05, 17, 09, 0d, 09, 0d, 05, 17, 09, 0d, 08, 01, 35, 01, 01, 10, 05, 03, 08, 00, 09, 20, 09, 02, 00, 08, 00, 09, 02, 00, 0d, 00, 0e, 20, 0d, 12, 00, 0d, 00, 0e, 17, 00, 0f, 02, 06, 12, 02, 0c, 02, 06, 05, 03, 01, 00, 02]
|
||||
Number of files: 1
|
||||
- file 0 => global file 1
|
||||
Number of expressions: 4
|
||||
Number of expressions: 6
|
||||
- expression 0 operands: lhs = Counter(1), rhs = Counter(2)
|
||||
- expression 1 operands: lhs = Counter(2), rhs = Counter(3)
|
||||
- expression 2 operands: lhs = Expression(3, Add), rhs = Counter(4)
|
||||
- expression 1 operands: lhs = Counter(1), rhs = Expression(5, Add)
|
||||
- expression 2 operands: lhs = Counter(2), rhs = Counter(3)
|
||||
- expression 3 operands: lhs = Counter(2), rhs = Counter(3)
|
||||
- expression 4 operands: lhs = Counter(1), rhs = Expression(5, Add)
|
||||
- expression 5 operands: lhs = Counter(2), rhs = Counter(3)
|
||||
Number of file 0 mappings: 8
|
||||
- Code(Counter(0)) at (prev + 53, 1) to (start + 1, 16)
|
||||
- Code(Counter(1)) at (prev + 3, 8) to (start + 0, 9)
|
||||
|
@ -124,13 +122,13 @@ Number of file 0 mappings: 8
|
|||
false = (c1 - c2)
|
||||
- Code(Expression(0, Sub)) at (prev + 0, 13) to (start + 0, 14)
|
||||
= (c1 - c2)
|
||||
- Branch { true: Counter(3), false: Counter(4) } at (prev + 0, 13) to (start + 0, 14)
|
||||
- Branch { true: Counter(3), false: Expression(4, Sub) } at (prev + 0, 13) to (start + 0, 14)
|
||||
true = c3
|
||||
false = c4
|
||||
- Code(Expression(3, Add)) at (prev + 0, 15) to (start + 2, 6)
|
||||
false = (c1 - (c2 + c3))
|
||||
- Code(Expression(5, Add)) at (prev + 0, 15) to (start + 2, 6)
|
||||
= (c2 + c3)
|
||||
- Code(Counter(4)) at (prev + 2, 12) to (start + 2, 6)
|
||||
- Code(Expression(2, Add)) at (prev + 3, 1) to (start + 0, 2)
|
||||
= ((c2 + c3) + c4)
|
||||
Highest counter ID seen: c4
|
||||
- Code(Expression(4, Sub)) at (prev + 2, 12) to (start + 2, 6)
|
||||
= (c1 - (c2 + c3))
|
||||
- Code(Counter(1)) at (prev + 3, 1) to (start + 0, 2)
|
||||
Highest counter ID seen: c3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue