-
Notifications
You must be signed in to change notification settings - Fork 277
rw_set: store function identifier alongside instruction reference [blocks: #3126] #3863
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
Conversation
1bafa4c
to
98483ed
Compare
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 98483ed).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/98004628
98483ed
to
7675860
Compare
We are working towards removing the "function" field from goto_programt::instructionst::instructiont, and thus need to pass the identifier of the function whenever it actually is required. rw_set does not yet make use of this, but will need to once dereferencing is updated to require a function name.
7675860
to
d939de9
Compare
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: d939de9).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/98084304
#ifdef LOCAL_MAY | ||
, local_may | ||
, | ||
local_may | ||
#endif | ||
); // NOLINT(whitespace/parens) | ||
if(rw_set.empty()) | ||
continue; | ||
|
||
symbolt new_symbol; |
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.
Unrelated to the purpose of this PR: I guess this should be using util/fresh_symbol
.
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.
Certainly true, I'll take a look.
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.
Done in #3917.
We are working towards removing the "function" field from
goto_programt::instructionst::instructiont, and thus need to pass the identifier
of the function whenever it actually is required. rw_set does not yet make use
of this, but will need to once dereferencing is updated to require a function
name.