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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 5 18:07:42 UTC 2015


#15817: Allow clang runtime sanitizers to be used on tor unit tests
-----------------------------+--------------------------------
     Reporter:  teor         |      Owner:  teor
         Type:  enhancement  |     Status:  needs_review
     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):

 * status:  assigned => needs_review


Comment:

 '''Branch:''' feature15817-clang-sanitizers
 '''Repository:''' https://github.com/teor2345/tor.git
 '''Changes:'''
 * add coverity, clang static analyzer, and clang dynamic sanitizers to
 doc/HACKING
 * add contrib/clang/sanitizer_blacklist.txt including detailed usage
 instructions
 * includes changes file

 Tested with clang 3.7's UndefinedBehaviorSanitizer and AddressSanitizer on
 OS X 10.10 Yosemite, with `make check` and `make test-network` passing on
 both x86_64 and i386 (using CC="clang -arch i386").

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15817#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list