[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #15817 [Tor]: Allow clang runtime sanitizers to be used on tor unit tests



#15817: Allow clang runtime sanitizers to be used on tor unit tests
-----------------------------+--------------------------------
     Reporter:  teor         |      Owner:  teor
         Type:  enhancement  |     Status:  accepted
     Priority:  minor        |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor          |    Version:  Tor: 0.2.7
   Resolution:               |   Keywords:  unit-tests clang
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------
Changes (by teor):

 * owner:   => teor
 * status:  needs_information => accepted


Comment:

 How about I prepare a sanitizer blacklist file to go in contrib/clang, and
 then document it in doc/HACKING?

 Now that I know how it works, I'll also prepare another blacklist for
 curve25519-donna.c, as it also uses undefined behaviour. (At least until
 we fix #13538.)

 That way, all the known undefined behaviour in the codebase is documented
 in the one place.

 I'll work on a patch for it.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15817#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs