Name
Object File Dumper, tdump.exe
Usage
tdump [-a] [-a7] [-boffset
] [-C] [-d] [-e] [-ea[:v]] [-ed] [-ee[=symbol
]] [-eiid
] [-el] [-em[=symbol
] [-em.[module
]] [-ep] [-er] [-ex] [-h] [-iid
] [-l] [-le[=symbol
]] [-li[=symbol
]] [-m][-o] [-oiid
] [-oxid
] [-q] [-r] [-R] [-s[number
| boffset
| eoffset
| f | s | u ] [-?] [=str
]] [-um] [-v] [-xid
] [inputfile
[listfile
]] [options
...]
Description
The
tdump.exe program displays useful information
about binary files, especially .exe,
.dll, .bpl,
.obj, and .lib files. The
first file named on the command line is the input file to examine.
(You cannot use wildcards to specify more than one file.) The second
filename is the output filename. If you do not supply a
listfile
, tdump
writes to the standard output. The output from
tdump is usually voluminous, so a
listfile
is usually a good idea. Options
and filenames can be mixed in any order.
Unlike switches for the other command-line tools, switches for
tdump are case sensitive. You can start a switch
with a hyphen (-
) or slash (/
).
Unlike when using the compiler, you cannot concatenate switches, even
if you use a slash.
Object files can be in COFF (Common Object File Format) or OMF (Intel’s Object Module Format). COFF is used by Visual C++ and other compilers, but not by any Borland product. OMF is used by Delphi, Borland C++, and other compilers. If you use the wrong options with the wrong file, tdump prints an error message and exits.
For more information about OMF, visit Intel’s developer web site ( ...
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.