Commit Graph

459 Commits

Author SHA1 Message Date
Dmitry Timoshkov 77bf4d4973 winedump: Fix parsing of SLTG typelib created with some old tool.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49372
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-15 20:56:17 +02:00
Alexandre Julliard 3d77dd1058 winedump: Get rid of a useless destructor.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-09 21:04:04 +02:00
Alexandre Julliard 8207bdfecb winedump: Add dumping of sortkey NLS files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 11:25:38 +01:00
Alexandre Julliard 3d55de8c73 winedump: Add dumping of normalization NLS files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 09:18:57 +01:00
Gerald Pfeifer 7299735fdf winedump: Add a default case to numeric_leaf().
This addresses two warnings issues by GCC 10 (currently in development
stage 4, so this is unlikely to change):

msc.c:687:9: warning: 'value' may be used uninitialized in this function
msc.c:301:13: warning: 'value' may be used uninitialized in this function

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-24 17:21:06 +01:00
Alexandre Julliard b2c26f28f0 winedump: Add dumping of codepage NLS files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-22 23:07:06 +01:00
Alexandre Julliard 51cea310a0 winedump: Add dumping of case mapping NLS files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-22 23:06:57 +01: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
Michael Stefaniuc 1c5b5ce2a5 winedump: Fix the spelling of a string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:06:12 +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 82c44208b4 winedump: Avoid using mmap().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +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
Michael Stefaniuc 22e74da914 winedump: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 12:25:57 +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
Francois Gouget 4522fcf0b0 winedump: Spelling fix in a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 20:01:56 +02:00
Alexandre Julliard 9b94096448 winedump: Don't use strncat with source length.
gcc is now warning about this.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 07:08:04 +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
Dmitry Timoshkov 4d55a3f33c winedump: Add support for SLTG typelibs.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 19:51:43 +02:00
Dmitry Timoshkov 3d26b00fce winedump: Use common binary dumper for typelib.
This is an adapted code from dump.c.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 19:00:14 +02:00
Dmitry Timoshkov 9723142c2a winedump: Add print_string() helper.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 19:00:11 +02:00
Dmitry Timoshkov 597b1804c1 winedump: Fix version printing.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 19:00:07 +02:00
Dmitry Timoshkov ed6e1dfc72 winedump: Consistently print hex numbers with leading zeros and 'h' suffix.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 18:59:59 +02:00
Dmitry Timoshkov a6d08adcdb winedump: Stop prepending every line of information with an offset.
This makes typelib output consistent with other dumpers.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 18:59:59 +02:00
Dmitry Timoshkov 193d0921c9 winedump: Avoid sign extension in tlb_read_short().
tlb_read_byte() already behaves this way.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 18:59:38 +02:00
Dmitry Timoshkov 3e6b1296c1 winedump: Correctly declare the array of segments.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 18:59:35 +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
Austin English 4651e9e0cd winedump: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 09:29:41 +01:00
Fabian Maurer b58094f74c winedump: Fix potential null-pointer dereference (cppcheck).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:58:16 +02:00
Piotr Caban 26b1c6611e winedump: Add initial support for handling EMF+ records.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 15:57:45 +02:00
Zebediah Figura 027ccc6c4c winedump: Correctly process options for default mode.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 21:51:40 +02:00
Gerald Pfeifer 3d258b0fd7 winedump: Increase buffer size and potential string length inoutput_spec_symbol.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 17:17:39 +01:00
Alexandre Julliard 5cd3395975 makefiles: Generate rules for installing scripts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Alexandre Julliard da340169d6 makefiles: Generate rules for installing programs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:06 +09:00
Alexandre Julliard 7626728b56 makefiles: Generate rules for building tool binaries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +09:00
André Hentschel 8b7a0c0f58 winedump: Update minidump output. 2015-08-29 14:29:02 +09:00
Austin English d259eaf28f winedump: Update README. 2015-08-03 11:01:29 +02:00
Austin English 62c776a7dd winedump: Avoid LPVOID when creating stub dll. 2015-08-03 11:01:12 +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
Francois Gouget f635beea75 winedump: Remove unneeded NONAMELESSXXX directives. 2015-04-03 11:22:10 +09:00
André Hentschel 86c249760d winedump: Ensure function order in a printf (PVS-Studio). 2014-10-27 14:38:33 +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
André Hentschel fdc7728219 winedump: Update minidump output. 2014-10-08 13:13:37 +02:00
Nikolay Sivov 39a347945d winedump: Output parameters and default values type for methods. 2014-03-17 17:34:11 +01:00
Nikolay Sivov 74f39d20d5 winedump: Improve typelib header dumping. 2014-03-17 17:34:11 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Alexandre Julliard 509364e1dd makefiles: Get rid of Make.rules. 2014-01-14 12:18:02 +01:00
Frédéric Delanoy 1bd7405193 winedump: Use BOOL type where appropriate. 2014-01-14 11:17:19 +01:00
Frédéric Delanoy 5d0adcfa1e winedump: Remove an "#if 1" preprocessor directive. 2014-01-13 17:37:01 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Sergey Guralnik 4d13f84903 winedump: Get rid of the MAKE_DLL_RULES in the Makefile.in template. 2014-01-08 16:11:34 +01:00
Frédéric Delanoy 201e49d4aa winedump: Use BOOL type where appropriate. 2014-01-03 11:27:39 +01:00
Frédéric Delanoy 5f4ccc016f winedump: Use BOOL type where appropriate. 2014-01-02 11:54:04 +01:00
Alexandre Julliard 092f37fc2d makefiles: Include program files in the all: target. 2013-12-31 19:07:49 +01:00
Alexandre Julliard 1047e0474d makefiles: Leave it to install-sh to create destination directories. 2013-12-26 14:35:15 +01:00
Frédéric Delanoy 2fd1b85c77 winedump: Use BOOL type where appropriate. 2013-12-24 11:24:42 +01:00
Frédéric Delanoy dcb25e59cb winedump: Make segdir[] static. 2013-12-24 11:23:07 +01:00
Marcus Meissner f5b2988bb0 winedbg: Added missing breaks (Coverity). 2013-12-09 11:43:14 +01:00
Frédéric Delanoy 35f82370ab winedump: Use BOOL type where appropriate. 2013-12-05 10:58:04 +01:00
Frédéric Delanoy cd99b5a773 winedump: Use BOOL type where appropriate. 2013-12-04 11:05:07 +01:00
Frédéric Delanoy ee681d5a48 winedump: Make usage message more consistent.
Using infinitives, <arg> for option arguments.
2013-12-04 11:05:02 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
André Hentschel b32db69d12 winedump: Update minidump output. 2013-11-26 10:16:57 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Alexandre Julliard e2df0ab856 makefiles: Generate rules from makedep for building and installing man pages. 2013-11-18 11:40:00 +01:00
Alexandre Julliard 8d5b8b1346 makefiles: Define __WINESRC__ globally. 2013-10-07 10:48:04 +02:00
André Hentschel d9a6deff4b winedump: Add and use IMAGE_DELAYLOAD_DESCRIPTOR. 2013-09-09 22:10:00 +02:00
Piotr Caban 074941c04f winedump: Fix TLB function dumping. 2013-09-04 11:37:14 +02:00
Piotr Caban 156206592a winedump: Improve TLB string table handling. 2013-09-02 19:59:59 +02:00
Jacek Caban 30def32b6f winedump: Improved TLB custom data handling. 2013-08-29 19:56:18 +02:00
Piotr Caban f929d2c2bc winedump: Rename lib typelib segment to GuidHashTab. 2013-07-31 22:26:56 +02:00
Piotr Caban 1121868e22 winedump: Rename res07 typelib segment to NameHashTab. 2013-07-29 15:01:14 +02:00
Frédéric Delanoy 621dc41247 winedump: Fix manpage formatting. 2013-07-17 20:30:50 +02:00
Alexandre Julliard dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Alexandre Julliard 005565d90d makefiles: Make sure to install manpages for the install-lib and install-dev cases. 2013-07-02 19:39:30 +02:00
André Hentschel 900594198a winedump: Remove superfluous casts. 2013-07-02 11:09:37 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
Dmitry Timoshkov ad3a3c3ea5 winedump: Add support for 1st, 2nd and long names linker COFF archive members. 2013-04-29 13:33:54 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Piotr Caban 8985e968d4 winedump: Dump parameters default values in typelib. 2013-04-11 19:32:32 +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
Nikolay Sivov 140bfd2823 winedump: Fix argument format for DllMain trace. 2012-12-19 14:38:58 +01:00
Jacek Caban 0dfa1ae223 winedump: Added MSFT support. 2012-12-04 16:58:01 +01: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 19c9d08304 winedump: Simplify the "pointer to start of array" idiom. 2012-07-23 12:54:23 +02:00
Thomas Faber bb95b706cb include: Make IMAGE_COR20_HEADER declaration compatible with PSDK headers. 2012-06-18 11:59:41 +02:00
Francois Gouget 61267a2bdc winedump: Fix the spelling of a NETWORK_VOLUME_INFO field. 2012-05-15 16:26:40 +02:00
Vincent Povirk 73e7346dd5 winedump: Add basic support for dumping the property store in lnk files. 2012-04-06 20:45:02 +02:00
Eric Pouech 2ce0e94018 winedbg, winedump: Embed wine build-id information info minidump, and display it. 2012-01-24 18:10:32 +01:00
Gerald Pfeifer 64de0876e4 winedump: Remove unused parameter from codeview_dump_linetab(). codeview_dump_linetab(). 2011-12-19 20:15:52 +01:00
André Hentschel 43e4e47465 winedump: Add machine string for ARMv7. 2011-11-01 16:45:36 +01:00
Alexandre Julliard 49c31e3bf8 makefiles: Use the generic install flags for the tools directories. 2011-06-12 12:47:48 +02:00
Marcus Meissner 16d13f24a0 winedump: Fixed minidump processor revision decoding (Coverity). 2011-05-12 15:42:57 +02:00
Marcus Meissner a09829bd4d winedump: flags is a DWORD not a WORD (Coverity). 2011-05-05 17:26:16 +02:00