1 # Valgrind does not recognize the ashmen ioctl() calls on ARM64, so it assumes that a size
2 # parameter is a pointer.
9 fun:ashmem_create_region
12 # It seems that on ARM64 Valgrind considers the canary value used by the Clang stack protector to
13 # be an uninitialized value.
15 jemalloc chunk_alloc_cache
17 fun:je_chunk_alloc_cache
20 # The VectorImpl class does not hold a pointer to the allocated SharedBuffer structure, but to the
21 # beginning of the data, which is effectively an interior pointer. Valgrind has limitations when
22 # dealing with interior pointers.
26 match-leak-kinds:possible
28 # The wildcards make this rule work both for 32-bit and 64-bit environments.
29 fun:_ZN7android12SharedBuffer5allocE?
30 fun:_ZN7android10VectorImpl5_growE??
33 # Clang/LLVM uses memcpy for *x = *y, even though x == y (which is undefined behavior). Ignore.
34 # b/29279679, https://llvm.org/bugs/show_bug.cgi?id=11763
40 fun:je_malloc_tsd_boot0
43 # Setenv is known-leaking when overwriting mappings. This is triggered by re-initializing
44 # ANDROID_DATA. Ignore all setenv leaks.
46 SetenvAndroidDataReinit
48 match-leak-kinds: definite
56 match-leak-kinds: definite
59 fun:_ZN3art7Runtime17InitNativeMethodsEv
62 # art::MemMap::MapInternal() uses msync() to check for the existence of memory mappings.
64 art::MemMap::MapInternal()
68 fun:_ZN3art6MemMap11MapInternalEPvmiiilb