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


This option specifies object files to be exempted from the function list for use in detecting illegal indirect function calls.

[Specification format]

-CFI_IGNORE_Module=suboption[, ...]
[V1.06 or earlier]
  suboption := file
[V1.07 or later]
  suboption := file[(module[, ...])]

 

-

Interpretation when omitted

None

[Detailed description]

-

[V1.06 or earlier]

This option specifies object files to be exempted from the function list for use in detecting illegal indirect function calls.
[V1.07 or later]

This option specifies object files and library files to be exempted from the function list for use in detecting illegal indirect function calls. The module name in a library can be used to specify a library file.

For details on detecting illegal indirect function calls, refer to the item on the '-control_flow_integrity [Professional Edition only] [V1.06 or later]' compiler option.

-

If the specified object file does not exist, an error will occur.

-

If this option is specified more than once, the functions of all specified object files are exempted from the function list.

-

When this option is used, the -CFI option must also be specified. If the -CFI option is not specified, an error will occur.

[Example of use]

-

To remove functions in a.obj, b.obj, and c.obj from the function list, write this as:

>rlink -cfi -cfi_ignore_module=a.obj,b.obj -cfi_ignore_module=c.obj

-

[V1.07 or later]

To remove functions in the c module in the b.lib library from the function list, code as:

>rlink -cfi -cfi_ignore_module=b.lib(c) -lib=b.lib a.obj