mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-15 15:14:21 +00:00
On other arches stpcpy () is intercepted for both libc.so and ld.so. But not on arm64, where it is only intercepted for libc.so. This can cause memcheck warnings about the use of stpcpy () in ld.so when called through dlopen () because ld.so contains its own copy of that functions. Fix by introducing VG_Z_LD_LINUX_AARCH64_SO_1 (the encoded name of ld.so on arm64) and using that in vg_replace_strmem.c to intercept stpcpy. https://bugs.kde.org/show_bug.cgi?id=407307