-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Description
It would be good for SMACK to actually generate precise modifies clauses, instead of relying on a back-end verifier to support inference of modified globals.
The way I see it, there are two ways one could go about implementing this feature:
- Gather modified variables while building Boogie ASTs
- Gather modified variables during a separate dedicated post-processing pass
The advantage of the first one is that we do not have to scan the code twice, but on the other hand it would introduce these cross-cutting additions all over the place. The advantage of the second one is that the code would be nice and contained, but on the other hand it would scan the code again.
Let's discuss this a little bit and decide how to go about implementing it.