-
Notifications
You must be signed in to change notification settings - Fork 76
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
Compute dependencies of file via CIL instead of from .d
files generated during pre-processing
#587
Conversation
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 |
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:
|
I'll give that a shot tomorrow then. |
This is an alternative to #535 which it reverts.
Instead of generating
.d
files 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.