-
Notifications
You must be signed in to change notification settings - Fork 273
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
Handle array_{copy,replace,set} in dependence graph #6710
Handle array_{copy,replace,set} in dependence graph #6710
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #6710 +/- ##
===========================================
+ Coverage 76.80% 77.16% +0.36%
===========================================
Files 1589 1582 -7
Lines 183658 182663 -995
===========================================
- Hits 141056 140954 -102
+ Misses 42602 41709 -893
Continue to review full report at Codecov.
|
{ | ||
object_descriptor_exprt ode; | ||
ode.build(dereference_exprt{skip_typecast(pointer)}, ns); | ||
get_objects_rec(mode, ode.root_object(), -1, -1); |
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.
🪄 magic numbers?
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.
Fair point! These are used throughout goto_rw
, so I'll post a follow-up PR that fix this throughout this piece of code.
goto_rw previously only handled the "printf" case of an "OTHER" statement, and failed to account for the array operations. Reaching definitions didn't handle the "OTHER" case at all before.
cb556a3
to
5e83d5b
Compare
goto_rw previously only handled the "printf" case of an "OTHER"
statement, and failed to account for the array operations. Reaching
definitions didn't handle the "OTHER" case at all before.