You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, I have a simple rule that non-mutable local variables cannot be assigned ever. This is too simplistic. We should track an uninit predicate for each local variable and only allow assignment to x if uninit(x) holds. (Note that it is possible to be in a state where neither init(x) nor uninit(x) holds, if x is initialized on some paths but not others)
I tried delving into the type state module to make these changes but they proved somewhat invasive. Currently predicates are indexed by def_id, for example, but this will have to change as there would be multiple predicates associated with the def_id of each local variable. So I decided to just leave my simple-minded check and file an issue.
The text was updated successfully, but these errors were encountered:
…ang#1940)
This is the first change I'm planning to make to allow us to stop linking all *out files together and to introduce per-harness artifact generation in the compiler.
I added the ArtifactType to create a standard way to handle file extensions in different parts of Kani.
Right now, I have a simple rule that non-mutable local variables cannot be assigned ever. This is too simplistic. We should track an
uninit
predicate for each local variable and only allow assignment tox
ifuninit(x)
holds. (Note that it is possible to be in a state where neitherinit(x)
noruninit(x)
holds, ifx
is initialized on some paths but not others)I tried delving into the type state module to make these changes but they proved somewhat invasive. Currently predicates are indexed by
def_id
, for example, but this will have to change as there would be multiple predicates associated with thedef_id
of each local variable. So I decided to just leave my simple-minded check and file an issue.The text was updated successfully, but these errors were encountered: