Commit Graph

857 Commits

Author SHA1 Message Date
André Hentschel bd1f7ef186 include: Rename 64-bit PState to 32-bit Cpsr on ARM64. 2015-06-15 14:51:33 +09:00
André Hentschel 8e0164bd26 include: Add more ARM64 CV constants. 2015-05-28 14:20:55 +09:00
André Hentschel 0d68edf03e dbghelp: Fix typo in trace output. 2015-05-20 22:10:19 +09:00
Austin English f832f85c80 dbghelp: Ignore some more symbol ids.
These are from MSVC 2013.
2015-05-20 17:32:49 +09:00
Grazvydas Ignotas 2fee06de49 dbghelp: Detect if return address information is missing. 2015-04-07 15:08:44 +09:00
Francois Gouget ed82981ae0 dbghelp: Mark internal symbols with hidden visibility. 2015-03-16 15:06:29 +09:00
Francois Gouget ba6e4ff66e dbghelp: pe_unmap_directory() is unused so remove it. 2015-03-16 15:03:31 +09:00
Francois Gouget 654657b715 dbghelp: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-10 15:18:25 +09:00
Michael Stefaniuc 1328ec4854 dbghelp: Remove no-op additions with 0 (PVS-Studio). 2015-03-09 22:06:39 +09:00
Francois Gouget 11f985541a dbghelp: Fix compilation on systems that don't support nameless unions. 2015-03-02 13:49:02 +09:00
David Heidelberg e6e50f6c47 dbghelp: Implement DW_TAG_unspecified_type. 2015-02-13 00:45:25 +09:00
Charles Davis b3232e7c9d dbghelp: Support 64-bit dyld_all_image_infos structures, too. 2015-02-06 22:35:23 +09:00
Sebastian Lackner c6fcb427a2 dbghelp: Don't fill KdHelp structure for usermode applications. 2015-02-03 14:40:50 +09:00
André Hentschel b2f967e086 dbghelp: Fix compiler warnings with flag -Wunused-macros. 2014-12-10 13:31:05 +01:00
Bruno Jesus a5c3f38773 dbghelp: Remove a dead assignment (Cppcheck). 2014-11-20 22:32:43 +09:00
David Heidelberger 4f18c053d3 winedbg: List Dwarf2 GNU extensions as TODO to workaround spam in debug. 2014-10-22 21:02:01 +09:00
David Heidelberger df5ff98b07 dbghelp: Implement DW_TAG_const_type in dwarf2_parse_udt_type. 2014-10-09 17:36:22 +02:00
Gerald Pfeifer a910704ccf dbghelp: Do not try to ignore the return codes in PEV_ERROR and and PEV_ERROR1. 2014-07-28 17:22:23 -05:00
Austin English 8980a6fa5c dbghelp: Ignore a few more symbol ids. 2014-07-14 09:57:48 +02:00
Ken Thomases 5acf1510fb dbghelp: Ignore the __PAGEZERO segment.
It made it seem as though the wineloader always started at address 0.
Issue identified by Jacek Caban.
2014-07-07 23:00:52 +02:00
Ken Thomases 1f2680f5f3 dbghelp: If the caller didn't provide a module load address use the segment start address. 2014-07-07 23:00:47 +02:00
Victor Martinez Calvo 9eca0aa8a7 dbghelp: Fix invalid assignment in symt_fill_sym_info. 2014-04-30 18:32:21 +02:00
André Hentschel 46594b8e6b dbghelp: Make pdb_load_stream_name_table a void function. 2014-04-29 11:18:56 +02:00
André Hentschel 1986dabc3e dbghelp: Use boolean return value in boolean function. 2014-04-29 11:18:51 +02:00
Alistair Leslie-Hughes b816a8e629 dbghelp: Improve dwarf support. 2014-03-26 19:20:42 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Andrey Gusev e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01:00
Frédéric Delanoy 74b0f6b4ad dbghelp: Remove an "#if 1" preprocessor directive. 2014-01-13 17:36:59 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy d066561625 dbghelp: Constify some character strings. 2013-12-16 12:02:49 +01:00
Ken Thomases 1577fb6c3f dbghelp: For Mach-O, get the address of the process's image info from its PEB. 2013-12-05 12:40:56 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Ken Thomases 15467577fc dbghelp: Add debug logging to some error paths in the Mach-O support. 2013-12-03 12:34:45 +01:00
Ken Thomases 3fe34fe346 dbghelp: Fix some parameter names and types in the Mach-O support. 2013-12-03 12:33:55 +01:00
Stefan Leichter 89832cde4e dbghelp: Add a null check for optional output parameter for function SymFromAddr. 2013-12-02 10:50:32 +01:00
Frédéric Delanoy 1d65efe50b dbghelp: Use BOOL type where appropriate. 2013-11-12 12:58:03 +01:00
Alexandre Julliard 836b682ed3 dbghelp: Remove a useless DllMain, msvcrt can't be unloaded. 2013-11-11 11:49:18 +01:00
Frédéric Delanoy c002197692 dbghelp: Use BOOL type where appropriate. 2013-10-04 12:46:20 +02:00
Huw Davies 5c7c954658 dbghelp: Skip the dllprefix when matching PE with ELF modules. 2013-09-27 12:20:00 +02:00
Huw Davies 96e32da5c9 dbghelp: Add a couple of structures that are missing from the Android ndk. 2013-09-23 20:32:21 +02:00
Marcus Meissner b3f9747b28 dbghelp: Free srcpath in stabs handling (Coverity). 2013-06-24 11:45:10 +02:00
Marcus Meissner 7a406d0adf dbghelp: Free root in error case (Coverity). 2013-06-24 11:44:01 +02:00
Andrew Cook 878ea7d9ea dbghelp: Add stubs for SymSetHomeDirectory. 2013-04-01 20:42:33 +02:00
André Hentschel c174b3f5ec dbghelp: Remove SPARC support. 2013-03-05 11:01:11 +01:00
Jeff Muizelaar 03cae02611 dbghelp: Store the vendor id in the correct order. 2013-03-04 11:15:57 +01:00
Maarten Lankhorst 1dc3ef5188 dbghelp: Add support for zlib compressed debug sections.
Patch created with the assistance of Eric Pouech who helped diagnose
the problem, wrote some parts of this patch and reviewed this patch.
2013-01-30 20:10:44 +01:00
André Hentschel 9d49dd82e8 dbghelp: Remove useless code in ARM stack walk. 2013-01-23 12:44:12 +01:00
André Hentschel 49f59ccf71 dbghelp: Implement rudimentary stack walk for ARM64. 2013-01-23 12:44:06 +01:00
André Hentschel ce8640cbef dbghelp: Add ARM64 support. 2013-01-16 12:53:16 +01:00
Andrew Talbot ddf922d7a1 dbghelp: Avoid signed-unsigned integer comparisons. 2013-01-15 12:14:11 +01:00
Alexandre Julliard a81996d757 dbghelp: Use sysconf() instead of getpagesize(). 2013-01-09 12:15:25 +01:00
Andrew Talbot 9feb4053fe dbghelp: Indentation fix. 2012-12-17 11:47:38 +01:00
Marcus Meissner 6d6b216002 dbghelp: Size of the floating point stack registers is 10 bytes (Coverity). 2012-10-25 11:49:06 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Michael Stefaniuc 31fdb97632 dbghelp: Remove a superfluous TRUE:FALSE conditional expression. 2012-08-15 12:12:43 +02:00
Eric Pouech 83462bf081 dbghelp: Added support for index leaves in types definition for CodeView debug format. 2012-06-25 10:32:55 +02:00
Gerald Pfeifer 6cb7cd1983 dbghelp: Avoid unconditional use of NT_GNU_BUILD_ID. 2012-06-04 12:17:55 +02:00
Eric Pouech d647bd108c dbghelp: Use build-id information to locate debug information (and prefer it over .debug_link when both are present). 2012-06-01 13:24:36 +02:00
Eric Pouech dbd70d0917 dbghelp: Protect COFF line number parsing against out of bounds access. 2012-05-21 11:33:59 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
André Hentschel 89cb501927 dbghelp: Assorted fixes for shadow variables. 2012-04-23 12:58:36 +02:00
Thomas Faber 9f0119a0c0 dbghelp: Fix uninitialized variable usage. 2012-03-28 13:55:26 +02:00
Michael Stefaniuc 4cf695e164 dbghelp: Print the debug string and not the pointer to it. 2012-03-26 18:15:25 +02:00
Alexandre Julliard 0a7827b8b2 dbghelp: Add support for jump instructions in function epilogs on x86_64. 2012-03-16 13:16:45 +01:00
André Hentschel 84a036a435 dbghelp: Silence arm_fetch_minidump_module. 2012-03-09 11:34:13 +01:00
André Hentschel 138cb84be0 dbghelp: Add arm_fetch_minidump_thread implementation. 2012-03-09 11:34:02 +01:00
Eric Pouech 43f62c99b9 dbghelp: Fix a couple of traces in dwarf line info parsing. 2012-02-14 17:58:59 +01:00
Eric Pouech 90207b1d69 dbghelp: In i386 stack unwinder, only check for NULL ebp after calling the dwarf/MSVC unwinders as they allow NULL ebp. 2012-02-14 17:58:58 +01:00
Eric Pouech 0905afd0bc dbghelp: In traces for Dwarf/CFA engine, some offset are signed entities. 2012-02-14 17:58:58 +01:00
Eric Pouech 5201415626 dbghelp: In dwarf parser, when looking for FDE/CIE skip first O-length entries. 2012-02-14 17:58:56 +01:00
Eric Pouech 611d5e470d dbghelp: Correctly initialize module word_size field when only the eh_frame is present (and not compilation unit). 2012-02-14 17:58:54 +01:00
Eric Pouech 8328606141 dbghelp: Store the 32/64 bitness in the image structure. 2012-02-14 12:31:48 +01:00
Eric Pouech a672a51cbf dbghelp: Allow each CPU backend to save CPU specific memory ranges in minidump.
Used this feature to add x86_64 unwind information.
2012-01-24 18:10:32 +01:00
Eric Pouech 1c5450f91f dbghelp: Allow CPU backends to add specific information into a minidump.
Use it to add a 256 byte block around current program counter.
2012-01-24 18:10:32 +01:00
Eric Pouech d02295d998 dbghelp: Add our own thread data gathering struct for minidump internals instead on relying on SYSTEM_PROCESS_INFO. 2012-01-24 18:10:32 +01:00
Eric Pouech 2ce0e94018 winedbg, winedump: Embed wine build-id information info minidump, and display it. 2012-01-24 18:10:32 +01:00
Eric Pouech f3107df576 dbghelp: Use new regular expression matcher for files. 2012-01-23 16:07:39 +01:00
Eric Pouech 026ec7f690 dbghelp: Do all module and symbol names matching using unicode string (and new regular expression matcher). 2012-01-23 16:07:39 +01:00
Eric Pouech be9a7b9b97 dbghelp: Rewrote a simple regular expression matcher, and use for implementing SymMatchString[AW]. 2012-01-23 16:07:38 +01:00
Eric Pouech 7c2a5e184d dbghelp: In x86-64 support code, fix RUNTIME_FUNCTION dumping. 2012-01-23 16:06:49 +01:00
Eric Pouech 2ed88d7ac2 dbghelp: On x86-64 CPUs, add capability to interpret properly the epilog part. 2012-01-23 16:06:40 +01:00
Eric Pouech e40430cd16 dbghelp: Fix a couple of bugs in function table interpretation for x86-64 processors. 2012-01-23 15:59:59 +01:00
Eric Pouech 82d961e382 dbghelp: Always ensure that 64bit module functions use real 64bit addresses. 2012-01-23 15:59:59 +01:00
Alexandre Julliard 55107912f0 dbghelp: Fix a couple of pointer cast warnings. 2012-01-16 18:17:43 +01:00
Francois Gouget 67448e5661 dbghelp: Fix the position where the calling convention is specified in function pointers. 2012-01-16 12:45:33 +01:00
André Hentschel b95574e286 dbghelp: No need for WINE_ prefixed ERR. 2012-01-10 17:55:29 +01:00
Daniel Lehman 44233d5f07 dbghelp: Use CDECL calling convention for __unDName and callbacks. 2012-01-09 12:52:17 +01:00
Eric Pouech 28bb6f954a dbghelp: Correctly return flags in SYMBOL_INFO structure for local variables stored in a register. 2012-01-03 12:37:28 +01:00
André Hentschel c486cec0d6 dbghelp: Use ARMv7 for debugging. 2011-11-02 12:25:39 +01:00
André Hentschel d6fadb882f dbghelp: Implement SymMatchStringW. 2011-11-01 10:42:53 +01:00
André Hentschel 7e3fe1975a dbghelp: Rename SymMatchString and forward it to SymMatchStringA. 2011-11-01 10:42:50 +01:00
André Hentschel 85051917fe dbghelp: Rewrite stabs parsing to not need PATH_MAX. 2011-10-17 17:45:03 +02:00
André Hentschel bfdc93cdc5 dbghelp: Remove superfluous PATH_MAX defines. 2011-10-11 19:44:33 +02:00
Andrew Talbot 14d5268e5e dbghelp: Mark a fall-through in a switch statement. 2011-09-30 10:27:56 -05:00
André Hentschel 650e000bc9 dbghelp: Add some new dwarf enumerations. 2011-09-06 13:25:51 +02:00
Andrew Talbot 94c0407cac dbghelp: Constify some variables. 2011-08-23 16:53:52 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
André Hentschel e6390a5c7f dbghelp: One line only for the copyright. 2011-08-01 18:26:26 +02:00
Austin English 13d86cc0a3 dbghelp: Add stubs for SymEnumSourceLines/SymEnumSourceLinesW. 2011-07-18 16:23:29 +02:00