Jacek Caban
04ddabfdff
dbghelp: Fetch version info only for PE modules in minidumps.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-14 21:43:30 +01:00
Jacek Caban
ceae3f0207
dbghelp: Remove unneeded includes.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Jacek Caban
26f5bfdd4d
dbghelp: Introduce read_process_memory helper.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Jacek Caban
f803da493a
dbghelp: Use LONG_PTR instead of long type.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:50 +01:00
Jacek Caban
16a3481bd2
dbghelp: Use loader_ops for enum_modules.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:29:50 +01:00
Jacek Caban
1bbd54409a
dbghelp: Use loader_ops for fetch_file_info.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 19:43:38 +01:00
Jacek Caban
724f433f39
dbghelp: Pass process struct to elf_enum_modules and macho_enum_modules.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 19:43:38 +01:00
Jacek Caban
6b3018d03d
dbghelp: Store process struct pointer in dump context.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 19:43:38 +01:00
Alexandre Julliard
d5a372abbb
include: Move inline assembly definitions to a new wine/asm.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Francois Gouget
5651c9dd28
dbghelp: Make minidump_add_memory64_block() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:53 +01:00
Eric Bissonnette
b90bbcbe75
dbghelp: Support full memory dumps.
...
Add support of flag MinidumpWithFullMemory in function
MinidumpWriteDump. A Memory64ListStream is added to the minidump
streams and all memory regions of the process with MEM_COMMIT state
are written to the last part of the minidump file.
Signed-off-by: Eric Bissonnette <ebisso.dev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 19:40:11 +01:00
Zebediah Figura
797f93be65
dbghelp: Avoid using inline assembly in have_x86cpuid().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Zebediah Figura
b7f3e6ba31
dbghelp: Avoid using inline assembly in do_x86cpuid().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 10:43:37 +01:00
Alex Henrie
f333c4a210
dbghelp: Turn variable 'code' into a static constant.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:52 +01:00
Michael Stefaniuc
053a7e225c
dbghelp: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 00:18:02 +02:00
Ken Thomases
49f0bf6f0b
dbghelp: Ignore Mach-O segments other than __TEXT for images in dyld's shared cache.
...
Images in the shared cache have their segments mapped non-contiguously. We
don't know how to find where the non-__TEXT segments actually are. Also, the
code assumes that the image is mapped contiguously in various places. So, we
just ignore those segments.
Treating the non-contiguous segments as though they were contiguous caused
their apparent memory ranges to overlap, leading to addresses being attributed
to the wrong module, let alone symbol.
2015-08-04 12:21:58 +02:00
Jeff Muizelaar
03cae02611
dbghelp: Store the vendor id in the correct order.
2013-03-04 11:15:57 +01:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02: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
229d753bc9
dbghelp: Some more 64bit base address fixes.
2010-10-11 17:07:57 +02: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 van Beurden
fefd0cfda7
dbghelp: Fix a minidump crash by using the correct variable.
2009-12-18 12:49:46 +01:00
Eric Pouech
b037912c9d
dbghelp: Fix a couple of casts on 64bit platforms.
2009-12-14 12:27:32 +01:00
Eric Pouech
aa9002755a
dbghelp: Fix the threads stream size.
2009-11-13 13:37:51 +01:00
Jesse Litton
43a35958f6
dbghelp: Don't double memory allocation on every add.
2009-08-19 14:42: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
Alexandre Julliard
75792a3e69
dbghelp: Grow all arrays by doubling the size.
2009-07-10 14:46:55 +02:00
Dmitry Timoshkov
d82df8f9b0
dbghelp: All parameters of MiniDumpReadDumpStream() except base are optional.
2009-05-21 16:17:51 +02:00
Ken Thomases
31fd8dd763
dbghelp: Include Mach-O modules in minidumps.
2009-03-25 12:17:51 +01:00
Michael Stefaniuc
3c3a9b5081
dbghelp: Remove superfluous pointer casts.
2009-01-19 13:36:25 +01:00
Alexandre Julliard
6a548b1e9d
ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit.
2009-01-03 14:55:32 +01:00
Eric Pouech
9bac505f2a
dbghelp: Properly add CPU info to minidump.
2008-11-11 14:03:01 +01:00
Andrew Talbot
c9563e10fc
dbghelp: Sign-compare warnings fix.
2008-09-25 11:28:58 +02:00
Andrew Talbot
53e9e24aa2
dbghelp: Assign to struct instead of using memcpy.
2008-03-01 12:02:13 +01:00
Andrew Talbot
6733c6bad0
dbghelp: Assign to struct instead of using memcpy.
2008-02-15 11:09:34 +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
ebc35e688c
dbghelp: Some minidump corrections so that windbg can read our minidump files.
2008-01-18 12:25:05 +01:00
Eric Pouech
b32cfb18cd
dbghelp: In Minidump, change a couple of internal names for consistency.
2008-01-14 13:36:42 +01:00
Andrew Talbot
159672d01c
dbghelp: Remove unneeded casts.
2008-01-02 12:38:41 +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
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
dcb298b468
dbghelp: Exclude unused headers.
2007-05-01 11:42:24 +02:00