-
Notifications
You must be signed in to change notification settings - Fork 6
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
chrony #17
Comments
This sounds like the project itself wants to use |
I've been planning on getting started with that, but spent today almost only teaching. I'll hopefully get around to it tomorrow 😄 |
Well, this is fabulous, Goblint's analysis of chrony is also unsound. @vesalvojdani There's also a function EDIT: Based on a quick look, this again seems to because the project uses malloc wrappers ( |
That unsoundness looks fixed by goblint/analyzer#712. Then 8 races are reported, all of which seem to be exclude-able using goblint/analyzer#695 and goblint/analyzer#707. |
There would still be unsoundness due to goblint/analyzer#716. |
I cannot get this to run on the current Goblint Master Branch. This is my setup. To reproduce simple cherry pick this commit onto the master branch. The analysis fails with |
Probably due to goblint/analyzer@2bfadcd. Might be good to identify where the call comes from, one suspect is e.g. comparisons of floats. |
I am not really interested in the analysis result but rather in the performance. Can I somehow deactivate this exception without breaking everything? It doesn't matter if the analysis result is wrong afterwards. |
You could locally change |
https://theprofoundprogrammer.com/post/28974600028/text-it-doesnt-work-but-its-fast — the correctness of the analysis result does matter for performance, because it's easy to make things faster by breaking them. It's good to have this regression come out though, because we'll need to fix it if there's going to be an interactive paper artifact that uses chrony. |
|
I am getting a ton of Fixpoint not reached errors when analyzing chrony with the default analysis configuration (ana.activated not set). However the analysis works with only base and mallocWrapper set. What could be the reason for this? Logfile |
These seem to be somehow related to anonymous structs and unions for which CIL generates fresh names containing some numbers. The errors don't look exactly like these, but it could be related to goblint/analyzer#678. It might also be due to some difference between Goblint's master and interactive branches, because we used the latter for some evaluation and AFAIK didn't get fixpoint errors at the time. |
Which analysis do I have to disable to circumvent this error? |
I tried to run Goblint on this repository that is also in frama-c's case study benchmarks (#4).
chrony: https://chrony.tuxfamily.org/ at
a2d1569455aa10a273e41eba5f79ca6210934d68
goblint: at goblint/analyzer@5ecb6c5 with goblint/analyzer#585
bear: 3.0.8 (compiledb throws errors about not being able to create the already existing directory
.deps
and not being able to regenerate the Makefile. A workaround for this seems to be the removal of the.deps
... and Makefile targets from the Makefile before runningcompiledb make
)run in chrony:
./configure && bear -- make chronyd
(alternatively one can also choose to usechronyc
)or when using compiledb:
then run the analysis with:
output for the analysis of
chronyd
:The text was updated successfully, but these errors were encountered: