diff options
Diffstat (limited to 'gnulib/lib/memchr.valgrind')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/lib/memchr.valgrind | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/lib/memchr.valgrind b/gnulib/lib/memchr.valgrind new file mode 100644 index 0000000..60f247e --- /dev/null +++ b/gnulib/lib/memchr.valgrind @@ -0,0 +1,14 @@ +# Suppress a valgrind message about use of uninitialized memory in memchr(). +# POSIX states that when the character is found, memchr must not read extra +# bytes in an overestimated length (for example, where memchr is used to +# implement strnlen). However, we use a safe word read to provide a speedup. +{ + memchr-value4 + Memcheck:Value4 + fun:rpl_memchr +} +{ + memchr-value8 + Memcheck:Value8 + fun:rpl_memchr +} |