Everything

 

-CFI [Professional Edition only] [V1.06 or later]


This option generates the function list for use in detecting illegal indirect function calls.

[Specification format]

-CFI

 

-

Interpretation when omitted

The function list for use in detecting illegal indirect function calls is not generated.

[Detailed description]

-

This option selects generation of the function list for use in detecting illegal indirect function calls.
For details on detecting illegal indirect function calls, refer to the item on the '-control_flow_integrity [Professional Edition only] [V1.06 or later]' compile option.
Since the linker generates the function list for the .constf section, the .constf section must be specified with the -start option at the time of linking.

-

When an object file is created with -control_flow_integrity specified at the time of compilation, the linker generates the function list according to information that the compiler has automatically extracted.

-

When an object file is created without -control_flow_integrity specified at the time of compilation, the linker generates function lists for all symbols that were resolved for relocation in the object file.

-

To add specific functions to the function list, specify the -CFI_ADD_Func link option.
When a function in the specific object file is to be exempted from the function list, specify the -CFI_IGNORE_Module link option.