Skip to content

Generating precise modifies clauses #245

@zvonimir

Description

@zvonimir

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:

  1. Gather modified variables while building Boogie ASTs
  2. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions