goblint / GobPie

Goblint IDE integration via MagpieBridge
MIT License
5 stars 3 forks source link

Add config option to disable incremental analysis #51

Closed FeldrinH closed 1 year ago

FeldrinH commented 1 year ago

This pull request adds an optional config option incrementalAnalysis to gobpie.json.

If not specified, it defaults to true, which is corresponds to the current behavior. If set to false it will run Goblint analysis with incremental analysis mostly* disabled.

* As far as I know the reset option for the analyze request does not disable incremental analysis but instead clears almost all existing incremental analysis results, which in practice has more or less the same effect as disabling incremental analysis.

This is useful because incremental analysis in server mode can in some cases cause Goblint to crash or return inconsistent results (see for example https://github.com/goblint/analyzer/issues/940).