EXE file has DLL flag set

ID PE006 Level WARNING Category Configuration

Description

The file with the executable extension (.exe) has the DLL flag set in the file header. This does not make sense.

Mitigation

  • Do not change the extension of an executable file name after building it.
  • If an executable is needed, it should be built without the DLL flag set in the file header by the linker.

Arguments

This rule has the following output arguments:

  • extension - Executable file extension