Summary: | memcheck does not detect new/new[]/malloc-delete/delete[]/free mismatches in win32 apps | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Dan Kegel <dank> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | REPORTED --- | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch to add soname definitions for Visual C++ 2005 and 2008 |
Description
Dan Kegel
2009-12-06 18:25:16 UTC
Created attachment 38876 [details]
Patch to add soname definitions for Visual C++ 2005 and 2008
To intercept functions in msvcr90, you have to apply this
patch, download the .pdb file for msvcr90 by running an
app under windbg using the microsoft symbol server (it's worth
spending a day getting comfortable with windbg if you're
going to be hacking on this stuff), and then copying
that .pdb file into the same directory in ~/.wine where
msvcr90 lives (and giving it the same name as the .dll but with .pdb suffix).
You also have to build your test app with visual c++
(as valgrind can't handle the debugging info produced by mingw yet)
and use the /MD option to get it to use msvcr90.dll
(as visual c++'s default is to use a static C runtime library).
|