viperproject / sample

Other
0 stars 0 forks source link

[Alias Analysis] node materialization happens too late #72

Closed viper-admin closed 4 years ago

viper-admin commented 8 years ago

Created by bitbucket user caterinaurban on 2016-09-06 14:17 Last updated on 2016-09-09 16:42

The may alias analysis has no information at the beginning of the program. As a consequence, the permission inference on the following program:

#!Scala
field f: Ref

method Foo(a: Ref, b: Ref)
{
    exhale acc(b.f)
    inhale acc(a.f)
    a.f := null
}

also infers the following precondition:

acc(a.f, write)

viper-admin commented 8 years ago

Bitbucket user caterinaurban on 2016-09-09 16:40:

  • edited the description
viper-admin commented 8 years ago

Bitbucket user caterinaurban commented on 2016-09-09 16:42

I cannot reproduce the issue anymore.

viper-admin commented 8 years ago

Bitbucket user caterinaurban on 2016-09-09 16:42:

  • changed state from new to closed