Page MenuHomePhabricator

memchr.valgrind
No OneTemporary

Size
426 B
Referenced Files
None
Subscribers
None

memchr.valgrind

# 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
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 10, 8:07 AM (4 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1256567
Default Alt Text
memchr.valgrind (426 B)

Event Timeline