]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Add ppc64le linux hardwire for ld64.so.2 strcmp
authorMark Wielaard <mark@klomp.org>
Mon, 18 Aug 2025 13:30:47 +0000 (15:30 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 18 Aug 2025 13:30:47 +0000 (15:30 +0200)
commit78fe3625f6b8ed4de28527d71c4a98d70e5b3035
tree5a5f5febec7642d4a69a6c0bdf58655855395658
parent981db2c7289d4318a6c5a83eedf3607b27377d05
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
coregrind/m_redir.c
coregrind/m_trampoline.S
coregrind/pub_core_trampoline.h