[valgrind] [Bug 411465] valgrind tools cannot depend on shared libraries, why does valgrind tool use static linked

2019-08-31 Thread may xu
https://bugs.kde.org/show_bug.cgi?id=411465

--- Comment #2 from may xu  ---
thank you very much

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 411465] valgrind tools cannot depend on shared libraries, why does valgrind tool use static linked

2019-08-31 Thread Mark Wielaard
https://bugs.kde.org/show_bug.cgi?id=411465

Mark Wielaard  changed:

   What|Removed |Added

 CC||m...@klomp.org
 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #1 from Mark Wielaard  ---
Best to discuss technical questions on the mailinglist.

But basically valgrind shares the address space with the process under
inspection. So using tools using shared libraries would share those with the
process under inspection (which might want to use a different version) and that
would prevent valgrind from instrumenting and analyzing those libraries. The
tools also need to be loaded before the dynamic linker, which is normally
responsible for loading shared libraries.

-- 
You are receiving this mail because:
You are watching all bug changes.