http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341



--- Comment #25 from Kostya Serebryany <kcc at gcc dot gnu.org> 2012-12-19 
10:32:29 UTC ---

>> So, to fix this, either libasan should for memset ignore any diagnostics for

>> stores into shadow memory area, 



That's not a good choice. I remember actually catching a bug or two when a

program was reading wild addresses and hitting the shadow. 



>> or I'll need to force somehow that memset is never generated for it, 



This is imho the best choice. 



>> or we could have a non-instrumented memset alternative in libasan and we 
>> could call that.



That's doable too, although it will look strange and I'd prefer to avoid this.

Reply via email to