Commit Graph

489 Commits

Author SHA1 Message Date
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
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
Marcus Meissner 372c7fca58 winedump: Remove double assignment (Coverity). 2011-02-24 12:40:08 +01:00
Eric Pouech 5b4e192aca winedump: Added definition and dumping of thread local variables. 2011-01-31 14:08:37 +01:00
Eric Pouech 67a55feeaf dbghelp, winedump: Added definition for S_FRAMEPROC_V2 symbol (CodeView). 2011-01-19 12:25:05 +01:00
Eric Pouech a43b38fe0c winedump: Also dump FPO data out of JG PDB files. 2011-01-18 12:36:07 +01:00
Eric Pouech 2b010ad366 winedump: Dump segment info out of PDB files. 2011-01-18 12:35:59 +01:00
Eric Pouech a7cdc540f3 winedump: Make use of PDB_STREAM_INDEXES in order to get rid of hardwired indexes. 2011-01-18 12:35:46 +01:00
Eric Pouech 5199d04b42 winedump: Added stream header support. 2011-01-18 12:35:15 +01:00
Eric Pouech 2cba84027b winedump: Get string table stream index out of ROOT named streams list. 2011-01-18 12:34:30 +01:00
Eric Pouech 40fb62c99f winedump: Dump streams names information out of ROOT object. 2011-01-18 12:33:56 +01:00
Eric Pouech b7635f96ff winedump: Force the PDB_??_ROOT to always be present in reader object. 2011-01-18 12:33:21 +01:00
André Hentschel 13b0452c45 winedump: Fix MZ Header detection. 2011-01-12 14:58:26 +01:00
Alexandre Julliard 4f574ee942 winedump: Try to load the PDB string table from file number 4 too. 2011-01-12 11:31:31 +01:00
Alexandre Julliard ce6779c9b1 winedump: Print the machine field from the PDB symbol table. 2011-01-11 16:17:39 +01:00
Alexandre Julliard e421ff6b6f winedump: Don't crash when the PDB filenames table isn't found. 2011-01-11 16:05:48 +01:00
Alexandre Julliard 51dd5c2ebb winedump: Fix printing of module sources in PDB files. 2011-01-11 16:05:48 +01:00
Eric Pouech 982775ddae winedump: Added support for dumping FPO streams. 2011-01-10 12:51:35 +01:00
Alexandre Julliard 15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +01:00
André Hentschel 38d7119d18 winedump: Add ARM Thumb detection. 2010-10-26 11:53:33 +02:00
André Hentschel 1da4f8bf4a winedump: Ignore case when detecting void. 2010-10-22 12:02:26 +02:00
André Hentschel 27c0161797 winedump: Fix typo in code generation. 2010-10-21 12:29:39 +02:00
Eric Pouech 8d981b87f1 dbghelp: Proper support and definition for S_REGREL_V3. 2010-10-11 17:11:24 +02:00
Austin English 02bdbbc475 winedump: Match the new Makefile format. 2010-09-21 17:53:55 +02:00
André Hentschel 7b1e331523 winedump: Add more subsystem descriptions. 2010-09-20 15:12:20 +02:00
Alexandre Julliard bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Austin English fac3282551 winedump: Add Sparc CPU support. 2010-08-24 12:21:16 +02:00
Alexandre Julliard 009c59afb8 winedump: Don't crash on an invalid nrestab NE header value. 2010-06-30 21:04:59 +02:00
André Hentschel cccad9d97b winedump: Update README. 2010-06-21 11:47:40 +02:00
Alexandre Julliard a72f3f3075 winedump: Don't include winbase16.h. 2010-05-27 17:09:14 +02:00
Hans Leidekker f6612adcd2 winedump: Print the network share name in .lnk files. 2010-05-14 18:03:02 +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
Austin English 62781a6b3c winedump: Output Makefile.in the right way for the new build system. 2010-04-19 14:54:00 +02:00
Eric Pouech f4f3033daa winedump: Add support for x86-64 in known CPUs while reading minidumps. 2010-04-16 16:53:49 +02:00
Mikhail Maroukhine 23547c0ffd winedump: Fix compiler warnings with flag -Wcast-qual. 2010-04-05 11:39:14 +02:00
André Hentschel 01c406cf05 winedump: Update manpage. 2010-04-05 11:34:23 +02:00
Mikhail Maroukhine 3f1c2d5e35 tools: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:19:02 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01: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
Eric Pouech 7a685030f6 winedump: Manage the string table size in PE file format. 2009-12-29 13:27:43 +01:00
André Hentschel 1cee3235bc winedump: Fix sym mode. 2009-12-28 15:23:16 +01:00
Eric Pouech 1c238c77f7 winedump: Add support for long section names (at least used by MinGW). 2009-12-24 12:15:41 +01:00
Eric Pouech 2271a8d417 winedump: Dump PE symbols table if any. 2009-12-10 11:53:28 +01:00
Eric Pouech 947f2456a9 winedump: Rewrote a bit the COFF symbol table stuff. 2009-12-10 11:53:07 +01:00
André Hentschel 0c652a5a5c winedump: Add ARM support. 2009-11-16 15:18:30 +01:00
Eric Pouech 64144519a0 winedump, dbghelp: In .pdb files (>= VC2005), handle the case where the codeview_linetab2_file structure is not the first one. 2009-11-03 21:20:21 +01:00
Eric Pouech ad44094094 winedump: Correctly handle the constant fields. 2009-11-03 21:20:05 +01:00
Eric Pouech a1021a1208 winedump: Ensure all PDB fields are printed. 2009-11-03 21:19:11 +01:00
Alexandre Julliard a4e22d4928 tools: Build all the tools with -D__WINESRC__. 2009-10-05 14:55:25 +02:00
Alexandre Julliard 19c0b3ee48 winedump: Use consistent prototypes for option callbacks. 2009-10-02 15:06:59 +02:00
Alexandre Julliard bb223b789b winedump: Ordinal functions can be forwards too. 2009-09-24 23:59:54 +02:00
Eric Pouech a9c7612d4c winedump: Added reference for MSVC 8. 2009-06-29 13:14:09 +02:00
Alexandre Julliard 23fd37528c winedump: Fix a printf format warning on 64-bit. 2009-05-28 15:23:24 +02:00
Dmitry Timoshkov 60482be24b winedump: Add an ability to dump font files. 2009-05-11 15:57:13 +02:00
Austin English 285572fd57 winedump: Sign compare fixes. 2009-05-08 14:30:44 +02:00
Alexandre Julliard 8ad9457fca winedump: Add dumping of x86_64 exception tables. 2009-05-06 12:06:24 +02:00
Christian Costa d5f3d6f759 winedump: When generating preamble, use 4 spaces instead of tabs. Remove extra break. 2009-04-21 14:32:26 +02:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Alexandre Julliard 83fc73395d winedump: Implement dumping of relocations. 2009-01-06 15:11:47 +01:00
Alexandre Julliard d6617258b7 winedump: List exported functions sorted by ordinal. 2009-01-06 15:11:06 +01:00
Francois Gouget b3bf746ff9 Straighten out some ellipses. 2008-11-26 12:33:34 +01:00
Eric Pouech 721b88f603 winedump: Print detailed information about class/struct properties. 2008-11-10 11:59:17 +01:00
Michael Stefaniuc 922a336063 winedump: Remove casts of void pointers to other pointer types. 2008-11-03 13:38:30 +01:00
Eric Pouech ac42ebb5dc winedump: First stab at dumping the "new" line information out of pdb files. 2008-10-01 09:50:59 -05:00
Eric Pouech f8380ba37a winedump: Now dumping codeview source line information. 2008-10-01 09:50:43 -05:00