mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
problem which caused the leak checker to misbehave following recent PLT-bypass workaround. In short, it is an error to announce to the skin, segments found which belong to the low-level memory manager, because the skin may then mark them as accessible to the client. This is wrong, and the client should only acquire accessible memory via malloc etc and stack movement. Now we carefully avoid mentioning any segment belonging to the low level memory manager. Take the opportunity to improve VG_(within_m_state_static) so that it also detects pointers within the thread table. This can reduce the number of blocks the leak checker spuriously thinks are still reachable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1751