DUMPBIN /DIRECTIVES

This option asks DUMPBIN to list command-line directives in COFF objects.

Syntax

No arguments are anticipated. The option is /directives only.

Behaviour

This option applies only to COFF objects (whether as self-standing files or embedded in a library). Sections in a COFF object may be merely informational, particularly to provide LINK with command-line directives to use when linking the object into an executable.

For each applicable input file, for each eligible section (as determined by the /section option), if the /directives option is active and the section is named .drectve specifically, then DUMPBIN adds to its dump of this section a representation of the section’s data as command-line directives. The section name is case-sensitive.