Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for manual restarting of globals #573

Merged
merged 22 commits into from
Feb 15, 2022
Merged

Add option for manual restarting of globals #573

merged 22 commits into from
Feb 15, 2022

Conversation

jerhard
Copy link
Member

@jerhard jerhard commented Jan 27, 2022

Add option to restart unknowns belonging to a list of global variables selected by the user.
The list can be passed with incremental.restart_globs.globs (which should be renamed before merging this).

The option is marked to conflict with incremental.restart.enabled which performs an automatic restarting.

Closes #543. Depends on #549.

@jerhard jerhard changed the base branch from interactive to issue-544-2-td3 January 27, 2022 09:00
@sim642 sim642 added performance Analysis time, memory usage pr-dependency Depends or builds on another PR, which should be merged before labels Jan 27, 2022
@sim642 sim642 self-requested a review January 27, 2022 09:01
@sim642 sim642 changed the title Add option for manual rstarting of globals Add option for manual restarting of globals Jan 27, 2022
…cted by the user.

Adds the option incremental.restart_globs.globs, where a user can provide a list of global variables which should be restarted.
src/util/options.schema.json Outdated Show resolved Hide resolved
src/maingoblint.ml Outdated Show resolved Hide resolved
tests/incremental/04-manual-restart/02-read_write_global.c Outdated Show resolved Hide resolved
src/util/cilfacade.ml Outdated Show resolved Hide resolved
src/util/cilfacade.ml Outdated Show resolved Hide resolved
src/util/server.ml Show resolved Hide resolved
src/solvers/td3.ml Outdated Show resolved Hide resolved
src/solvers/td3.ml Outdated Show resolved Hide resolved
src/solvers/td3.ml Outdated Show resolved Hide resolved
src/solvers/td3.ml Outdated Show resolved Hide resolved
src/solvers/td3.ml Outdated Show resolved Hide resolved
src/solvers/td3.ml Outdated Show resolved Hide resolved
src/util/cilUtil.ml Outdated Show resolved Hide resolved
src/util/cilUtil.ml Outdated Show resolved Hide resolved
Base automatically changed from issue-544-2-td3 to interactive January 28, 2022 10:52
@sim642 sim642 removed the pr-dependency Depends or builds on another PR, which should be merged before label Jan 28, 2022
Manual restarting should not cause transitively restarting other
unknowns, even in case that restart.sided.enabled is true.
The destabilize function relies on a reference to chose the function
whose implementation is actually used and may use the
destabilize_with_side internally. This is avoided by calling
destabilze_normal.
… according to option, but cannot be found in the CIL-file.
src/framework/varQuery.mli Outdated Show resolved Hide resolved
@jerhard jerhard merged commit 6851659 into interactive Feb 15, 2022
@jerhard jerhard deleted the issue_543 branch February 15, 2022 10:40
@sim642 sim642 mentioned this pull request Feb 15, 2022
5 tasks
@sim642 sim642 added this to the v2.0.0 milestone Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Analysis time, memory usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants