[Webkit-unassigned] [Bug 188460] [CMake] Add ENABLE_UNDEFINED_BEHAVIOR_SANITIZER to make it easier to build with UBSan

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 08:58:03 PDT 2018


--- Comment #7 from Jonathan Bedard <jbedard at apple.com> ---
(In reply to Michael Catanzaro from comment #6)
> ...
> Perhaps, but perhaps undefined behavior should always be avoided.

Completely avoiding all behavior UBSan flags will likely be controversial. As an example, (if I'm remember correctly, been a while since I worked with this) signed integer overflow is undefined behavior according to the C++ standards, but in practice, most compilers DO define this behavior so there are a few spots where we do (or perhaps did) rely on this being defined behavior.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180810/a814014d/attachment.html>

More information about the webkit-unassigned mailing list