Commit Graph

111 Commits

Author SHA1 Message Date
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
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
Kevin Koltzau 64506c0a51 winedump: Print new DLL characteristics. 2006-11-17 11:14:21 +01:00
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Michael Stefaniuc ba123abf57 winedump: Win64 printf format warning fixes. 2006-10-02 11:55:07 +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
Andrew Talbot a695805ced winedump: Write-strings warnings fix. 2006-07-14 12:27:19 +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
Dmitry Timoshkov ea4586215e Ignore the delay load directory size. 2005-10-06 11:34:29 +00:00
Alexandre Julliard f5e49be317 Fixed dumping of the import directory to ignore the directory size. 2005-10-04 15:55:33 +00:00
Dmitry Timoshkov 9e52816b07 Add support for dumping delay load PE data. 2005-10-04 15:49:52 +00:00
Mike McCormack 4f995bd6e6 gcc 4.0 warning fix. 2005-08-08 17:58:41 +00:00
Kevin Koltzau 4029ee29a4 Add support for dumping 64bit PE files. 2005-07-19 11:44:44 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Dmitry Timoshkov 8eb1a29a74 Print data offset additionally to prefix while dumping data. 2005-05-24 11:45:14 +00:00
Robert Shearman c5bc264706 Fix -Wwrite-strings warnings. 2005-05-23 10:28:17 +00:00
Eric Pouech 627aeca259 Created dump.c as a central point for file dumping (includes header
analysis, utility funcs...).
Added support for dumping minidump files.
2005-03-07 11:03:53 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Robert Reif 2e991c351d Added partial VxD support. 2005-01-03 14:48:49 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Eric Pouech 763aff61a0 Another couple of missing static definitions. 2004-12-06 16:44:32 +00:00
Eric Pouech 6c08994c36 Be more strict about checks (especially in RVA translations). 2004-01-15 01:47:46 +00:00
Alexandre Julliard 6d06d3b927 Cosmetics. 2003-11-11 22:04:33 +00:00
Gerald Pfeifer 4f47bbc277 Change some variables from int to unsigned to avoid signedness
mismatches.
2003-10-30 23:09:25 +00:00
Alexandre Julliard e940eb502d Added printing of the target of forwarded exports. 2003-10-27 22:11:57 +00:00
Alexandre Julliard 3ca93dd715 Added dumping of message table resources. 2003-09-10 04:00:20 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jon Griffiths 17c9af5fb6 Support float and function ptr args better, -W warning fixes. 2003-07-22 00:56:31 +00:00
Eric Pouech 6c9a08099d Listed recently added sections' types (resource, tls) for dumping to
usage strings.
Fixed some header size testing.
2003-05-13 04:47:53 +00:00
Alexandre Julliard b203b060c1 Added dumping of the TLS directory. 2003-05-08 04:01:12 +00:00
Alexandre Julliard 6606615f0b Dump string resources in a more readable way. 2003-04-02 05:20:54 +00:00
Jon Griffiths 59182a92c1 Only sort the number of symbols actually found. 2003-03-15 19:36:31 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 16f3c788d0 Preliminary support for dumping NE binaries. 2002-10-02 18:50:09 +00:00
Andreas Mohr 52097fd703 - Implement dumping of COFF debug symbol table.
- Fix winedump syntax description.
- Spelling fixes.
2002-09-11 00:49:48 +00:00
Dmitry Timoshkov f59bebe514 Make winedump compilable by MSVC. 2002-08-26 21:47:41 +00:00
Dmitry Timoshkov c63d98038a Include protection for <unistd.h>, <sys/types.h> and <sys/stat.h>. 2002-08-17 18:28:43 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard ffb4956f4a Added fallback read() for missing/failing mmap(). 2002-06-01 02:47:58 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Steven Edwards 0a2d211139 Added check for sys/mman.h. 2002-05-16 18:29:11 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget 5f30ee0651 Comment out/ifdef out unused code and variables. 2002-01-21 23:37:53 +00:00
Alexandre Julliard 9e458b99d0 Added support for dumping resources. 2002-01-06 19:09:17 +00:00
Eric Pouech de6d4e211b Fixed and globalized some path and module name handling.
Tweaked the demangling of function pointers as function parameters.
2001-11-05 23:54:11 +00:00
Guy L. Albertelli daa6a7a97d - eliminate different segmentation faults.
- when attempting to open a dll, append ".dll" to find it (was
  stripped previously).
- identify named exports so that the ordinal number is "@" in .spec
  file.
- setup output dll name prior to creating ordinal symbols.
- don't overlay the named exports with the ordinal exports.
- correct test for last symbol.
- fix generated install script to match current make files.
2001-10-16 21:46:58 +00:00
Eric Pouech f19887971a Some dumb fixes. 2001-09-21 21:03:53 +00:00
Eric Pouech 5bdbc1a37e Fixed demangling invocation.
Be a bit more verbose on implemented features.
2001-09-17 20:26:27 +00:00
Alexandre Julliard 705bfe9aac Fixed dumping of dll export table. 2001-09-14 00:16:12 +00:00
Eric Pouech d786a12d58 Added PE dump capabilities to specmaker and renamed specmaker into
winedump.
2001-09-07 16:04:38 +00:00