André Hentschel
2f5ba0d8c0
dbghelp: Fix typo in url.
2010-01-06 09:52:48 +01:00
André Hentschel
1f168cbd6e
dbghelp: Fix a typo.
2009-12-31 12:12:16 +01:00
Eric Pouech
878f287366
dbghelp: Silence a couple of FIXMEs for C++ code.
...
Reported by Jacek Caban.
2009-12-29 13:28:01 +01:00
Marcus Meissner
c39cd4c0ce
dbghelp: Initialize ret (Coverity).
2009-12-29 11:07:11 +01:00
Eric Pouech
bc38d3eaac
dbghelp: Add support for loading dwarf debug information out of PE images.
2009-12-24 12:15:41 +01:00
Eric Pouech
ed96e740e9
dbghelp: Add a couple of helpers to struct cpu to help adding the stack to minidump.
2009-12-23 14:27:29 +01:00
Eric Pouech
54766cdac0
dbghelp: Hacked a StackWalk implementation for x86_64.
2009-12-23 14:27:29 +01:00
Eric Pouech
7230659ce9
dbghelp: Create a cpu backend to store CPU dependent code, and use it for the i386 stack implementation.
2009-12-23 14:27:29 +01:00
Eric Pouech
2d85d5c235
dbghelp: Generalize helper to get a string from an ADDRESS64.
2009-12-22 15:39:20 +01:00
Eric Pouech
fdc86c1999
dbghelp: Rewrote stack_walk with 64 bit structures.
2009-12-22 15:39:01 +01:00
André Hentschel
255a1ebaad
dbghelp: Implement literal dwarf opcodes.
2009-12-21 15:01:24 +01:00
Eric van Beurden
fefd0cfda7
dbghelp: Fix a minidump crash by using the correct variable.
2009-12-18 12:49:46 +01:00
Huw Davies
34a961d3af
dbghelp: Fix compilation on OSX.
2009-12-16 12:20:31 +01:00
Marcus Meissner
6feb525bc7
dbghelp: Check for NULL return from process_find_by_handle (Coverity).
2009-12-15 16:09:11 +01:00
Eric Pouech
9500df82f1
dbghelp: Move the core of some line related functions to 64bit interface.
2009-12-15 11:58:39 +01:00
Eric Pouech
776e75e43c
dbghelp: Fix symt_find_nearest so that it searches for 64bit addresses on 64bit platforms.
2009-12-15 11:58:24 +01:00
Eric Pouech
7b83b70b06
dbghelp: Rewrite the symt* <=> index wrappers to that they work on 64bit platforms.
2009-12-15 11:57:33 +01:00
Eric Pouech
92b9b0940d
dbghelp: Wrap the symt* <=> index transformations.
2009-12-15 11:56:45 +01:00
Eric Pouech
07c1a1ca51
dbghelp: Fix module on which GetTypeFromName is done.
2009-12-15 11:56:18 +01:00
Eric Pouech
b4da46ebe8
dbghelp: A couple of fixes for dwarf2 support on a 64bit platform.
2009-12-14 12:29:14 +01:00
Eric Pouech
c6eb8104dd
dbghelp: Enforce using 64bit integers for module's address and size.
2009-12-14 12:28:54 +01:00
Eric Pouech
9ff52fb82c
dbghelp: Don't return error when validating a 64bit wide address on a 64bit platform.
2009-12-14 12:28:37 +01:00
Eric Pouech
02a70615f9
dbghelp: Add ELF support but for the current 32 vs 64 bit architecture.
2009-12-14 12:28:25 +01:00
Eric Pouech
114bb38cd8
dbghelp: Rewrote the SymRegisterCallback function so that they work on a 64bit platform.
2009-12-14 12:28:00 +01:00
Eric Pouech
b037912c9d
dbghelp: Fix a couple of casts on 64bit platforms.
2009-12-14 12:27:32 +01:00
Eric Pouech
c300f215b1
dbghelp: Make the module enumeration process compatible with 64bit platforms.
2009-12-14 12:26:51 +01:00
Alexandre Julliard
891d025639
dbghelp: Fix an invalid pointer cast.
2009-12-10 15:31:27 +01:00
Alexandre Julliard
7f88738fa6
dbghelp: Moved addr_to_linear() to stack.c.
2009-12-10 15:29:20 +01:00
Eric Pouech
185e5daed6
dbghelp: For mingw32 (stabs debug info), parse the FileHeader's symbol table to offset properly the global variables.
2009-12-10 11:53:57 +01:00
Marcus Meissner
30c1df4a08
dbghelp: Add a missing NULL check (Coverity).
2009-12-09 12:03:47 +01:00
Marcus Meissner
d6f78e4014
dbghelp: Check wImageName for NULL (Coverity).
2009-12-01 13:14:40 +01:00
Eric Pouech
db077e11ad
dbghelp: In dwarf parsing, allow 64 bit wide values.
2009-11-29 16:39:35 +01:00
Eric Pouech
ed786fbae4
dbghelp: Correctly compute offsets in line number information.
2009-11-23 10:36:09 +01:00
Eric Pouech
9d80b19e83
dbghelp: Revisit array len description for debug format parsers.
...
One can now pass -1 as array len so that its size will be computed
later on (useful for dealing with forward declarations where size is
not known at array definition).
2009-11-23 10:36:02 +01:00
Eric Pouech
68cc7d5875
dbghelp: Beef up SymRefreshModuleList.
2009-11-17 12:05:46 +01:00
Andrew Nguyen
44ac91d78d
dbghelp: Stub SymRefreshModuleList.
2009-11-16 17:04:48 +01:00
Eric Pouech
aa9002755a
dbghelp: Fix the threads stream size.
2009-11-13 13:37:51 +01:00
Eric Pouech
64144519a0
winedump, dbghelp: In .pdb files (>= VC2005), handle the case where the codeview_linetab2_file structure is not the first one.
2009-11-03 21:20:21 +01:00
Paul Bolle
4c97910387
dbghelp: elf_load_file: return if elf_map_file fails.
2009-10-28 14:28:38 +01:00
Eric Pouech
6a1b2a9ca5
dbghelp: Enhance support for constant values in dwarf debug information.
2009-10-05 14:56:24 +02:00
Louis Lenders
a6aa4e1357
dbghelp: Add version resource.
2009-08-27 15:41:12 +02:00
Jesse Litton
43a35958f6
dbghelp: Don't double memory allocation on every add.
2009-08-19 14:42:00 +02:00
Jacek Caban
1e23e88914
dbghelp: Check for NULL adt before using it in stabs_pts_read_aggregate.
2009-08-17 13:57:49 +02:00
Jacek Caban
4cc3ce923a
dbghelp: Use symt_get_name directly in stabs_pts_read_aggregate.
2009-08-17 13:57:49 +02:00
Jacek Caban
956eea6b31
dbghelp: Fixed buffer overflow in stabs_parse.
2009-08-17 13:57:49 +02:00
Jacek Caban
4e1a4ecc04
dbghelp: Improved arena allocation in pool_alloc.
2009-08-14 15:29:59 +02:00
Andrew Talbot
f4d2db4c54
dbghelp: Constify some variables.
2009-07-15 13:23:00 +02:00
Eric Pouech
f2b7ec1c2c
dbghelp: Fixed regressions introduced by growing arrays exponentially instead of linearly.
2009-07-14 15:16:08 +02:00
Andrew Talbot
c702da34da
dbghelp: Constify some variables.
2009-07-14 10:45:29 +02:00
Andrew Talbot
41ca9b0ffd
dbghelp: Constify some variables.
2009-07-13 10:24:56 +02:00
Alexandre Julliard
75792a3e69
dbghelp: Grow all arrays by doubling the size.
2009-07-10 14:46:55 +02:00
Eric Pouech
9c54158958
dbghelp: Added reference for MSVC 8.
...
A+
2009-06-29 13:14:04 +02:00
Eric Pouech
7fbcd11db8
dbghelp: When the CU is compiled with GCC, deal with some GCC extensions.
2009-06-29 13:13:50 +02:00
Eric Pouech
4008943502
dbghelp: Simplify the resort operation (module address table) by using binary insertion instead of resorting the whole array.
2009-06-26 12:01:07 +02:00
Eric Pouech
609ec7b11d
dbghelp: when (re)building the per module symbol table (lookup by address), no longer iterate over the hash table.
...
Directly add to the table when adding a new symbol.
2009-06-26 12:01:00 +02:00
Eric Pouech
dde39fddc5
dbghelp: Factorize symbol insertion into module by address table.
2009-06-26 12:00:38 +02:00
Eric Pouech
607a07f42a
dbghelp: When loading ELF public information, handle the cases when we don't get an address.
2009-06-26 12:00:25 +02:00
Alexandre Julliard
a5231a60a1
dbghelp: Fix detection of special Wine segments.
2009-06-25 11:45:24 +02:00
Eric Pouech
b37996305d
dbghelp: Improve speed of our hashtable implementation by remembering the last element added to every bucket.
2009-06-15 13:42:28 +02:00
Alexandre Julliard
bb2d643f49
dbghelp: Try to avoid crashing on unrecognized attributes.
2009-05-29 12:30:28 +02:00
Dmitry Timoshkov
d82df8f9b0
dbghelp: All parameters of MiniDumpReadDumpStream() except base are optional.
2009-05-21 16:17:51 +02:00
Ken Thomases
6903238948
dbghelp: Don't check version of Mach-O dyld_all_image_infos structure.
...
The structure has changed repeatedly, but always in a backward compatible way.
The version check was only hampering us.
2009-05-04 12:52:01 +02:00
Alexandre Julliard
329c22f323
dbghelp: Add a few more 64-bit symbol functions.
2009-04-23 12:41:29 +02:00
Ken Thomases
905ab99815
dbghelp/stabs: For Mach-O, line offset is relative to original function address.
2009-04-07 11:21:40 +02:00
Ken Thomases
31fd8dd763
dbghelp: Include Mach-O modules in minidumps.
2009-03-25 12:17:51 +01:00
Ken Thomases
3a96219d57
dbghelp/stabs: For Mach-O, line numbers use absolute address, not offset.
...
So, compute the offset by subtracting the function address.
2009-03-25 12:17:42 +01:00
Ken Thomases
feedbb1630
dbghelp: Recognize .dylib files as Mach-O modules.
2009-03-25 12:17:36 +01:00
Ken Thomases
d7466e0c4e
dbghelp: Add support for debugging Mach-O modules.
2009-03-25 12:17:29 +01:00
Ken Thomases
df0f32bbd9
dbghelp: Increase file read buffer size for calc_crc32.
2009-03-12 14:29:14 +01:00
Ken Thomases
637827a2d0
dbghelp: Extract calc_crc32 function into a separate file.
2009-03-12 14:29:03 +01:00
Ken Thomases
b8f6a68d6f
dbghelp: Rename some things to be less ELF-centric.
2009-03-12 13:09:56 +01:00
Ken Thomases
985f0ea18f
dbghelp/stabs: Track line numbers pending for an upcoming function.
...
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases
65d929079c
dbghelp/stabs: Allow pending list to include line numbers as well as variables.
...
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases
a1ac32822a
dbghelp/stabs: Extract growing of pending_block's buffer to pending_make_room().
2009-03-12 13:09:56 +01:00
Ken Thomases
615fff293a
dbghelp: Teach stabs_parse about other kinds of Mach-O symbol definitions.
2009-03-12 13:09:56 +01:00
Ken Thomases
3db11b98b7
dbghelp: Let stabs_parse call back for real (non-debug) symbol definitions.
2009-03-12 13:09:55 +01:00
Ken Thomases
82a3f8fcb2
dbghelp/stabs: Decode the Stabs type more carefully.
2009-03-12 13:09:55 +01:00
Ken Thomases
1ecd634c4b
dbghelp/stabs: Ignore the N_OSO type used on Darwin.
2009-03-12 13:09:55 +01:00
Ken Thomases
1f4ddbaed9
dbghelp/stabs: Translate additional register codes.
2009-03-12 13:09:55 +01:00
Alexandre Julliard
d2682f57f8
dbghelp: The main executable is now always named "wine".
2009-03-10 18:22:43 +01:00
Alexandre Julliard
020b3b5bdc
dbghelp: Define _IMAGEHLP_SOURCE_.
2009-03-09 13:26:57 +01:00
Austin English
28fe3f76c0
dbghelp: Change pointer cast to DWORD_PTR.
2009-02-23 13:14:18 +01:00
Alexandre Julliard
9a4e519aeb
dbghelp: Avoid size_t in a trace.
2009-02-12 17:53:35 +01:00
Eric Pouech
c83039bd6e
dbghelp: Fix bad call to free() instead of pdb_free().
2009-02-11 12:29:37 +01:00
Alexandre Julliard
0f3445d6db
dbghelp: Fix handling of empty file regexp (Coverity).
2009-02-09 14:37:22 +01:00
Andrew Talbot
5b60142f94
dbghelp: Remove unused function.
2009-02-05 13:13:58 +01:00
Alexandre Julliard
601a1364b9
dbghelp: Moved SymEnumLines to symbol.c to reuse the regex support.
2009-02-04 13:13:08 +01:00
Alexandre Julliard
768954b245
dbghelp: Fall back to string comparison if regex support is missing.
2009-02-04 13:02:08 +01:00
Alexandre Julliard
e9610f674c
dbghelp: Allocate enough memory initially for regexps instead of growing the buffer.
2009-02-04 13:00:31 +01:00
Alexandre Julliard
ae7490d362
dbghelp: Fix pool allocation routines to be able to support arbitrary sizes.
...
Also move full arenas to a separate list to avoid searching through
them again and again.
2009-02-04 12:27:36 +01:00
Marcus Meissner
54e8ecf1b0
dbghelp: Check for wImageName being NULL (Coverity).
2009-02-02 15:44:39 +01:00
Michael Stefaniuc
3c3a9b5081
dbghelp: Remove superfluous pointer casts.
2009-01-19 13:36:25 +01:00
Andrew Talbot
4c92ba2270
dbghelp: Declare some functions static.
2009-01-03 15:35:29 +01:00
Alexandre Julliard
6a548b1e9d
ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit.
2009-01-03 14:55:32 +01:00
Alexandre Julliard
fd2cb87c87
dbghelp: Make a function static.
2008-12-04 12:47:27 +01:00
Francois Gouget
9c5e97aa71
Assorted spelling fixes.
2008-11-24 14:25:10 +01:00
Kai Blin
4dedbd404c
dbghelp: Upgrade FIXME to ERR.
2008-11-24 14:18:41 +01:00
Ricardo Filipe
b5fcabb52c
dbghelp: Fixed dead store (llvm/clang).
2008-11-18 13:05:21 +01:00
Eric Pouech
9bac505f2a
dbghelp: Properly add CPU info to minidump.
2008-11-11 14:03:01 +01:00
Eric Pouech
fe734de8d9
dbghelp: Fix all forward declaration cases for UDT.
2008-11-10 11:59:21 +01:00