[Bug 14364] New: enhance loader and wine_main_preload_info for valgrind

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 8 12:13:33 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14364

           Summary: enhance loader and wine_main_preload_info for valgrind
           Product: Wine
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: loader
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: jreiser at BitWagon.com


Created an attachment (id=14661)
 --> (http://bugs.winehq.org/attachment.cgi?id=14661)
loader co-operates with valgrind about wine_main_preload_info

wine-loader can co-operate with valgrind and other debugging tools.

1) New Elf32_auxv_t tag AT_WINE_PRELOAD_INFO for when symbol
wine_main_preload_info is not visible, especially valgrind tools.  binutils is
not  your friend: "ld: --export-dynamic fails if no undefined symbols"
http://sourceware.org/bugzilla/show_bug.cgi?id=6468
2) Store pathname of pre-loader at end of wine_main_preload_info, in the .addr
of the terminating 0==.size.  This allows easy co-operation with valgrind tools
and other debuggers.
3) Pending linux kernel patch for Elf32_auxv_t tag AT_EXECFN simplifies
co-operation and virtualization in general.  LKML, 2008-05-01,
"execve filename: document and export via auxiliary vector".

Patch is attached, and will be sent to wine-patches at winehq.org.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list