mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 12:44:45 +00:00
For whatever reason, ld-2.3.2.so (ld-linux.so.2) seems to have its own
PLT-bypassed versions of stpcpy and strchr. Subvert them. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2140
This commit is contained in:
parent
79c85b65bf
commit
22fd0f99dc
@ -2176,6 +2176,11 @@ void VG_(setup_code_redirect_table) ( void )
|
||||
*/
|
||||
VG_(add_redirect_sym)("soname:libc.so.6", "stpcpy",
|
||||
"*vgpreload_memcheck.so*", "stpcpy");
|
||||
|
||||
VG_(add_redirect_sym)("soname:ld-linux.so.2", "stpcpy",
|
||||
"*vgpreload_memcheck.so*", "stpcpy");
|
||||
VG_(add_redirect_sym)("soname:ld-linux.so.2", "strchr",
|
||||
"*vgpreload_memcheck.so*", "strchr");
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user