Commit graph

58 commits

Author SHA1 Message Date
Eric Pouech
8a9117ef68 winedump: Add support for dumping CodeView types records found in IPI stream (#4).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:58:59 +02:00
Eric Pouech
36961eef16 winedump: Add support for dumping filestatic Codeview records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:58:04 +02:00
Eric Pouech
d6aff64ccf winedump: Add support for dumping heap_alloc_site CodeView records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:57:53 +02:00
Eric Pouech
872c61ff97 winedump: Add support for dumping trampoline codeview records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:57:53 +02:00
Eric Pouech
45d4021ff5 winedump: Add support for buildinfo codeview record.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:57:52 +02:00
Eric Pouech
f5800a7849 winedump: Add support for CALLERS/CALLEES/INLINEES codeview records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:57:52 +02:00
Eric Pouech
3935234265 winedump: Add support for dumping CodeView records about site information.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:57:47 +02:00
Eric Pouech
de615a11e5 winedump: Print symbol id when dumping symbols.
In CV records, the cv_itemid is used to reference
other symbols, so we need to print out the symbol id.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:56:24 +02:00
Eric Pouech
d1e1d80c0e winedump: Add support for S_DEFRANGE* family of CodeView records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:56:13 +02:00
Eric Pouech
5c9c342858 winedump: Add support for dumping S_LOCAL symbol record.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:56:09 +02:00
Eric Pouech
0003c64e5b winedump: Correctly support flags in public records (V1 and V2).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-24 19:55:08 +02:00
Eric Pouech
bf6ac26f75 winedump: Fix public and data/proc ref definitions of Codeview records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:05:14 +02:00
Eric Pouech
7499b98ec8 winedump: Update support for S_COMPILE* records.
Don't mix up S_COMPILE records with compiland information.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:04:36 +02:00
Eric Pouech
9adf73be7e dbghelp:: Add proper support for S_OBJNAME records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:03:27 +02:00
Eric Pouech
fe9f0c7fcf winedump: Add some new bits in UDT's property field.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:02:17 +02:00
Eric Pouech
a9c552fe7f winedump: Dump calling convention attributes for CodeView.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:01:59 +02:00
Eric Pouech
1d9c8846b9 winedump: Display function attributes in function/methods codeview records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:01:15 +02:00
Eric Pouech
b5b2031078 winedump: Add a bunch of new CPU definitions for PDB.
Update cvinfo.h accordingly.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:01:04 +02:00
Eric Pouech
fca405402d winedump: Add more supported languages from .pdb COMPILE records.
Update cvconst.h accordingly.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:00:54 +02:00
Eric Pouech
bde14eac32 winedump: Move string conversion of machine and language into dedicated helpers.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:00:48 +02:00
Mark Harmstone
e5c289f29d mscvpdb.h: Use official names for CodeView constants.
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52: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
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
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
Francois Gouget
f635beea75 winedump: Remove unneeded NONAMELESSXXX directives. 2015-04-03 11:22:10 +09:00
Frédéric Delanoy
cd99b5a773 winedump: Use BOOL type where appropriate. 2013-12-04 11:05:07 +01:00
Gerald Pfeifer
64de0876e4 winedump: Remove unused parameter from codeview_dump_linetab(). codeview_dump_linetab(). 2011-12-19 20:15:52 +01: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
8d981b87f1 dbghelp: Proper support and definition for S_REGREL_V3. 2010-10-11 17:11:24 +02:00
Mikhail Maroukhine
3f1c2d5e35 tools: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:19:02 +02: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
721b88f603 winedump: Print detailed information about class/struct properties. 2008-11-10 11:59:17 +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
13585ddd71 winedump: Fully dump the compiland (V3) structure out of .pdb files. 2008-05-28 11:42:00 +02:00
Eric Pouech
aaa2862bf9 dbghelp: Added preliminary support for a strange stack variable object. 2008-02-07 11:59:52 +01:00
Michael Stefaniuc
483d213eca tools: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:57 +02:00
Joris Huizer
4bfd7059f2 winedump: sign-compare fixes. 2007-03-05 15:35:25 +01:00