Commit Graph

366 Commits

Author SHA1 Message Date
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
Eric Pouech da6d5eaa8b winedump: Improved a bit the MS Tool V3 description. 2008-10-01 09:50:13 -05:00
Eric Pouech 81df3de0fc dbghelp,winedump: Added support for symbol symbol. 2008-10-01 09:50:02 -05:00
Eric Pouech 028956d1fe dbghelp,winedump: Added support for symbol 0x113c. 2008-10-01 09:49:54 -05:00
Eric Pouech 82d1845d85 dbghelp,winedump: Added support for 0x113d symbol. 2008-10-01 09:49:45 -05:00
Eric Pouech cff33cedf5 winedump: Add preliminary dumping of 0x1136 and 0x1137 symbols. 2008-10-01 09:49:24 -05:00
Eric Pouech ff1767863f winedump: Dump a bit more of information from procedures. 2008-10-01 09:49:10 -05:00
Eric Pouech 3333ea8dc6 winedump: Added support for dumping long long constants. 2008-10-01 09:48:56 -05:00
Eric Pouech 076dcc845f dbghelp,winedump: Added support for symbol 0x1012. 2008-10-01 09:48:32 -05:00
Eric Pouech ee4aaf7fcd dbghelp,winedump: Added support for symbol 0x113a. 2008-10-01 09:48:20 -05:00
Eric Pouech f3c071660d winedump, dbghelp: Correctly name the age field in PDB headers. 2008-09-02 11:57:04 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Eric Pouech 13585ddd71 winedump: Fully dump the compiland (V3) structure out of .pdb files. 2008-05-28 11:42:00 +02:00
Eric Pouech b0a7c55cde winedump: Added support for latest versions of Codeview (VC70). 2008-05-01 11:12:06 +02:00
Eric Pouech 1185c5123d winedump: Print more meaningful information about module list. 2008-05-01 11:11:57 +02:00
Dmitry Timoshkov ae9fe5e36e winedump: Print contents of EMR_INTERSECTCLIPRECT and EMR_EXTSELECTCLIPRGN. 2008-04-21 11:53:05 +02:00
Dmitry Timoshkov f348a9309b winedump: Decipher contents of a couple EMF records. 2008-04-17 20:18:24 +02:00
Dmitry Timoshkov d43758b274 winedump: Print names for all known EMF records. 2008-04-17 12:41:24 +02:00
James Hawkins e4c1227ec9 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:17 +01:00
Marcus Meissner 8063d6572b winedump: Check return value of fetch_block (Coverity). 2008-02-20 12:06:36 +01:00
Eric Pouech aaa2862bf9 dbghelp: Added preliminary support for a strange stack variable object. 2008-02-07 11:59:52 +01:00
Francois Gouget fa9950f93e winedump: Add support for dumping SZ_LINK and SPECIAL_FOLDER data blocks. 2008-02-04 11:13:07 +01:00
Francois Gouget 79a6f41935 winedump: Switch the block dumping code to be block-oriented, rather then flag oriented, so it is resilient to order changes. 2008-02-04 11:13:01 +01:00
Francois Gouget 9fc80d212f winedump: Dump the raw data when finding an unknown block in an lnk file. 2008-02-04 11:12:32 +01:00
Francois Gouget 74d8536414 winedump: Track unknown lnk flags and dump them. 2008-02-04 11:12:13 +01:00
Francois Gouget 85eac20afd winedump: Use the standard SLDF_XXX flag names instead of inventing new ones. Add the missing flags. 2008-02-04 11:12:03 +01:00
Austin English 90f89fa74d tools: Spelling fixes. 2008-01-18 12:52:09 +01:00
Michael Stefaniuc c3eda248a5 winedump: Use a switch in the generated DllMain(). 2008-01-14 15:51:04 +01:00
Michael Stefaniuc 8c6dbc7a3e winedump: Use the DEFINE_THISCALL_WRAPPER macro instead of the GET_THIS macro for functions with __thiscall calling convention.
Wine doesn't use GET_THIS but DEFINE_THISCALL_WRAPPER.
2008-01-14 15:50:58 +01:00
Michael Stefaniuc 6db84ae4c6 winedump: Do not create a header file when not generating skeleton code.
The header file generated with "winedump spec" without the "-c" option
just includes other headers.
2008-01-14 15:50:23 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Lionel Debroux e2fc6c35ce winedump: Fix memory leak in msmangle.c (found by Smatch). 2007-09-11 11:47:12 +02:00
Michael Stefaniuc 483d213eca tools: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:57 +02:00
Andrew Talbot 2de22f1bf0 winedump: Cast-qual warnings fix. 2007-07-16 13:36:57 +02:00
Alexandre Julliard 4da30bfcfc winedump: Add RT_MANIFEST resource type. 2007-07-10 22:37:53 +02:00
Andrew Talbot 2d7cd213f2 winedump: Cast-qual warnings fix. 2007-07-09 11:46:13 +02:00
Andrew Talbot 82ee5a5812 winedump: Cast-qual warnings fix. 2007-07-09 11:46:07 +02:00
Michael Stefaniuc 192c46155e winedump: '$' isn't a valid character in an identifier regardless that gcc accepts it without warning. 2007-05-24 11:36:04 +02:00
Dmitry Timoshkov 7472fa441a winedump: Fix compilation warnings in 64-bit mode. 2007-05-21 15:55:42 +02:00
Alexandre Julliard 69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00
Eric Pouech 06b414086a winedbg, winedump: Extended some info printed from system info directory in minidump about the CPU. 2007-04-02 12:07:12 +02:00
Rob Shearman 9142716529 winedump: Fix the output for Makefile.in with respect to the dependencies line to match that required by the build system. 2007-03-21 15:55:19 +01:00
Alexandre Julliard 0da06dba48 winedump: Fixed formatting of timestamps. 2007-03-07 21:33:51 +01:00
Joris Huizer 4bfd7059f2 winedump: sign-compare fixes. 2007-03-05 15:35:25 +01:00
Marcus Meissner 82026ecd65 winedump: Added a missing free(). 2007-02-19 12:36:38 +01:00
Marcus Meissner aef6e2d35d winedump: Free function_name on all error paths. 2007-02-13 12:42:33 +01:00
Eric Pouech 17cb1c827d winedump: Removed a couple of unused elements out of struct symbol. 2007-02-12 14:12:14 +01:00
Eric Pouech ae48ede907 winedump: Simplify guid dumping. 2007-02-12 14:12:03 +01:00
Eric Pouech 72c52d6d9e winedump: Larger usage of symbol demangling while dumping. 2007-02-12 14:11:48 +01:00
Dmitry Timoshkov 6d62ef657d winedump: Add a sanity check before dumping long format library export. 2007-02-05 12:29:56 +01:00
Eric Pouech 2885555b41 winedump: Fixed signature for dumping MDMP files. 2007-01-10 12:00:05 +01:00
Eric Pouech 9d10c66dc8 winedump: Add support for derived types in codeview type info. 2007-01-06 11:40:45 +01:00
Eric Pouech b8ae9dccbe winedump: Fix a couple of issues with types table walking.
Align types to DWORD boundaries.
Split types dumping functions into two versions (one without offsets
table, the second one with offset table).
2007-01-06 11:40:45 +01:00
Eric Pouech f2ef7cf442 winedump: Dump S_SSEARCH_V1 symbols. 2007-01-06 11:40:45 +01:00
Eric Pouech fbb9d5f7d9 winedump: Added for dumping sstAlignSym and sstGlobalTypes COFF sections. 2007-01-06 11:40:45 +01:00
Eric Pouech b675ac3919 winedump: Handling of S_SALIGN symbols. 2007-01-06 11:40:45 +01:00
Eric Pouech 8a68e46953 winedump: Re-use existing codeview facilities to dump OMF files. 2007-01-06 11:40:45 +01:00
Eric Pouech bbef1cbd2d winedump: Removed cvinclude.h. 2007-01-06 11:40:44 +01:00
Eric Pouech 4141eafb8f winedump: Added dumping of RSDS header from module. 2007-01-06 11:40:44 +01:00
Eric Pouech 07d681b0d9 winedump: Added helper to convert a guid to a string. 2007-01-06 11:40:44 +01:00
Eric Pouech 1fcb0c1118 winedump: While dumping NE files, use -j option if present (as we do for PE files). 2007-01-06 11:40:44 +01:00
Eric Pouech d75e0cd1f0 winedump: Print some basic info for pure DOS file (which fixes segfault while reading DOS files). 2007-01-06 11:40:44 +01:00
Eric Pouech b63098cf24 winedump: Added ability to dump FPO debug information. 2007-01-06 11:40:44 +01:00
Andrew Talbot d39e1c360a winedump: Fix memory leak. 2007-01-04 09:53:36 +01:00
Robert Reif c723ba1b47 winedump: Fix crash on delayed import section. 2006-12-29 11:35:11 +01:00
Alexandre Julliard 7035aa5041 make_makefiles: Generate the top-level .gitignore file.
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Hans Leidekker 1698c44ed3 winedump: Start dumping .NET specific bits from PE executables. 2006-12-20 12:31:29 +01:00
Dmitry Timoshkov 1d63675322 winedump: Remove a redundant ';'. 2006-12-18 11:40:34 +01:00
Dmitry Timoshkov c4e7e07a45 winedump: Fix a couple of typos. 2006-12-18 11:40:29 +01:00
Alexandre Julliard f910e2b5f6 winedump: Avoid printf format warnings. 2006-12-08 11:39:21 +01:00
Alexandre Julliard b2972947ca winedump: Print sizes and offsets in hex. 2006-12-07 18:01:29 +01:00
Dmitry Timoshkov 690c852540 winedump: Dump section data of COFF library files, decode some import data. 2006-12-07 15:41:21 +01:00
Dmitry Timoshkov e0518a9d88 winedump: Add a possibility to dump raw section data. 2006-12-07 15:41:14 +01:00
Dmitry Timoshkov 1542722121 winedump: Export dump_section() for use outside of pe.c. 2006-12-07 15:40:27 +01:00
Dmitry Timoshkov 7928f5460f winedump: Handle properly partial optional COFF headers.
Export dump_file_header() and dump_optional_header() for use outside of pe.c.
2006-12-07 15:40:04 +01:00
Dmitry Timoshkov cb7453ff4d winedump: IMAGE_SCN_ALIGN_??? are not the bit fields, but the values masked by IMAGE_SCN_ALIGN_MASK. 2006-12-07 15:39:14 +01:00
Dmitry Timoshkov 2d9046e209 winedump: Avoid returning void from a void function. 2006-12-07 15:39:07 +01:00
Dmitry Timoshkov 53e89174c0 winedump: Make output of dump_data fit into 80 columns. 2006-12-07 15:39:01 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Andrew Talbot 696eddca8c winedump: Cast-qual warnings fix. 2006-12-04 12:23:13 +01:00
Andrew Talbot 25d1dc81d6 winedump: Cast-qual warnings fix. 2006-12-04 12:23:08 +01:00
Dmitry Timoshkov 671a2261c0 winedump: Restore the COFF library dumper functionality broken by the previous change. 2006-11-30 20:06:27 +01:00
Eric Pouech bacca3425a winedump: Added support for dumping types from PDB, CV... files. 2006-11-30 12:59:15 +01:00
Eric Pouech 64f7c68554 winedump: First shot at dumping PDB files contents. 2006-11-30 12:58:56 +01:00
Eric Pouech 5839fd7f10 winedump: Make dump mode the default. 2006-11-30 12:52:14 +01:00
Eric Pouech c4dc400a88 winedump: Dump the EMF files as any other file types.
Internally, make use of the PRD function for checking available file ranges.
2006-11-30 12:47:16 +01:00
Eric Pouech cac7be486d winedump: Use same scheme for dumping lnk files as the executables (through the PRD macro and a full mapped image). 2006-11-30 12:47:04 +01:00
Eric Pouech 9ef9d62d4c winedump: Use a uniform scheme for dumping file contents. 2006-11-30 12:38:06 +01:00
Eric Pouech 80b09ccf4c winedump: Header file pe.h is useless, get rid of it. 2006-11-30 12:35:33 +01:00
Eric Pouech afe309b7d9 winedump: Changed PE, NE, LE dumping so that they are consistent in terms of dump function signatures.
Avoid passing around the base of the module, but use instead the PRD function.
2006-11-30 12:34:50 +01:00
Dmitry Timoshkov 8e8e8f073d winedump: Add partial COFF library support. 2006-11-28 12:37:54 +01:00
Dmitry Timoshkov 1297e859b3 winedump: Make some data const. 2006-11-28 12:36:01 +01:00
Dmitry Timoshkov 7669035472 winedump: Constify some data. 2006-11-27 13:45:17 +01:00
Dmitry Timoshkov d8725b8850 winedump: Fix a copy/paste typo. 2006-11-27 13:45:12 +01:00
Dmitry Timoshkov 5b0eb0998a winedump: Remove a not needed include. 2006-11-27 13:45:07 +01:00
Dmitry Timoshkov 2d0ca5b2a9 winedump: Make the implementation match the prototype. 2006-11-27 13:45:03 +01:00
Kevin Koltzau 64506c0a51 winedump: Print new DLL characteristics. 2006-11-17 11:14:21 +01:00
Rob Shearman 5daafc73f9 winedump: Fix printf warning in the generated code. 2006-11-06 12:27:18 +01:00
Alexandre Julliard 01ee1418d6 winedump: Avoid some dead code. 2006-10-27 14:19:32 +02:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Michael Stefaniuc 0fb444b58c tools: Remove redundant NULL checks before free() (found by Smatch). 2006-10-10 12:56:20 +02:00
Michael Stefaniuc ba123abf57 winedump: Win64 printf format warning fixes. 2006-10-02 11:55:07 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Detlef Riekenberg 32378f7c83 winedump: Remove the shell script reference from the man-page. 2006-09-29 14:42:27 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Eric Pouech c2f1240a53 winedump: Added -G option to dump raw stabs information from PE files. 2006-08-28 11:44:45 +02:00
Alexandre Julliard a7447794a5 winedump: Get rid of the install script. 2006-08-25 11:50:45 +02:00
Andrew Talbot d4c35ae0cb winedump: Cast-qual warnings fix. 2006-08-24 11:51:51 +02:00
Stefan Leichter 8904529dda winedump: Print each 64bit integers as two 32 bit integers. 2006-08-17 11:20:26 +02:00
Colin Pitrat ab2cdead77 tools: Check for open return code in Perl scripts. 2006-08-10 11:30:37 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Andrew Talbot a695805ced winedump: Write-strings warnings fix. 2006-07-14 12:27:19 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Detlef Riekenberg dbdb8e2ea1 winedump: Add DLL_WINE_PREATTACH to the generated DllMain. 2006-06-21 11:13:13 +02:00
Detlef Riekenberg 52404421ba winedump: Use ntdll as template. 2006-06-21 11:13:07 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech 98783faaec winedump: Constify some pointers. 2006-04-11 12:34:18 +02:00
Alexandre Julliard 1e160c8418 winedump: Added detection of Wine fake dlls.
Also pass the real start of the file to the dump functions, instead of
having the generic code care about the specifics of the individual
file formats.
2006-04-11 12:30:09 +02:00
Marcus Meissner 8ab9a65bac winedump: Use fchmod() instead of doing system(chmod). 2006-04-08 15:53:07 +02:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Hans Leidekker 1017bcc448 winedump: Fix compilation of generated source.
Include config.h in the .c file, not in the .h file.
2006-01-18 17:33:10 +01:00
Eric Pouech a6e27ea9c0 winedump: Const correctness fixes. 2005-12-13 11:11:38 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00