|
From: Илья Ш. <chi...@gm...> - 2017-12-29 11:16:18
|
2017-12-29 16:02 GMT+05:00 Antonio Quartulli <a...@un...>: > Hi, > > On 29/12/17 18:23, Steffan Karger wrote: > > Hi, > > > > On 29-12-17 11:11, Илья Шипицин wrote: > >> thank for the patch. > >> > >> not directly related to the patch itself, but openvpn is shipped with > >> several memory debugging options > >> > >> --with-mem-check=TYPE build with debug memory checking > >> > >> > >> should we get rid of them (in favour of sanitizers) ? or, maybe add to > >> tests instead ? > > > > I've tried to use those in the past, but found them hard to use. I > > think they're a remnant of the past. I would personally prefer to get > > rid of them and use the (nowadays much better) fully external memory > > checking tools instead (sanitizers, valgrind, etc). > > As Selva pointed out, we don't use --with-mem-check in any test, > therefore I am not even sure it still works as expected. > > I am also in favour in of getting rid of our custom made check and use > compilers provided sanitizers instead (also gcc provides interesting > sanitizers, thus everybody should be bale to enable them). > I played with those sanitizers, they are nice. But memory sanitizers are noisy on openssl. seem to need some work (either resolving issues on openssl side or muting them) > > Cheers, > > -- > Antonio Quartulli > > |