Commit graph

599 commits

Author SHA1 Message Date
Alexandre Julliard 3f296440f5 winedump: Fix dumping of catchblocks for 32-bit modules.
The frame member isn't present on 32-bit.
2024-06-05 10:31:24 +02:00
Eric Pouech 95e6302e82 winedump: Dump Memory64List streams in minidumps.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-31 19:04:26 +02:00
Eric Pouech ec61ad8b15 winedump: Don't dump twice.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-31 19:04:26 +02:00
Eric Pouech 0327b00d10 winedump: Dump correct handle information for minidump.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-31 19:04:23 +02:00
Alexandre Julliard 02a6ad92ab winedump: Dump exception data for known exception handlers. 2024-05-30 19:47:37 +02:00
Alexandre Julliard bb8ef91f46 winedump: Print the export or import name of exception handlers. 2024-05-30 14:38:01 +02:00
Alexandre Julliard 855017063a winedump: Print exported function names in the exception data. 2024-05-30 13:32:28 +02:00
Eric Pouech d45cbca378 winedump: Correctly unmangle qualified pointer to function/method.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-17 19:48:58 +02:00
Eric Pouech d42b1d56b5 winedump: Don't consider end of list encoding as real data types.
This allows while unmangling:
- to avoid considering them as "real" datatypes in other contexts
- to handle better void (which is only supported as single argument
  in function args list, while is a fully acceptable datatype
  in template args list)

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-17 19:48:58 +02:00
Eric Pouech 3a95341ef6 winedump: Demangle std::nullptr_t datatype.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-16 23:09:05 +02:00
Piotr Caban bdba9407d9 winedump: Handle empty list in variadic template. 2024-05-14 21:03:58 +02:00
Alexandre Julliard e86e6a6f48 winedump: Dump typelib resources in structured format. 2024-05-06 22:20:24 +02:00
Alexandre Julliard 3c2d6128fe winedump: Dump registry scripts resources as text. 2024-05-05 12:19:16 +02:00
Eric Pouech 30a7054879 winedump: Extend dumping of some minidump parts.
- extend dump information in misc stream
- dump token, thread name, memory info list streams

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-04-15 18:15:43 +02:00
Eric Pouech 73b653f514 winedump: Tidy up dumping minidump.
- homogenize dir entry
- print all thread id:s and RVA in hex
- improve some indentation

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-04-15 18:15:36 +02:00
Eric Pouech b89102173e winedump: Support a couple of 'section' options (minidump).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-04-15 18:15:36 +02:00
Eric Pouech 2253504aa5 winedump: Simplify unicode string printing (minidump).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-04-15 18:15:36 +02:00
Eric Pouech facae70c5e winedump: Add helpers to print DWORD64 integers.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-04-15 18:15:36 +02:00
Piotr Caban d7aaf51459 winedump: Fix REG_DWORD dumping with no data. 2024-03-21 22:19:58 +01:00
Alexandre Julliard 5c26513278 winedump: Dump the __os_arm64x_helper functions. 2024-03-08 17:37:08 +01:00
Alexandre Julliard ebaa47dcee winedump: Print the correct register names for exception info on ARM64. 2024-02-28 19:51:20 +01:00
Eric Pouech dee3be21a3 winedump: Don't expect a fixed number of substreams in DBI header (PDB).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-20 10:51:36 +01:00
Eric Pouech 9119e3102b winedump: Don't crash on non-effective runtime function entries.
MSVC generates zeroed out entries when EditAndContinue (aka HotPatch)
is enabled.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-02-15 20:41:49 +01:00
Alexandre Julliard 7c4ca6ff74 winedump: Add dumping of the save_any_reg ARM64 unwind code. 2024-02-15 15:08:55 +01:00
Alexandre Julliard a97b3f640c winedump: Handle ARM64 exception unwind info with flag==3. 2024-02-01 21:47:17 +01:00
Alexandre Julliard 3825af6041 winedump: Make the ARM exception information more compact. 2024-02-01 21:47:17 +01:00
Piotr Caban 268f3adce9 winedump: Sync demangling code with msvcrt. 2024-01-30 23:03:38 +01:00
Eric Pouech a2f98478c3 winedump: Better align fields in EXPORT table.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-02 22:17:54 +01:00
Eric Pouech 135b132dc2 winedump: Skip deleted vector in hash inside PDB header.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-11 23:11:20 +01:00
Eric Pouech 6d7839418e dbghelp: Allow an extra stream index entry in PDB files.
Latest MSVC version use this.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-12-11 23:11:20 +01:00
Piotr Caban 9a42affc34 winedump: Sync demangling code with msvcrt. 2023-12-07 20:47:03 +01:00
Alexandre Julliard ef07f6bb72 winedump: Also dump ARM64 exception information for ARM64EC binaries. 2023-12-05 21:24:36 +01:00
Alexandre Julliard c0f500ba00 winedump: Add a couple of ARM unwind codes. 2023-12-04 22:10:20 +01:00
Alexandre Julliard 17de5daa77 winedump: Add dumping of UWOP_EPILOG entries. 2023-12-04 22:10:20 +01:00
Piotr Caban 244b63566a winedump: Fix EMR_EXTTEXTOUTW record dumping when ETO_PDY flag is specified. 2023-11-29 20:40:31 +01:00
Alexandre Julliard 2d338e22f2 winedump: Display PE section offsets using their virtual address. 2023-11-24 14:06:02 +01:00
Alexandre Julliard 2f0c0f4c38 winedump: Re-import the demangling code from msvcrt. 2023-11-02 12:09:07 +01:00
Alexandre Julliard 4e9f1a41b9 makefiles: Always use the global SOURCES variable for .man.in files. 2023-10-14 13:44:07 +02:00
Nikolay Sivov 372c43868b winedump/emf: Add EMR_SETMITERLIMIT record dumping. 2023-10-09 11:38:13 +02:00
Eric Pouech 81c8c73de2 winedump: Improve dumping DEBUG directory entries in PE images.
- always add a data dump for unknown structures
- add some bits about POGO and REPRO entries
- protect against too small structures

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-09-25 21:53:47 +02:00
Alexandre Julliard af25f29cd2 winedump: Don't zero out the PE optional header regardless of specified size. 2023-09-25 11:37:42 +02:00
Piotr Caban e2414b55b6 winedump: Support REG_QWORD values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 49c40d502c winedump: Support dumping UTF16 value names in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 2908537f3f winedump: Don't dump volatile keys from regf file. 2023-08-04 18:07:42 +09:00
Piotr Caban 1a58a7032a winedump: Enlarge buffer in dump_want_n helper. 2023-08-04 18:07:42 +09:00
Piotr Caban bed6f9dfb3 winedump: Skip data blocks when dumping regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban b4fb0aef0d winedump: Support REG_MULTI_SZ values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 037677932b winedump: Support REG_BINARY values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 814d8d74f6 winedump: Support REG_NONE values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban c6c844f172 winedump: Support REG_EXPAND_SZ values in regf files. 2023-08-04 18:07:42 +09:00