-
Notifications
You must be signed in to change notification settings - Fork 274
Add documentation on goto-analyzer to the manual #6444
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
Add documentation on goto-analyzer to the manual #6444
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #6444 +/- ##
===========================================
- Coverage 77.79% 76.01% -1.79%
===========================================
Files 1568 1527 -41
Lines 180317 164465 -15852
===========================================
- Hits 140285 125013 -15272
+ Misses 40032 39452 -580
Continue to review full report at Codecov.
|
fix-point, then it will perform the task the user has chosen. | ||
|
||
`--show` | ||
: Displays a domain for every instruction in the GOTO binary. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦁 domain or abstract value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It displays the whole ai_domaint
object. I am referring to this as the domain. In cases (in VSD) where I am talking about single abstract_objectt
's I am calling them abstract values. Do you feel this is the correct terminology?
|
||
`--show-on-source` | ||
: The source code of the program is displayed line-by-line with the | ||
abstract domains corresponding to each location displayed between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with the original 🦁
|
||
The histories described above are used to keep track of where in the | ||
computation needs to be explored. The most precise option is to keep | ||
one domain for every history but in some cases, to save memory and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the original 🦁 above.
@peterschrammel thank you for the review and feedback; very helpful. What do you mean by ":lion:"? |
I think its a reference back to one of his previous comments "🦁 domain or abstract value?" - i.e. that comment applies everywhere else he's used the same emoij. |
Aaaaahhhhhhh; thank you @chrisr-diffblue |
Either that, or its a warning you are pulling a lions tail 😁 |
@martin-cs Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!!
d554aa8
to
45fe2ed
Compare
@peterschrammel only the 🦁 issues remain then I can merge. Let me know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. For those options that are unsound, can we get some warning in the output too incase someone uses them without reading the manual (perish the thought).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with me
45fe2ed
to
2d2a3f3
Compare
@tautschnig @peterschrammel @chris-ryder The only failing tests are from the code coverage which has dropped because documentation seems to be included in the "percentage covered" metric. Do you mind if I just merge it? |
No concerns from my side! |
Thanks; I'll merge and if anyone knows how to remove documentation from the coverage count (or how we should test the documentation?) then I will have a go at fixing that in another PR. |
I have promised this to (in order of oldest promise) @tautschnig @remi-delmas-3000 @jimgrundy and @vmihalko . If any of you have a chance to look at this and say whether it is what you wanted / needed / hoped for then I would be very grateful.