Relocations are absent

ID PE007 Level ERROR Category Security

Description

Relocations are absent in the executable. This makes the executable more vulnerable to exploits. The ASLR (address space layout randomization) security mitigation is not available for executables without relocations.

Mitigation

Make sure to keep relocations generated by the linker in the executable.

If using Visual C++, do not pass the /FIXED linker option.

Arguments

This rule has no output arguments.