1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-08-25 10:57:56 +00:00
Files
gnulib/lib/memchr2.valgrind
Eric Blake dcc2f67b6f memchr, memchr2: add valgrind exception
* lib/memchr.valgrind: New file.
* lib/memchr2.valgrind: New file.
* modules/memchr (Files): Distribute valgrind file.
* modules/memchr2 (Files): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
2009-06-15 21:05:08 -06:00

15 lines
411 B
Plaintext

# Suppress a valgrind message about use of uninitialized memory in memchr2().
# Like memchr, it is safe to overestimate the length when the terminator
# is guaranteed to be found. In this case, we may end up reading a word
# that is partially uninitialized, but this use is OK for a speedup.
{
memchr2-value4
Memcheck:Value4
fun:memchr2
}
{
memchr2-value8
Memcheck:Value8
fun:memchr2
}