Skip to content

Extra verifier argument numberOfErrorsToReport gets ignored #1213

@Patrick-6

Description

@Patrick-6

Adding the option extra_verifier_args = ["--numberOfErrorsToReport=0"] in the Prusti.toml file doesn't seem to do anything, e.g. the following code behaves the same with and without this option (running without overflow checks):

use prusti_contracts::*;

fn test(x: u64) {
    let y = 3 * x;
    assert!(y == 10*x); // Prusti shows error here
    assert!(y == 0); // correct if previous assertion holds
    assert!(false); // no error shown here
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions