Share via


/SYMBOLS (Windows Embedded CE 6.0)

1/6/2010

This option displays the COFF symbol table.

Symbol tables exist in all object files. A COFF symbol table appears in an image file only if it is linked with /DEBUG.

/SYMBOLS

When you use the /SYMBOLS option, the DUMPBIN displays output in columns that have information relevant to users (for lines that begin with a symbol number).

The following list describes how the information appears in the columns:

  • The first three-digit number is the symbol index/number.
  • If the third column contains SECTx, the symbol is defined in that section of the object file. If UNDEF appears, it is not defined in that object and must be resolved elsewhere.
  • The fifth column (Static, External) tells whether the symbol is visible only within that object, or whether it is public (visible externally).
    A Static symbol, _sym, wouldn't be linked to a Public symbol _sym; these would be two different instances of functions named _sym.
  • The last column in a numbered line is the symbol name, both decorated and undecorated.

The following code example shows the DUMPBIN output using the /SYMBOLS option.

Dump of file main.obj
File Type: COFF OBJECT

COFF   SYMBOL     TABLE
000   00000000   DEBUG   notype     Filename   | .file main.cpp
002   000B1FDB   ABS      notype     Static     | @comp.id
003   00000000   SECT1    notype     Static     | .drectve
 Section length  26, #relocs   0, #linenums  0, checksum 722C964F
005   00000000   SECT2    notype     Static     | .text
 Section length  23, #relocs   1, #linenums  0, checksum 459FF65F, selection  1 (pick no duplicates)
007   00000000   SECT2    notype ()  External   | _main
008   00000000   UNDEF    notype ()  External   | ?MyDump@@YAXXZ (void __cdecl MyDump(void))

String Table Size = 0x10 bytes

Summary

      26 .drectve
      23 .text

Remarks

Only the /HEADERS DUMPBIN option is available for use on files produced with the /GL compiler option.

See Also

Concepts

DUMPBIN Options