|
From: Philippe W. <phi...@sk...> - 2014-01-14 16:38:01
|
On Tue, 2014-01-14 at 11:29 -0500, Mike Shal wrote: > O > > Maybe you can do it with a shell-script wrapper? Eg: > > > run-me.sh: > > #! /bin/sh > > LD_PRELOAD=./libfakec.so ./myapp -e > > > Then run: > > valgrind --trace-children=yes ./run-me.sh I do not think so, as the trace-children=yes will cause the valgrind launcher to be relaunched to launch myapp. And this valgrind child will then use the problematic LD_PRELOAD library. Philippe |