-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
goblintGoblint-specific problemGoblint-specific problemparsing-succeedsprojectProject to analyzeProject to analyze
Description
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 running compiledb make)
run in chrony:
./configure && bear -- make chronyd (alternatively one can also choose to use chronyc)
or when using compiledb:
git clean -fdx
./configure
make -j 1 chronyd | tee build.log
compiledb --parse build.log
then run the analysis with:
./goblint ../path/to/chrony --disable ana.base.context.non-ptr --disable sem.unknown_function.spawn --set ana.thread.domain plain --enable exp.earlyglobs --set ana.base.privatization none --enable dbg.print_dead_code &> chrony.cil.out -v
output for the analysis of chronyd:
Summary for all memory locations:
safe: 1257
vulnerable: 0
unsafe: 3
-------------------
total: 1260
vars = 37055 evals = 76212
Timings:
TOTAL 22.663 s
parse 1.449 s
convert to CIL 1.706 s
analysis 19.509 s
global_inits 0.056 s
solving 19.193 s
S.Dom.equal 0.043 s
postsolver 4.360 s
warn_global 0.008 s
access 0.005 s
Timing used
Memory statistics: total=65494.81MB, max=706.25MB, minor=65436.07MB, major=977.57MB, promoted=918.84MB
minor collections=31220 major collections=20 compactions=0
Found dead code on 4769 lines (including 4683 in uncalled functions)!
Total lines (logical LoC): 11364
Metadata
Metadata
Assignees
Labels
goblintGoblint-specific problemGoblint-specific problemparsing-succeedsprojectProject to analyzeProject to analyze