dilagurung / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

add memory sanitizer #384

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
msan is equivalent to valgrind memcheck - the most important sanitizer for 
libyuv.
msan is part of llvm/clang tool chain and works on multiple cpus and platforms.
one key advantage is performance.
memcheck is very slow, and libyuv unittests have been tuned to work with it.  
but given more performance, more exhaustive tests could be enabled.

The full list of sanitizers is
asan - address san
lsan - leak san
tsan - thread san
msan - memory san
ubsan - undefined behavior san

asan may be fast enough to consider for production code.

Original issue reported on code.google.com by fbarch...@google.com on 3 Dec 2014 at 7:27

GoogleCodeExporter commented 9 years ago
fix later.

Original comment by fbarch...@google.com on 9 Feb 2015 at 7:23