]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Add ppc64le linux hardwire for ld64.so.2 strcmp VALGRIND_3_25_BRANCH
authorMark Wielaard <mark@klomp.org>
Mon, 18 Aug 2025 13:30:47 +0000 (15:30 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 15 Sep 2025 23:07:23 +0000 (01:07 +0200)
commit37d454721a6e3c2c54303bbcb35f0124de9bb51e
tree0a23f62e464b3c22058f6eda97a597297de56ec7
parent5c912fcfaff2c7c34232562a118fa5722c6df995
Add ppc64le linux hardwire for ld64.so.2 strcmp

When dlopen is used we might end up in an assembly powerpc/strcmp.S
variant that is optimized in a way memcheck cannot proof correct. We
try to intercept strcmp in ld.so, but might fail when strcmp is called
before our interception code is loaded. Having an hardwire for ld.so
strcmp (earlier intercept) would solve this.

https://bugs.kde.org/show_bug.cgi?id=508145

(cherry picked from commit 78fe3625f6b8ed4de28527d71c4a98d70e5b3035)
NEWS
coregrind/m_redir.c
coregrind/m_trampoline.S
coregrind/pub_core_trampoline.h