-
Notifications
You must be signed in to change notification settings - Fork 273
remove two fields from goto-binary function format #3113
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
@@ -97,11 +97,9 @@ bool write_goto_binary_v4( | |||
const goto_programt::instructiont &instruction = *i_it; | |||
|
|||
irepconverter.reference_convert(instruction.code, out); | |||
irepconverter.write_string_ref(out, instruction.function); |
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.
I don't think we are there just yet: this should only be done once we have sanity checks of goto programs in place, and those ensure that fct.first == instruction.function
, which I doubt truly holds at the moment.
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.
Ok, #3126!
remove goto_programt::instructiont::function member [blocks: #3113]
fdc819f
to
63db047
Compare
a180b04
to
0d91a71
Compare
This removes the name of the function in every instruction (it's known from the function that's being read), and an unused field. This also increases version number of goto binary format to 5.
0d91a71
to
3a84988
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: 3a84988).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/99687290
This removes the name of the function in every instruction (it's known from
the function that's being read), and an unused field. This also increases
version number of goto binary format to 5.