silver icon indicating copy to clipboard operation
silver copied to clipboard

Let expressions inside magic wands cause verifiers to crash

Open viper-admin opened this issue 6 years ago • 2 comments

Created by @vakaras on 2018-03-18 19:38 Last updated on 2018-03-19 12:54

Example:

#!silver
method test()
    ensures (
        true
        --*
        let tmp2 == (
            true
            ) in (
            tmp2
            --*
            true
        )
    )
{
}

Since this example crashes both back-ends with NoSuchElementException: key not found: tmp2, I suspect that this is a Silver issue. This is a blocking issue for Prusti.

viper-admin avatar Mar 18 '18 19:03 viper-admin

@vakaras commented on 2018-03-19 12:54

Potentially fixed in https://github.com/viperproject/silver/commit/c20cac4f63e5eb4905729d6ed63133d05e2d98ab. @mschwerhoff: could you please take a look if that commit makes sense to you?

viper-admin avatar Mar 19 '18 12:03 viper-admin

@vakaras on 2018-03-19 12:54:

  • changed the assignee from @marcoeilers to @mschwerhoff

viper-admin avatar Mar 19 '18 12:03 viper-admin