Skip to content

dashboard/app: merged coverage numbers are too low when 2 compilers are used #6044

Open
@tarasmadan

Description

@tarasmadan

Describe the bug
Clang and gcc instrument code differently. The anomaly we observe in kvm is following:

  1. Clang instrumentation is 1800 points.
  2. Clang + gcc merged instrumentation is 2700 points. 900 points are unique for gcc.

In the situation where we fuzz kvm only on clang instances it means 900 points from gcc will always be 0 and do not reflect the code reachability.
The correct coverage is 27%. What we see merging signals from clang and gcc instances is 18%.

To Reproduce
Clang only coverage from the single manager is here.
Merged coverage is here.
You can check arch/x86/kvm/svm numbers.

Expected behavior
The numbers are correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions