Commit Graph

129 Commits

Author SHA1 Message Date
Alexandre Julliard 6f1fd16f92 winedump: Add dumping of the .apiset PE section.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 11:03:22 +01:00
Martin Storsjö aa256deedd winedump: Rewrite dumping of packed ARM unwind info.
This differs slightly from the official docs (which is clear in some
places, vague in others, and contradictory in some places), based
on actual observed behaviour.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:56 +01:00
Martin Storsjö ae7979a42d winedump: Fix printing of the prologue version of the "ldr lr, [sp], #offset" opcode.
This isn't mentioned in the documentation (which only writes out the
instruction that is executed while unwinding, i.e. the mirror form of
it), but a prologue version of this instruction would look like this.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:55 +01:00
Martin Storsjö 22d2b61a64 winedump: Distinguish between 16 and 32 bit nop opcodes in ARM unwind data.
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:55 +01:00
Martin Storsjö 825e8d8105 winedump: Print the whole multibyte unwind opcode for arm.
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:55 +01:00
Alexandre Julliard f9ee0d2f05 tools: Avoid using wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Alexandre Julliard 207068c48c tools: Move some portability defines out of port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Alexandre Julliard 3cdc6d682c winedump: Use the shared tools functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Henri Verbeet 4ae9f39911 winedump: Make print_longlong() work on 64-bit.
In particular, when long is a 64-bit type, the upper 32 bits would previously
be printed twice.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-20 21:48:57 +02:00
Alexandre Julliard e27c7e0648 winedump: Print the "prefer native" Wine flag.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-18 11:11:33 +01:00
Alexandre Julliard e137063394 include: Add a couple of dll characteristics.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 20:46:13 +01:00
Martin Storsjo 7ca68a8631 winedump: Fix the dumping of arm64 packed float restoration.
This previously dumped one register pair too few.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-28 19:28:24 +02:00
Martin Storsjo af6853278f winedump: Fix dumping of rare arm64 unwind opcodes.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-21 15:00:29 +02:00
Alexandre Julliard 509e8d2093 winedump: Add dumping for exception info for ARM64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 21:29:37 +02:00
Alexandre Julliard ddadd9d84b winedump: Print fake dll information also for NE files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard 209d2976f2 winedump: Also check for builtin dll signature.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:26 +02:00
Alexandre Julliard d945c1ea0e winedump: Also print the thunk address for ordinal imports.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 12:48:27 +01:00
André Hentschel 9b94d0fda0 winedump: Add IMAGE_DEBUG_TYPE_REPRO.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 20:54:28 +01:00
Michael Stefaniuc e9d844f2ff winedump: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 13:56:41 +02:00
Alexandre Julliard 5f34d56dcb winedump: Print the imports thunk address also for 64-bit.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-20 18:36:55 +02:00
Alexandre Julliard 26a4109904 winedump: Print the thunk address for imports instead of the name address.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-16 10:32:54 +02:00
André Hentschel ddf57d26af winedump: Dump load config when available. 2015-07-22 07:25:22 +02:00
André Hentschel 29c47defe6 winedump: Add more image debug types. 2015-05-28 14:20:57 +09:00
André Hentschel e5bc217e05 winedump: Add ARM64 string. 2015-05-06 08:41:35 +09:00
André Hentschel 8fc9a84960 winedump: Fix compiler warnings. 2014-10-14 14:05:04 +09:00
André Hentschel 9006dcb059 winedump: Improved dumping of exception info on ARM. 2014-10-13 18:11:09 +09:00
Frédéric Delanoy 5f4ccc016f winedump: Use BOOL type where appropriate. 2014-01-02 11:54:04 +01:00
Frédéric Delanoy 35f82370ab winedump: Use BOOL type where appropriate. 2013-12-05 10:58:04 +01:00
André Hentschel d9a6deff4b winedump: Add and use IMAGE_DELAYLOAD_DESCRIPTOR. 2013-09-09 22:10:00 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
André Hentschel 18c95cf165 winedump: Dump exception info on ARM. 2013-03-25 14:07:55 +01:00
André Hentschel 5d712e7ea0 winedump: Recognize IMAGE_DEBUG_TYPE_CLSID. 2013-03-25 14:07:49 +01:00
André Hentschel 1948f3253b winedump: Remove SPARC support. 2013-03-11 10:50:35 +01:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Thomas Faber bb95b706cb include: Make IMAGE_COR20_HEADER declaration compatible with PSDK headers. 2012-06-18 11:59:41 +02:00
André Hentschel 43e4e47465 winedump: Add machine string for ARMv7. 2011-11-01 16:45:36 +01:00
Marcus Meissner a09829bd4d winedump: flags is a DWORD not a WORD (Coverity). 2011-05-05 17:26:16 +02:00
Eric Pouech 0957cd03dd winedump: Simplify code a bit by using IMAGE_FIRST_SECTION() macro. 2011-05-02 12:35:57 +02:00
Eric Pouech b722e77299 winedump: Simplify code a bit by using get_dir_and_size(). 2011-05-02 12:35:42 +02:00
Eric Pouech 1d3dfd9e8d winedump: Correctly get to the optional header for 64 bit images. 2011-05-02 12:35:32 +02:00
André Hentschel 13b0452c45 winedump: Fix MZ Header detection. 2011-01-12 14:58:26 +01:00
André Hentschel 38d7119d18 winedump: Add ARM Thumb detection. 2010-10-26 11:53:33 +02:00
André Hentschel 7b1e331523 winedump: Add more subsystem descriptions. 2010-09-20 15:12:20 +02:00
Austin English fac3282551 winedump: Add Sparc CPU support. 2010-08-24 12:21:16 +02:00
Gerald Pfeifer 4e7fe5823a winedump: Remove variable strtable which is not really used from dump_symbol_table. 2010-04-26 07:00:22 -05:00
Mikhail Maroukhine 3f1c2d5e35 tools: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:19:02 +02:00
Alexandre Julliard 4e640f8a2b winedump: Remove an unused flag. 2010-01-19 15:03:56 +01:00
Paul Vriens 133ed6bac1 winedump: Pass the correct size to the helper (Coccinelle). 2010-01-11 11:34:51 -06:00
Marcin Baczyński 6a02e744b9 winedump: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Tillmann Werner 29e58e30f1 winedump: Fix null pointer dereference in spec mode. 2010-01-06 10:57:56 +01:00