[tor-relays] running Tor relay live with AddressSanitizer

starlight.2013q4 at binnacle.cx starlight.2013q4 at binnacle.cx
Thu Oct 24 22:14:24 UTC 2013


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



More information about the tor-relays mailing list