Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4448 closed defect (fixed)

covoar reports uncovered ranges of size 1

Reported by: Alex White Owned by: Alex White
Priority: normal Milestone: 6.1
Component: tool Version: 6
Severity: normal Keywords: coverage, covoar
Cc: Blocked By:
Blocking:

Description

The uncovered range reports produced by covoar for the ARM architecture contain ranges of size 1. When clicked, they link to instructions that appears to be covered.

This should be fixed to remove these erroneous ranges.

Change History (2)

comment:1 Changed on 06/02/21 at 14:15:35 by Alex White

Owner: set to Alex White
Status: newaccepted

comment:2 Changed on 06/04/21 at 19:25:14 by Alex White <alex.white@…>

Resolution: fixed
Status: acceptedclosed

In [changeset:"c17664fb7b95f16e7012e4bbcbfd301e7a58b3a8/rtems-tools" c17664f/rtems-tools]:

covoar: Fix single-byte uncovered ranges

This fixes a bug where covoar reports uncovered ranges of size 1. When a
NOP instruction is encountered at the end of a function, the remaining
non-instruction bytes are marked as executed. The loop that marks the
remaining bytes as executed was not considering the last address of the
function.

Closes #4448

Note: See TracTickets for help on using tickets.