Marcus Meissner
|
0d198362aa
|
dbghelp: Fixed pasted size error (Coverity).
|
2011-02-23 15:01:27 +01:00 |
Alexandre Julliard
|
daab2c114d
|
dbghelp: Fix an uninitialized return value.
|
2011-01-31 15:36:23 +01:00 |
Eric Pouech
|
935ac12d04
|
dbghelp: Properly declare variables with thread storage from codeview debug format.
|
2011-01-31 14:30:25 +01:00 |
Eric Pouech
|
031cce8e77
|
dbghelp: Added support for variables in thread storage.
|
2011-01-31 14:30:13 +01:00 |
Alexandre Julliard
|
16a2ea5c8f
|
dbghelp: Use wine64 as loader name on 64-bit.
|
2011-01-28 11:57:46 +01:00 |
Alexandre Julliard
|
3bae7d0383
|
dbghelp: Add a helper function to determine the name of the wine loader.
|
2011-01-28 11:41:14 +01:00 |
Alexandre Julliard
|
9926ca771b
|
dbghelp: Use Dwarf debug info even when part of it is missing.
|
2011-01-24 15:52:42 +01:00 |
Eric Pouech
|
67a55feeaf
|
dbghelp, winedump: Added definition for S_FRAMEPROC_V2 symbol (CodeView).
|
2011-01-19 12:25:05 +01:00 |
Eric Pouech
|
60fbda43cb
|
dbghelp: Use AT_range attribute (for function, block... addresses) when AT_low_pc and AT_high_pc are not present.
|
2011-01-19 12:24:42 +01:00 |
Eric Pouech
|
e72d5d6de4
|
dbghelp: When failing to look up for a PDB file, don't keep a module format object around.
|
2011-01-18 12:36:36 +01:00 |
Eric Pouech
|
711f71639d
|
dbghelp: Get stream indexes out of PDB files (instead of hardwired values).
|
2011-01-18 12:36:30 +01:00 |
Eric Pouech
|
8595f6c652
|
dbghelp: Add support for stream lookup by name in PDB files and use it for strings stream.
|
2011-01-18 12:36:21 +01:00 |
Alexandre Julliard
|
cf1cd33570
|
dbghelp: Support pointer types of various sizes.
|
2011-01-13 20:09:49 +01:00 |
Alexandre Julliard
|
530e9c9b17
|
dbghelp: Try to load the string table from file number 4 too.
|
2011-01-12 10:45:49 +01:00 |
Eric Pouech
|
c7c8c0dea7
|
dbghelp: Speed up source string creation (by using rb trees).
|
2011-01-10 13:03:52 +01:00 |
Eric Pouech
|
cbd5811e90
|
dbghelp: Better support for OOM conditions when creating source file table.
|
2011-01-10 13:03:52 +01:00 |
Eric Pouech
|
99439e7589
|
dbghelp: Added preliminary extended FPO information out of PDB files.
|
2011-01-10 12:52:18 +01:00 |
Eric Pouech
|
5ce195ae89
|
dbghelp: Keep the mapping of any PDB file open until the module is unloaded.
|
2011-01-10 12:52:11 +01:00 |
Eric Pouech
|
0693572e4c
|
dbghelp: Use new file/debug format framework to allow keeping pdb files opened.
|
2011-01-10 12:52:01 +01:00 |
Eric Pouech
|
1acbb1c0ed
|
dbghelp: Restructure internal PDB information.
|
2011-01-10 12:51:39 +01:00 |
Gerald Pfeifer
|
061b50eda5
|
dbghelp: Also return a value in an error case in elf_map_file_read.
|
2011-01-03 11:54:03 +01:00 |
Gerald Pfeifer
|
8f7d06b69b
|
dbghelp: Make ehdr_addr in elf_enum_modules_internal dependent on AT_SYSINFO_EHDR.
|
2010-12-29 11:59:33 +01:00 |
Eric Pouech
|
1966ba8b7f
|
dbghelp: For targets on Linux, report the VDSO system page as a known ELF module.
|
2010-12-28 11:18:33 +01:00 |
Eric Pouech
|
749dafd987
|
dbghelp: Extend elf_map_file so that it can also handle ELF maps directly from debuggee address space.
|
2010-12-28 11:16:07 +01:00 |
Eric Pouech
|
737b5b95bb
|
dbghelp: Use pread instead of read in elf_map_file.
|
2010-12-28 11:15:24 +01:00 |
Eric Pouech
|
655247354a
|
dbghelp: Split elf_load_file into two functions (one for creating a file-map, another one for loading info out of a file-map).
|
2010-12-28 11:15:06 +01:00 |
Eric Pouech
|
8740f1dc1e
|
dbghelp: Factorize a bit the ELF enumeration callbacks.
|
2010-12-28 11:14:43 +01:00 |
Eric Pouech
|
cf06ef640d
|
dbghelp: Fix ELF file computation on 64bit systems.
|
2010-12-27 11:47:51 +01:00 |
André Hentschel
|
a4c1b34146
|
dbghelp: Implement arm_get_addr.
|
2010-10-15 11:32:44 +02:00 |
Eric Pouech
|
8d981b87f1
|
dbghelp: Proper support and definition for S_REGREL_V3.
|
2010-10-11 17:11:24 +02:00 |
Eric Pouech
|
fac5abc551
|
dbghelp: Ensure the stab_nlist structure is usable on 64bit systems.
|
2010-10-11 17:11:24 +02:00 |
Eric Pouech
|
854379bbaa
|
dbghelp: Fix some relocation errors for debug formats out of ELF files.
|
2010-10-11 17:11:24 +02:00 |
Eric Pouech
|
922caac23b
|
dbghelp: Compute ELF load address using the link_map ld's address (and get correct relocation computation).
|
2010-10-11 17:11:24 +02:00 |
Eric Pouech
|
2662ed10c8
|
dbghelp: When enumerating loaded modules from r_debug structure, pass the address of the dynamic section as well.
|
2010-10-11 17:11:24 +02:00 |
Eric Pouech
|
2a87a89680
|
dbghelp: Only map an ELF file once.
|
2010-10-11 17:11:17 +02:00 |
Eric Pouech
|
580cab9d8b
|
dbghelp: A couple of fixes for 64bit msvc debug info compatibility.
|
2010-10-11 17:08:13 +02:00 |
Eric Pouech
|
b164155447
|
dbghelp: Added a couple of missing CodeView base types (used in 64bit compilation).
|
2010-10-11 17:08:13 +02:00 |
Eric Pouech
|
229d753bc9
|
dbghelp: Some more 64bit base address fixes.
|
2010-10-11 17:07:57 +02:00 |
Eric Pouech
|
1e141eee4f
|
dbghelp: Allow loading PE module with 64bit addresses.
|
2010-10-11 12:54:18 +02:00 |
Austin English
|
95740b30b9
|
dbghelp: Fix compile on Hurd.
|
2010-10-08 11:56:46 +02:00 |
Paul Vriens
|
5da1ecef3a
|
dbghelp: Fix use of GetProcessHeap.
|
2010-09-21 17:53:55 +02:00 |
André Hentschel
|
9a1103112e
|
dbghelp: Add ARM support.
|
2010-09-20 12:58:56 +02:00 |
Alexandre Julliard
|
81b8ee863e
|
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
|
2010-09-19 12:36:48 +02:00 |
Eric Pouech
|
1e12e90cc9
|
dbghelp: Fix regression with prevented StackWalk on i386 CPU to be called with a NULL context.
|
2010-09-13 11:01:38 -05:00 |
Alexandre Julliard
|
352a876f91
|
dbghelp: Use int64 in the spec file for 64-bit integers.
|
2010-08-31 14:23:48 +02:00 |
Andrew Talbot
|
4e4948cfbf
|
dbghelp: Constify some variables.
|
2010-08-30 15:38:56 +02:00 |
Andrew Talbot
|
9738f40e79
|
dbghelp: Remove unused functions.
|
2010-08-30 11:26:29 +02:00 |
Eric Pouech
|
63c7ea6494
|
dbghelp: Use virtual size (not raw/file size) when getting the size of a PE section.
|
2010-08-30 11:26:29 +02:00 |
Eric Pouech
|
1e0af22ad2
|
dbghelp: dwarf debug info: a few more fixes to dwarf parsing.
|
2010-08-26 12:42:15 +02:00 |
Austin English
|
e92a552dca
|
dbghelp: Add initial Sparc CPU support.
|
2010-08-23 13:41:17 +02:00 |
Jacek Caban
|
1a1ffe60fd
|
dbghelp: Silence template related dwarf FIXMEs.
|
2010-08-16 17:28:58 +02:00 |
Alexandre Julliard
|
b86d515ed6
|
dlls: Remove explicit imports of kernel32 and ntdll.
|
2010-07-21 17:38:36 +02:00 |
Eric Pouech
|
1783631f55
|
dbghelp: Added support for CFA save/restore operation.
|
2010-07-05 12:59:47 +02:00 |
Eric Pouech
|
5afe16621b
|
dbghelp: Parse correctly DW_LNE_set_discriminator.
|
2010-06-28 16:58:38 +02:00 |
Eric Pouech
|
b6c8b8959b
|
dbghelp: When unwinding i386 stacks, update CONTEXT with sp/bp/ip.
|
2010-06-28 16:58:05 +02:00 |
Eric Pouech
|
1c037bf564
|
dbghelp: Correctly handle the RULE_EXPRESSION when computing CFA in dwarf debug info.
|
2010-06-28 12:14:13 +02:00 |
Eric Pouech
|
b38cddf484
|
dbghelp: Set the correct word size when unwinding stacks with Dwarf debug info.
|
2010-06-28 12:14:04 +02:00 |
Eric Pouech
|
3ced7b8f40
|
dbghelp: Ensure we can try to load COFF symbols if none is found in other debug formats.
|
2010-06-28 11:42:28 +02:00 |
Eric Pouech
|
d97e6a47e5
|
dbghelp: Test validity of COFF symbol table against file size (and not image size).
|
2010-06-28 11:42:23 +02:00 |
Eric Pouech
|
1f5ff75107
|
dbghelp: Fix the localization of section table while loading COFF information.
|
2010-06-28 11:42:18 +02:00 |
Paul Chitescu
|
61a9eef9a1
|
dbghelp: Provide a non-NULL number of bytes read to ReadProcessMemoryProc64 callback.
|
2010-06-28 11:42:02 +02:00 |
Francois Gouget
|
7649c75b40
|
Assorted typo and spelling fixes.
|
2010-06-24 10:37:05 +02:00 |
Eric Pouech
|
083eca072d
|
dbghelp: Properly manage in dbghelp interfaces local variables and parameters that are constant.
|
2010-06-08 12:59:26 +02:00 |
Eric Pouech
|
99a5488a18
|
dbghelp: Ensure that local variables and parameter actually have a container.
|
2010-06-08 12:59:17 +02:00 |
Eric Pouech
|
8c7cc491ab
|
dbghelp: In dwarf parser, properly handle array without size specified.
|
2010-06-08 12:59:13 +02:00 |
Marcus Meissner
|
4f2e15d053
|
dbghelp: Add 2 new darf defines and implement DW_OP_stack_value.
|
2010-06-07 15:26:12 +02:00 |
André Hentschel
|
64951f7110
|
dbghelp: Use the available PowerPC functions.
|
2010-05-28 16:22:26 +02:00 |
Gerald Pfeifer
|
72216a604d
|
dbghelp: Remove variable basic_block which is not really used from dwarf2_parse_line_numbers.
|
2010-05-26 10:14:46 +02:00 |
Eric Pouech
|
516fc78a2b
|
dbghelp: Protect PE's COFF table reading against bogus values in NTHEADER.
|
2010-05-10 13:43:58 +02:00 |
Eric Pouech
|
e520605fa9
|
dbghelp: When trying to enumerate locals & parameters with SymEnumSymbols, don't return a global or public symbol when the nearest symbol of the current context isn't a function.
|
2010-04-08 12:28:53 +02:00 |
Eric Pouech
|
196f8f070d
|
dbghelp: Added support for DW_CFA_GNU_args_size.
|
2010-04-07 13:50:35 +02:00 |
Eric Pouech
|
a185435243
|
dbghelp: When handling a P augmentation in FDE/DIE parsing, throw away the DW_EH_indirect flag, as we don't handle the result.
It's needed as long as we don't support DW_EH_indirect while reading encoded values.
|
2010-04-02 10:35:21 +02:00 |
Eric Pouech
|
1b68d4e7ce
|
dbghelp: Extend dwarf stack unwinding by reading information out of .debug_frame sections.
Implement dwarf stack unwinding for i386 CPU.
|
2010-04-02 10:35:02 +02:00 |
Eric Pouech
|
34ef8d2113
|
dbghelp: Store delta used for re-locating a module.
|
2010-04-02 10:34:37 +02:00 |
Eric Pouech
|
51bce9b049
|
dbghelp: Implement the new register methods for x86.
|
2010-04-02 10:34:27 +02:00 |
Mikhail Maroukhine
|
0519c4b68a
|
dbghelp: Fix compiler warnings with flag -Wcast-qual.
|
2010-03-29 12:13:28 +02:00 |
Eric Pouech
|
060ccb123a
|
dbghelp: When unwinding the stack, stop if the current address isn't in a known module.
|
2010-03-29 11:45:13 +02:00 |
Eric Pouech
|
0c2401369c
|
dbghelp: Rewrite SymGetModuleBase so that it relies on 64 bit version.
|
2010-03-29 11:45:04 +02:00 |
Eric Pouech
|
a5293895a3
|
dbghelp: In dwarf parsing, correctly handle the DW_OP_regx option.
|
2010-03-29 11:44:52 +02:00 |
Eric Pouech
|
6a6edcd1ca
|
dbghelp: In dwarf attribute parsing, ensure that we do have a block when parsing a block.
|
2010-03-29 11:44:46 +02:00 |
Eric Pouech
|
036392c5d1
|
dbghelp: Added preliminary CFA management.
|
2010-03-29 11:38:17 +02:00 |
Eric Pouech
|
0eef5d6809
|
dbghelp: Added CFA information to dbghelp's dwarf.h.
|
2010-03-29 11:37:46 +02:00 |
Eric Pouech
|
1d60aa6000
|
dbghelp: Extend the CPU object in order to manipulate context's registers (getting context's content & register names).
|
2010-03-29 11:37:39 +02:00 |
Eric Pouech
|
9851ebf792
|
dbghelp: Keep the .debug_frame section mapped when parsing dwarf debug_info (needed for CFA management).
|
2010-03-29 11:37:27 +02:00 |
Eric Pouech
|
e2b62c91d5
|
dbghelp: Created a CPU method to map dwarf register number to codeview register number.
|
2010-03-25 09:45:32 +01:00 |
Eric Pouech
|
403f41687e
|
dbghelp: In dwarf parsing, correctly get the size of addresses in location lists.
|
2010-03-25 09:45:26 +01:00 |
Eric Pouech
|
8413810c6c
|
dbghelp: Don't try to hardwire the dwarf's "word size", but get it properly.
|
2010-03-25 09:45:21 +01:00 |
Eric Pouech
|
e6a08a1e15
|
dbghelp: Fixed a couple of portability issues to 64bit platforms.
|
2010-03-25 09:45:15 +01:00 |
Eric Pouech
|
51e9951a5f
|
dbghelp: Enhanced x86_64 stack unwinding with PE's function table data.
|
2010-03-25 09:45:11 +01:00 |
Eric Pouech
|
4c3361e39e
|
dbghelp: Properly bail out if get an error while reading ELF header.
|
2010-03-22 11:29:14 +01:00 |
Eric Pouech
|
375d158da7
|
dbghelp: Fix local/parameters enumeration on 64bit platforms.
|
2010-03-22 11:29:08 +01:00 |
Eric Pouech
|
d822aaff92
|
dbghelp: Removed the not-useful start_data field out of dwarf2_traverse_context_t.
|
2010-03-22 11:27:44 +01:00 |
Eric Pouech
|
bf97b03db5
|
dbghelp: Implemented SymFunctionTableAccess.
|
2010-03-22 11:27:36 +01:00 |
Eric Pouech
|
2ed8b9f6b6
|
dbghelp: Added helper to image_file_map to map also directory out of PE executables.
|
2010-03-22 11:27:32 +01:00 |
Eric Pouech
|
cecb80a4e8
|
dbghelp: Move the mach-o information into the modfmt structure.
|
2010-03-19 12:23:36 +01:00 |
Eric Pouech
|
fe2ae803ee
|
dbghelp: Moved the ELF's module information into the new scheme.
|
2010-03-19 12:08:46 +01:00 |
Eric Pouech
|
cd92e3d147
|
dbghelp: Move the PE debug info to the newly define scheme.
|
2010-03-19 12:08:37 +01:00 |
Eric Pouech
|
73f79e7fad
|
dbghelp: Create new infrastructure to hold specific information for multiple file/debug formats in a single module, and use it to store dwarf2 stuff.
|
2010-03-19 12:08:27 +01:00 |
Eric Pouech
|
3e6920d7b8
|
dbghelp: Now that we can keep ELF sections around, don't copy the loclist section, just don't unmap it.
|
2010-03-19 12:08:10 +01:00 |
Eric Pouech
|
2d8c788353
|
dbghelp: Let dwarf_parse decide on which sections it needs to map.
|
2010-03-19 12:08:03 +01:00 |