File: memchr.valgrind

package info (click to toggle)
mailutils 1%3A3.10-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 35,456 kB
  • sloc: ansic: 174,703; sh: 100,179; yacc: 7,596; cpp: 3,834; makefile: 3,019; lex: 1,993; python: 1,616; exp: 1,276; awk: 152; lisp: 132; sed: 31
file content (14 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (492)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}