Skip to content

Add support for loops formed via gotos#389

Merged
gauravpartha merged 5 commits into
masterfrom
ast-loops
Jun 30, 2021
Merged

Add support for loops formed via gotos#389
gauravpartha merged 5 commits into
masterfrom
ast-loops

Conversation

@gauravpartha

Copy link
Copy Markdown
Contributor

This PR adds support for loops formed via gotos (including jumps out of loops etc...). It relies on information from the Silver loop detector being added to the AST (developed on the ast-loops branch in the Silver repository).

The case when syntactic loops do not coincide with natural loops in the CFG has not been considered in detail. What the behaviour of such cases should be must be further investigated (for Viper programs in general).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant