Commit Graph

389 Commits

Author SHA1 Message Date
Rob Shearman 5dd2f1efa8 Include config.h and wine/port.h in files that use snprintf. 2008-02-29 12:39:28 +01:00
Rob Shearman 97a9ca3f4a dbghelp: Define NONAMELESSUNION in dwarf.c and type.c as they access VARIANT fields directly. 2008-02-28 10:50:57 +01:00
Rob Shearman f21b91c0a2 dbghelp: Fix read beyond end of field in module_get_debug. 2008-02-21 20:16:04 +01:00
Rob Shearman 5e1976368a dbghelp: VARIANT unions are accessed by name in msc.c so define NONAMELESSUNION. 2008-02-21 20:15:59 +01:00
Andrew Talbot 6733c6bad0 dbghelp: Assign to struct instead of using memcpy. 2008-02-15 11:09:34 +01:00
Rob Shearman f48941a2a8 dbghelp: Fix a typo in SymLoadModuleExW that caused the wrong number of characters to be passed to lstrcpynW. 2008-02-15 11:03:42 +01:00
Eric Pouech 4823663957 dbghelp: Fix erroneous access to dwarf symbol cache.
(Spotted by Dan Kegel with valgrind).
2008-02-12 22:40:46 +01:00
Eric Pouech 62634b8025 dbghelp: Disable the S_PUB_FUNC_XXX msc symbols until we know what they do (the first guess is wrong anyway). 2008-02-07 11:59:52 +01:00
Eric Pouech ee1a9af0ce dbghelp: When sending back information about a global symbol, only demangle the class & field/method name. 2008-02-07 11:59:52 +01:00
Eric Pouech 43afc9178b dbghelp: Attempt to cache some basic symbol types for easier and faster code. 2008-02-07 11:59:52 +01:00
Eric Pouech 75803e9448 dbghelp: Extended the internal enumeration information so that we know the underlying integral type. 2008-02-07 11:59:52 +01:00
Eric Pouech 752a260402 dbghelp: Added basic support for base class information.
As we don't support C++ for now, we just return FALSE for all cases.
2008-02-07 11:59:52 +01:00
Eric Pouech a4dfe1b042 dbghelp: Added support for labels outside functions (and used it in msc parsing). 2008-02-07 11:59:52 +01:00
Eric Pouech aaa2862bf9 dbghelp: Added preliminary support for a strange stack variable object. 2008-02-07 11:59:52 +01:00
Eric Pouech 22f01fcc48 dbghelp: Added support for register v3 in msc. 2008-02-07 11:59:52 +01:00
Eric Pouech ac3b817d80 dbghelp: Added support for some V3 fields in structure parsing. 2008-02-07 11:59:52 +01:00
Eric Pouech b49d2b4e22 dbghelp: Added HRESULT as new basic type (and some doc about basic types ids). 2008-02-07 11:59:52 +01:00
Eric Pouech 464d51e75a dbghelp: Pass the 'details' flags to _fetch_type so that we can simplify some code around. 2008-02-07 11:59:52 +01:00
Eric Pouech 428d0e5464 dbghelp: Added missing basic types for booleans and integers. 2008-02-07 11:59:52 +01:00
Eric Pouech 8b7039d894 dbghelp: Fixed the types we want to load at first. 2008-02-05 11:13:47 +01:00
Eric Pouech 7b81ea47c6 dbghelp: Store the PE version information in module block. 2008-02-04 12:46:12 +01:00
Eric Pouech 8e45b07483 dbghelp: Removed double assignment of checksum. 2008-02-04 12:45:44 +01:00
Eric Pouech 04c0ffdc47 dbghelp: Fixed the suspend count when creating a minidump in the middle of an exception. 2008-02-04 12:45:37 +01:00
Eric Pouech ecdbae7ceb dbghelp: Return the size of each directory instead of passing a pointer to it. 2008-02-04 12:45:27 +01:00
Eric van Beurden cb9596484d dbghelp: Prevent huge minidumps by ensuring the memory range is clamped. 2008-01-18 12:39:13 +01:00
Eric van Beurden 692998292c dbghelp: Fix file searching to search only listed directories instead of the whole HD. 2008-01-18 12:25:20 +01:00
Eric van Beurden ebc35e688c dbghelp: Some minidump corrections so that windbg can read our minidump files. 2008-01-18 12:25:05 +01:00
Eric van Beurden e254a1d929 dbghelp: Wrap TRACE strings using the debugstr functions and update some type casting. 2008-01-18 12:18:20 +01:00
Eric van Beurden a5a35ec211 dbghelp: Return TRUE in SymInitializeW if process is already initialized and add an ERR to SymCleanup. 2008-01-18 12:16:23 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Eric Pouech b32cfb18cd dbghelp: In Minidump, change a couple of internal names for consistency. 2008-01-14 13:36:42 +01:00
Eric Pouech 2af9736fbb dbghelp: Silence superfluous message (spotted by Robert Reif). 2008-01-14 13:36:38 +01:00
Andrey Turkin 9e2c76c6d4 dbghelp: Implement ImageDirectoryEntryToDataEx. 2008-01-11 13:43:44 +01:00
Andrew Talbot 159672d01c dbghelp: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrey Turkin a38cd7ac01 dbghelp: Treat const addresses as const unsigned.
This will prevent winedbg from spamming about __wine_dbch__default.
2007-12-26 14:02:22 +01:00
Andrey Turkin 33df0a7605 dbghelp: Adjust minidump streams ordering and sizing.
To more closely match native format; this is required for windbg.
2007-12-23 13:55:22 +01:00
Detlef Riekenberg efb13b28df Assorted spelling fixes. 2007-12-08 19:55:39 +01:00
Andrew Talbot f2223dbe79 dbghelp: Remove unneeded casts. 2007-12-05 12:04:48 +01:00
Vitaliy Margolen dfe21d0ef5 dbghelp: Fix detection of ELF libs by their name. 2007-10-29 13:58:35 +01:00
Andrey Turkin 4c8e88df7e dbghelp: Avoid crashing on files with bogus export table. 2007-10-10 11:18:26 +02:00
Francois Gouget a399e3bcc4 dbghelp: Fix the PENUMLOADED_MODULES_CALLBACK() prototype. 2007-09-18 11:21:21 +02:00
Francois Gouget 9d2f48dc0f dbghelp: Better match the PSDK types, especially with regards to constness.
Also add a number of missing prototypes, especially 64bit or Unicode
versions of existing prototypes, and the related structures.  Update
win32.api to fix the winapi_check warnings.
2007-08-03 12:43:40 +02:00
Andrew Talbot f8198e6688 dbghelp: Cast-qual warnings fix. 2007-07-20 11:46:04 +02:00
Michael Stefaniuc f59c8a688f dbghelp: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:40 +02:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Peter Oberndorfer b19fa1d282 dbghelp: Minor cleanup. 2007-05-17 12:44:50 +02:00
Markus Amsler 6f8a67f018 dbghelp: Late init hash_table. 2007-05-15 20:20:07 +02:00
Markus Amsler 8bc839a816 dbghelp: Speed up vector iteration by directly using for(). 2007-05-15 20:19:53 +02:00
Markus Amsler a2968c8fab dbghelp: Speed up pool_alloc. Patch by Eric Pouech. 2007-05-15 20:19:36 +02:00
Markus Amsler f94127f2ca dbghelp: Speed up vector_add by avoiding pool_realloc calls. Remove no longer needed pool_realloc. 2007-05-15 20:19:28 +02:00