Compute dependencies of file via CIL instead of from .d files generated during pre-processing#587
Merged
michael-schwarz merged 12 commits intomasterfrom Feb 10, 2022
Merged
Compute dependencies of file via CIL instead of from .d files generated during pre-processing#587michael-schwarz merged 12 commits intomasterfrom
.d files generated during pre-processing#587michael-schwarz merged 12 commits intomasterfrom
Conversation
sim642
reviewed
Feb 3, 2022
Member
|
In #535 implementation the json output files object was something like: now it has a ton of different stuff in it: for GopPie, we only need to get back the list of the project files that have been sent for Goblint to be analysed (both .c and .h), so that we could track if any new files have been passed to be analysed since the last analysis. Therefore from the first implementation the |
Member
|
Overall, having now seen the actual outputs, I see a bunch of problems:
So actually, I think the reasonable thing to do would be the following:
|
Member
Author
|
I'll give that a shot tomorrow then. |
sim642
reviewed
Feb 5, 2022
sim642
approved these changes
Feb 10, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an alternative to #535 which it reverts.
Instead of generating
.dfiles during pre-processing and then parsing those in, we use the fact that the desired information is newly exposed by CIL as of goblint/cil#73The hope is that this simplifies the generation of these dependencies and also makes it less fragile (as observed for #557 and goblint/bench#17).
CC: @karoliineh since this affects GobPie.