Commit Graph

29 Commits

Author SHA1 Message Date
Alexandre Julliard 88c06077f8 winedump: Remove unused variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Alexandre Julliard af54377eb6 winedump: Avoid using DWORD in private definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Alexandre Julliard ae2693e2c4 include: Use long type by default in GUID definition.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 17:56:07 +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 3cdc6d682c winedump: Use the shared tools functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
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
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
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
André Hentschel 86c249760d winedump: Ensure function order in a printf (PVS-Studio). 2014-10-27 14:38:33 +09: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 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
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
André Hentschel 900594198a winedump: Remove superfluous casts. 2013-07-02 11:09:37 +02:00
Piotr Caban 8985e968d4 winedump: Dump parameters default values in typelib. 2013-04-11 19:32:32 +02:00
Jacek Caban 0dfa1ae223 winedump: Added MSFT support. 2012-12-04 16:58:01 +01:00