Dynamic load library does not have DLL flag set

ID PE023 Level WARNING Category Configuration

Description

The executable with the dynamic load library extension does not have the DLL flag set in the file header. This does not make sense, as it would be impossible to load such library.

Mitigation

  • Do not change the extension of the executable file after building it.
  • If a dynamic load library is required, it should be build with the DLL flag set in the file header by the linker.

Arguments

This rule has the following output arguments:

  • extension - Executable file extension