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

[tor-relays] running Tor relay live with AddressSanitizer



Has anyone tried running a live relay with
an image built using GCC 4.8 and
-fsanitize=address?

AddressSanitizer documentation says it should
be no worse than about x4 on CPU and typically
about x2, so it looks reasonable to try.
I'm seeing peak CPU of about 7-8% of a 2.2GHz
AMD core.

I'd probably create a static build, with
'libevent' and 'tor' compiled using

  -fsanitize=address -O1 -fno-omit-frame-pointer -g

per the Google documentation and 'libz' compiled
normally since 'zlib' is stable and mature.

Any thoughts or experience?

Thanks

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays