[OpenBSD's GCC] -O2 option does not include -fstrict-aliasing, as this option causes issues on some legacy code. http://man.openbsd.org/OpenBSD-current/man1/gcc-local.1 …
-
-
Replying to @volatile_void
I've wondered if -fstrict-aliasing is compatible with sockaddr_xxx casts at all
2 replies 0 retweets 0 likes -
Replying to @damienmiller
we could tell you if it's compatible with our modelization (intended to capture all risks as reverse-engineered to the best of
1 reply 0 retweets 0 likes -
Replying to @volatile_void @damienmiller
our abilities from recent compilers). Do you have a small self-contained example?
1 reply 0 retweets 0 likes -
Replying to @volatile_void
something like http://pastebin.com/6PhztFEu -- casting of similar pointers is really essential to BSD sockets
4 replies 0 retweets 2 likes
Replying to @damienmiller
Modern code should never dereference internet sockaddr structs at all. getaddrinfo/getnameinfo encapsulate all this.
8:24 AM - 6 Jul 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.