-
Notifications
You must be signed in to change notification settings - Fork 277
Configure bits_per_byte in byte_extract/byte_update expression #6009
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
Configure bits_per_byte in byte_extract/byte_update expression #6009
Conversation
5f7915f
to
d4081c2
Compare
Codecov ReportBase: 77.99% // Head: 78.00% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #6009 +/- ##
========================================
Coverage 77.99% 78.00%
========================================
Files 1619 1619
Lines 187184 187248 +64
========================================
+ Hits 145999 146062 +63
- Misses 41185 41186 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
d4081c2
to
b68ddd2
Compare
b68ddd2
to
9c017d7
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.
I like obscure architectures but ... you have a use-case for this, right?
jbmc/unit/java_bytecode/java_trace_validation/java_trace_validation.cpp
Outdated
Show resolved
Hide resolved
9c017d7
to
2a26e7a
Compare
While I do know of an organisation that had a use case, I'm not sure they are still using CBMC. Either way, I'd like to get rid of all magic numbers. |
2a26e7a
to
7b059a6
Compare
7b059a6
to
5a19700
Compare
5a19700
to
33eb105
Compare
33eb105
to
4b6c927
Compare
4b6c927
to
1b3a39d
Compare
Semantically evaluating a byte_extract/byte_update expression requires knowledge of the number of bits that a byte is composed of. This, however, is a configuration parameter known to the front-end that created the expression in the first place. The back-end should not need to consult configuration information to evaluate the expression.
1b3a39d
to
a8631c5
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.
🎉
Semantically evaluating a byte_extract/byte_update expression requires
knowledge of the number of bits that a byte is composed of. This,
however, is a configuration parameter known to the front-end that
created the expression in the first place. The back-end should not need
to consult configuration information to evaluate the expression.