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
Andrew Talbot
dcb298b468
dbghelp: Exclude unused headers.
2007-05-01 11:42:24 +02:00
Andrey Turkin
234babeaf0
dbghelp: Zero-terminate module name in minidump.
2007-04-30 13:33:40 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Alexandre Julliard
9583c1137b
dbghelp: Don't print garbage chars in ERR message.
2007-04-23 15:11:58 +02:00
Andrew Talbot
a224fdb14e
dbghelp: Constify some variables.
2007-04-20 13:04:11 +02:00
Andrew Talbot
645d76f889
dbghelp: Constify some variables.
2007-04-19 11:56:30 +02:00
Andrew Talbot
099bb87feb
dbghelp: Constify some variables.
2007-04-18 13:00:57 +02:00
Andrew Talbot
6a23efdaa2
dbghelp: Replace inline static with static inline.
2007-03-21 16:02:57 +01:00
Alexandre Julliard
b677e81d8f
dbghelp: Avoid some warnings on Solaris.
2007-03-17 20:05:34 +01:00
Peter Oberndorfer
debcf7fa32
dbghelp: Use elf load_offset passed to dwarf2_parse to relocate addresses.
...
This is needed, because symbol addresses in dwarf2 debug info are already relocated.
2007-03-16 11:35:00 +01:00
Peter Oberndorfer
25203bd87e
dbghelp: Fix up load_offset to work in case the load offset is different for real binary and debug link file.
2007-03-16 11:34:47 +01:00
Peter Oberndorfer
7bbb212050
dbghelp: Initialize the elf_section_map in case of failures in elf_find_section.
...
Make sidx signed so sidx < 0 comparisons work.
(most of the patch written by Eric Pouech)
2007-03-16 11:34:33 +01:00
Eric Pouech
f1436139fc
dbghelp: Rewrote SymEnumerateModules with Unicode basis, and implemented SymEnumerateModulesW64.
2007-03-14 22:43:58 +01:00
Eric Pouech
9a0e666733
dbghelp: Renamed pe_load_module (resp pe_load_module_from_pcs)
...
to pe_load_native_module (resp pe_load_builtin_module) to better describe
what those functions actually do.
2007-03-13 21:07:47 +01:00
Eric Pouech
f2cfb374a4
dbghelp: Get rid of module_name in all traces (using Unicode flavor).
2007-03-13 21:02:42 +01:00
Eric Pouech
ade919c603
dbghelp: Cleanups for module loading (lookups on module name and image name are two different things)
...
- split up module_find_by_name in two different functions:
+ reused module_find_by_name which looks upon the module name
+ added module_is_already_loaded which looks upon the image name
- cleanup module loading using these functions (removed extra parameter
to pe_load_module_from_pcs)
2007-03-13 20:58:08 +01:00
Eric Pouech
59f93f64b7
dbghelp: Rewrote module_is_elf_container_loaded so that it no longer
...
uses the stored ModuleName (that the dbghelp's caller can override) but rather a
combination of base address and filename for the module.
2007-03-13 20:54:21 +01:00
Eric Pouech
a6a57c934c
dbghelp: Added helper to get the basename + extension from full filename.
2007-03-13 20:52:58 +01:00
Francois Gouget
7b89fb5e35
dbghelp: Check file handles against INVALID_HANDLE_VALUE, not NULL.
2007-03-08 21:31:00 +01:00
Eric Pouech
f4e129ab81
dbghelp: Fixes for loading circular references on function signature.
2007-03-05 12:15:31 +01:00
Eric Pouech
ccf0be8e57
dbghelp: Implemented SymEnumTypesW.
2007-03-05 12:15:16 +01:00
Eric Pouech
e161dd92ee
dbghelp: Handle the .gnu_debuglink files with the newly added alternate mechanism.
2007-02-26 14:39:52 +01:00
Eric Pouech
fc66bb37f4
dbghelp: Allow to add an alternate file_map for an ELF file (where to look for its debug information).
2007-02-26 14:39:38 +01:00
Eric Pouech
62b57f9e21
dbghelp: Rewrote the ELF section mapper for better data encapsulation.
2007-02-26 14:39:16 +01:00
Eric Pouech
8d3167cc9a
dbghelp: Merge the A/W of elf_map_file into a single one.
2007-02-22 12:34:09 +01:00
Eric Pouech
0c1e33bb06
dbghelp: Now load the .gnu_debuglink file using Unicode search paths.
2007-02-22 12:33:37 +01:00
Eric Pouech
4aab161297
dbghelp: Added helper to map a Unicode file.
2007-02-22 12:33:14 +01:00
Eric Pouech
3565d93ebe
dbghelp: Now moving the ELF loading code to Unicode.
2007-02-22 12:32:17 +01:00
Eric Pouech
c1269392e0
dbghelp: Move elf_fetch_file_info to Unicode.
2007-02-22 12:29:53 +01:00
Eric Pouech
039d54a4bf
dbghelp: Make elf_enum_modules a Unicode function.
2007-02-22 12:29:27 +01:00
Eric Pouech
89bc65695f
dbghelp: Now storing module internal info for minidumps in Unicode.
2007-02-22 12:28:59 +01:00
Eric Pouech
c0fa60f547
dbghelp: A few fixes related to Unicode translation.
2007-02-22 12:27:39 +01:00
Eric Pouech
1690cf1815
dbghelp: Moved the internals for registered callback to Unicode.
2007-02-22 12:27:16 +01:00
Eric Pouech
180127dd94
dbghelp: Get rid of temporary module_get_type_by_nameA.
2007-02-22 12:27:00 +01:00
Eric Pouech
2f0ed90c4e
dbghelp: Implemented SymFindFileInPathW.
2007-02-22 12:26:16 +01:00
Eric Pouech
9e1f9ec19e
dbghelp: Implemented SearchTreeForFileW.
2007-02-22 12:22:26 +01:00
Eric Pouech
c0be0032de
dbghelp: Implemented EnumDirTreeW.
2007-02-22 12:22:05 +01:00
Eric Pouech
8b861202ba
dbghelp: Implemented SymMatchFileNameW.
2007-02-22 12:21:40 +01:00
Eric Pouech
d707fe5ac3
dbghelp: Added module_get_type_by_name in Unicode form and keep the ANSI form for compatibility.
2007-02-22 12:21:14 +01:00
Eric Pouech
46684a9fb6
dbghelp: Moved ELF module loading interfaces to Unicode.
...
The core the code remains ANSI, as all the information is stored as ANSI.
2007-02-22 12:20:03 +01:00
Eric Pouech
6a859fb0e6
dbghelp: Move PE module loading to Unicode.
2007-02-22 11:41:15 +01:00
Eric Pouech
bcc1913354
dbghelp: Implemented FindExecutableImage[W].
2007-02-22 11:39:52 +01:00