[6/6] Add a partial COFF library support to the winedump

Dmitry Timoshkov dmitry at codeweavers.com
Sun Nov 26 04:30:27 CST 2006


"Dmitry Timoshkov" <dmitry at codeweavers.com> wrote:

>> I think it's a bad idea to "force" the kind of file on the command line 
>> for dumping
>> I'd rather see winedump guess the file format based on the file header, 
>> as we do for .exe, .dll, .mdmp, .pdb, .dbg...
> 
> I thought about that, but that's definitely could be done as a separate
> work.

I'd go even further by introducing is_lnk(const char *fname) and similar
is_emf(), is_pe(), is_le() functions as a general recognition interface
in the option_table[]. Also I'd get rid the "dump" command line switch
altogether and made the DUMP the default mode.

-- 
Dmitry.



More information about the wine-devel mailing list