Everything

-cfi [Professional Edition only] [V2.08.00 or later]


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-cfi

 

-

Interpretation when omitted

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

[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] [V2.08.00 or later]' compile option.

-

Since the linker generates the function list for the C section, the C 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 optimizing linkage editor (rlink) option.

When a function in the specific object file is to be exempted from the function list, specify the -cfi_ignore_module optimizing linkage editor (rlink) option.