xref: /dragonfly/contrib/grep/lib/memchr2.valgrind (revision 8edfbc5e)
1# Suppress a valgrind message about use of uninitialized memory in memchr2().
2# Like memchr, it is safe to overestimate the length when the terminator
3# is guaranteed to be found.  In this case, we may end up reading a word
4# that is partially uninitialized, but this use is OK for a speedup.
5{
6    memchr2-value4
7    Memcheck:Value4
8    fun:memchr2
9}
10{
11    memchr2-value8
12    Memcheck:Value8
13    fun:memchr2
14}
15