VirtualBox

source: kBuild/vendor/grep/2.12/lib/memchr.valgrind@ 3576

Last change on this file since 3576 was 2595, checked in by bird, 13 years ago

gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)

File size: 426 bytes
Line 
1# Suppress a valgrind message about use of uninitialized memory in memchr().
2# POSIX states that when the character is found, memchr must not read extra
3# bytes in an overestimated length (for example, where memchr is used to
4# implement strnlen). However, we use a safe word read to provide a speedup.
5{
6 memchr-value4
7 Memcheck:Value4
8 fun:rpl_memchr
9}
10{
11 memchr-value8
12 Memcheck:Value8
13 fun:rpl_memchr
14}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette