[tor-bugs] #29528 [Core Tor/Tor]: UndefinedBehaviorSanitizer errors should fail the unit tests
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 25 02:11:54 UTC 2019
#29528: UndefinedBehaviorSanitizer errors should fail the unit tests
--------------------------------------------+------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-ci, tor-test, 041-proposed | Actual Points:
Parent ID: | Points: 2
Reviewer: | Sponsor:
--------------------------------------------+------------------------------
Comment (by teor):
Replying to [comment:3 riastradh]:
> There is an open Clang bug for this:
https://bugs.llvm.org/show_bug.cgi?id=19535
>
> Possible workaround: use `-fno-sanitize=float-divide-by-zero` in
addition to `-fsanitize=undefined`.
Ok, that's a workaround for the specific cases in #29527 which are not
bugs.
Let's implement it as part of that ticket?
We should still fail tests when they encounter genuinely undefined
behaviour.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29528#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list