Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Consider avoiding *undersirable* functions in the test report coverage #1554

@podhrmic

Description

@podhrmic

When using crux-mir with coverage reporting enabled, we often do not want to achieve 100% coverage. For example, we are proving that a panic! call is never reached, or an assert! (either Rust or crucible) is never false.

Currently I would just review the coverage report, and decide which cases are false positives (e.g. a branch with panic! is not called) or true findings (e.g. an if some_setting statement is never true).

The general solution would be to have a mechanism to mark certain functions as "undesirable", and basically don't count paths that lead to such functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions