This is an archive of the discontinued LLVM Phabricator instance.

[UBSan] Followup for silence_unsigned_overflow flag to handle negate overflows.
ClosedPublic

Authored by Dor1s on Jul 13 2018, 2:55 PM.

Details

Summary

That flag has been introduced in https://reviews.llvm.org/D48660 for
suppressing UIO error messages in an efficient way. The main motivation is to
be able to use UIO checks in builds used for fuzzing as it might provide an
interesting signal to a fuzzing engine such as libFuzzer.

See https://github.com/google/oss-fuzz/issues/910 for more information.

Diff Detail

Event Timeline

Dor1s created this revision.Jul 13 2018, 2:55 PM
Herald added subscribers: Restricted Project, delcypher, kubamracek. · View Herald TranscriptJul 13 2018, 2:55 PM
Dor1s added a comment.Jul 13 2018, 2:56 PM

Wait a second, some unintentional changes sneaked in. I'll clean up in a minute.

Dor1s updated this revision to Diff 155506.Jul 13 2018, 2:56 PM

Remove unintentional changes that were uploaded in the initial version

Dor1s added a comment.Jul 13 2018, 2:57 PM

Ready for review now. Please take a look.

morehouse accepted this revision.Jul 13 2018, 3:27 PM

Nice catch!

This revision is now accepted and ready to land.Jul 13 2018, 3:27 PM
This revision was automatically updated to reflect the committed changes.