-
Notifications
You must be signed in to change notification settings - Fork 77
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
Remove Git dependency from incremental analysis #350
Comments
There is no Makefile dependency in the incremental version, but there is indeed the requirement that the code that is analyzed is contained in a Git repository and that this repo is in a clean state. I changed the issue title accordingly. |
As of now, the incremental results are stored in a folder with the hash-code of the current commit of the analyzed repo as the name. I would completely get rid of this mechanic and only store one – the latest – analysis result. |
There is
Just having an option for a single directory to use would probably be enough, but if you want to get rid of the versioning thing inside Goblint, then I'm not opposed either. I suppose if such functionality is needed, it could easily be achieved using a wrapper script. Also, what's the relationship between incremental and And what's the point of |
It is actually independent, yes. It should probably be moved to
These are independent options.
Yes, this is a problem.
It does require that the options stay the same, yes. This is currently not checked however; only a warning is printed to the user that it will crash if the options have changed.
The |
It's out of the scope of this issue, but we should probably have a check for this for interactive analysis indeed, i.e. the previous config gets stored. Because the user might want to change the config and then we should be able to detect them not being equal and also do a full reanalysis.
I'm now thinking that maybe it would also be better to have separate options like |
Any saved (marshaled) and loaded (unmarshaled) run should be able to run using incremental analysis.
The text was updated successfully, but these errors were encountered: