https://bugs.kde.org/show_bug.cgi?id=434849

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@klomp.org

--- Comment #2 from Mark Wielaard <m...@klomp.org> ---
This is done deliberately, see coregrind/m_initimg/initimg-linux.c
(setup_client_stack):

         case AT_SYSINFO_EHDR: { 
            /* Trash this, because we don't reproduce it */ 
            const NSegment* ehdrseg =
VG_(am_find_nsegment)((Addr)auxv->u.a_ptr); 
            vg_assert(ehdrseg); 
            VG_(am_munmap_valgrind)(ehdrseg->start, ehdrseg->end -
ehdrseg->start); 
            auxv->a_type = AT_IGNORE; 
            break; 
         } 

So the application should use actual syscalls instead of using that magic vdso
page when running under valgrind.

Is there a reason you need AT_SYSINFO_EHDR?

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

Reply via email to