[tor-dev] small patch to allow gcc -fno-common for better ASAN coverage

starlight.2015q2 at binnacle.cx starlight.2015q2 at binnacle.cx
Tue Jun 23 18:55:03 UTC 2015


Per 

https://code.google.com/p/address-sanitizer/wiki/Flags

one benefits from compiling with -fno-common
when -fsanitize=address is active

The attached patch converts the single
common variable to a global/extern
variable.

Seems a good idea to me.  Have run this
with no issues, but more ASAN
coverage is better than less.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: permit_gcc_fnocommon_4_asan.patch
Type: application/octet-stream
Size: 689 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20150623/b9284ba1/attachment.obj>


More information about the tor-dev mailing list