Commit 0dfa1ae2 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winedump: Added MSFT support.

parent d6d0a27f
......@@ -22,7 +22,8 @@ C_SRCS = \
pdb.c \
pe.c \
search.c \
symbol.c
symbol.c \
tlb.c
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
......
......@@ -243,6 +243,7 @@ dumpers[] =
{SIG_LNK, get_kind_lnk, lnk_dump},
{SIG_EMF, get_kind_emf, emf_dump},
{SIG_FNT, get_kind_fnt, fnt_dump},
{SIG_MSFT, get_kind_msft, msft_dump},
{SIG_UNKNOWN, NULL, NULL} /* sentinel */
};
......
......@@ -215,7 +215,8 @@ char *str_toupper (char *str);
const char *get_machine_str(int mach);
/* file dumping functions */
enum FileSig {SIG_UNKNOWN, SIG_DOS, SIG_PE, SIG_DBG, SIG_PDB, SIG_NE, SIG_LE, SIG_MDMP, SIG_COFFLIB, SIG_LNK, SIG_EMF, SIG_FNT};
enum FileSig {SIG_UNKNOWN, SIG_DOS, SIG_PE, SIG_DBG, SIG_PDB, SIG_NE, SIG_LE, SIG_MDMP, SIG_COFFLIB, SIG_LNK,
SIG_EMF, SIG_FNT, SIG_MSFT};
const void* PRD(unsigned long prd, unsigned long len);
unsigned long Offset(const void* ptr);
......@@ -252,6 +253,9 @@ enum FileSig get_kind_pdb(void);
void pdb_dump(void);
enum FileSig get_kind_fnt(void);
void fnt_dump( void );
enum FileSig get_kind_msft(void);
void msft_dump(void);
int codeview_dump_symbols(const void* root, unsigned long size);
int codeview_dump_types_from_offsets(const void* table, const DWORD* offsets, unsigned num_types);
int codeview_dump_types_from_block(const void* table, unsigned long len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment