@RichFelker There's the option of using -fwrapv, -fno-strict-aliasing and various subsets of UBSan to get a saner version of the language.
-
-
Replying to @CopperheadOS
@CopperheadSec There is nothing "sane" about writing code that contains aliasing. It DOES NOT HAPPEN unless you do utterly idiotic things.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker It's easy to fall into the trap of doing something like using uint8_t instead of char and breaking the aliasing rules.2 replies 0 retweets 0 likes -
Replying to @CopperheadOS
@RichFelker Aliasing is used everywhere in C. It's often well-defined, but few C programmers have a good grasp of which case is which.2 replies 0 retweets 0 likes -
Replying to @CopperheadOS
@CopperheadSec "Everywhere" is an exaggeration. Vast majority of uses are just crap code, with no valid excuse for using aliasing.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker Yes, 99% of cases are just bad code. In some rare cases, it's actually important for performance. It's really pervasive though.1 reply 0 retweets 0 likes -
Replying to @CopperheadOS
@CopperheadSec I don't buy the claims of pervasiveness without evidence. Something like analysis of a whole dist with known-crapware removed2 replies 0 retweets 0 likes -
Replying to @RichFelker
@CopperheadSec I deal with source for a lot of FOSS programs and do not regularly encounter aliasing issues except in decades-old crap.2 replies 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker There's a difference between encountering issues from it and it being there but working perfectly fine.1 reply 0 retweets 0 likes -
Replying to @CopperheadOS
@RichFelker Until there's a sanitizer to detect it, most of it going to go unnoticed because 99% of the time optimizations won't break it.1 reply 0 retweets 0 likes
@CopperheadSec When I say "notice/encounter" I mean RTFS'ing, not hitting outward symptoms of the bug.
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.