mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Leaving it in place for 11 (which is now EOL) and 12 - not woth the complexity for them. Improve comment for supporession. Also add a pointer to the illumos source web page for lwp_unlock_mutex in case the syswrap ever needs improving.
55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
# Suppressions for FreeBSD / Memcheck
|
|
|
|
# This is a workaround for a bug in rtld / sysctl hw.pagesizes
|
|
# it was fixed in May 2020 in the kernel
|
|
# removing it means either waiting for 12-RELEASE EOL
|
|
# or some tricky kernel detection in configure.ac
|
|
{
|
|
MEMCHECK-RTLD-32ON64
|
|
Memcheck:Addr4
|
|
fun:memcpy
|
|
fun:elf_aux_info
|
|
}
|
|
{
|
|
MEMCHECK-RTLD-COND
|
|
Memcheck:Cond
|
|
obj:/libexec/ld-elf*.so.1
|
|
}
|
|
{
|
|
MEMCHECK-RTLD-32ON64-ADDR4
|
|
Memcheck:Addr4
|
|
obj:/libexec/ld-elf32.so.1
|
|
obj:/libexec/ld-elf32.so.1
|
|
}
|
|
{
|
|
MEMCHECK-LIBC-REACHABLE-1
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:malloc
|
|
obj:*/lib*/libc.so.7
|
|
obj:*/lib*/libc.so.7
|
|
obj:*/lib*/libc.so.7
|
|
fun:vfprintf_l
|
|
}
|
|
# clang only, should check that this is not a genuine error
|
|
{
|
|
MEMCHECK-POSIX-FADVISE
|
|
Memcheck:Cond
|
|
fun:posix_fadvise
|
|
}
|
|
{
|
|
MEMCHECK-POSIX-FALLOCATE
|
|
Memcheck:Cond
|
|
fun:posix_fallocate
|
|
}
|
|
{
|
|
MEMCHECK-LIBX-REACHABLE-2
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:malloc
|
|
obj:/lib/libc.so.7
|
|
obj:/lib/libc.so.7
|
|
obj:/lib/libc.so.7
|
|
fun:fwrite
|
|
}
|