Skip to content

Fully model __builtin_bswap to re-enable Linux kernel builds #202

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

Closed
tautschnig opened this issue Aug 15, 2016 · 3 comments
Closed

Fully model __builtin_bswap to re-enable Linux kernel builds #202

tautschnig opened this issue Aug 15, 2016 · 3 comments

Comments

@tautschnig
Copy link
Collaborator

It would be great if the simplifier were able to deal with bswap of constants, similar to how popcount is handled. This is nowadays used in the linux kernel:

http://lxr.free-electrons.com/source/include/linux/sctp.h#L169

Best,
Michael

@kroening
Copy link
Member

Coming!

@kroening
Copy link
Member

Please look at 69d7911.

@tautschnig
Copy link
Collaborator Author

Apologies for the delay! Indeed, this is fixed as of 69d7911. Thank you!

smowton pushed a commit to smowton/cbmc that referenced this issue May 9, 2018
SEC-66 : Added few type-checking is_* functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants