Skip to content

Feature/ai logging #6285

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

Merged
merged 3 commits into from
Aug 13, 2021
Merged

Feature/ai logging #6285

merged 3 commits into from
Aug 13, 2021

Conversation

martin-cs
Copy link
Collaborator

Adds logging to the core of the abstract interpretation algorithm.

@codecov
Copy link

codecov bot commented Aug 10, 2021

Codecov Report

Merging #6285 (91e4706) into develop (74e4365) will increase coverage by 0.00%.
The diff coverage is 92.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #6285   +/-   ##
========================================
  Coverage    75.96%   75.97%           
========================================
  Files         1508     1508           
  Lines       163292   163378   +86     
========================================
+ Hits        124052   124129   +77     
- Misses       39240    39249    +9     
Impacted Files Coverage Δ
...ensitivity/variable_sensitivity_dependence_graph.h 79.31% <ø> (ø)
src/solvers/flattening/bv_pointers.cpp 82.56% <66.66%> (-0.11%) ⬇️
...nsitivity/three_way_merge_abstract_interpreter.cpp 93.02% <91.17%> (-1.32%) ⬇️
src/analyses/ai.cpp 76.12% <91.66%> (+4.12%) ⬆️
src/analyses/ai.h 57.36% <100.00%> (-0.78%) ⬇️
...sensitivity/three_way_merge_abstract_interpreter.h 100.00% <100.00%> (ø)
...sitivity/variable_sensitivity_dependence_graph.cpp 84.58% <100.00%> (ø)
src/goto-analyzer/build_analyzer.cpp 94.91% <100.00%> (ø)
src/goto-analyzer/goto_analyzer_parse_options.cpp 71.98% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f0a4e75...91e4706. Read the comment docs.

@martin-cs
Copy link
Collaborator Author

@peterschrammel and @chrisr-diffblue sorry to hassle but is there any chance of a quick review? This is just adding progress and debugging logging to the abstract interpreter. At lower verbosity levels it should be completely functionality neutral.

Copy link
Contributor

@chrisr-diffblue chrisr-diffblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :-)

@martin-cs
Copy link
Collaborator Author

Thanks for the fast review @chrisr-diffblue . I will fix the formatting and then merge.

martin added 3 commits August 13, 2021 12:24
The legacy ait interface is preserved by creating a local
null_message_handlert and then passing this as a reference to the parent
constructor.  This is not ideal but does preserve behaviour.
This includes debugging to dump out the full history and domain as we go
which allows tracing of the full computation if needed.
This does not check whether the debug output is actually sensible or
useful, just whether it is present at the different --verbosity levels.
@martin-cs martin-cs merged commit e1be597 into diffblue:develop Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants