< Optimizing Linkage Editor (rlink) Options / Output Options >
-cfi_add_func={ <function symbol> | <function address> }[,{ <function symbol> | <function address> }]... |
This option registers the symbol or address of functions in 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.
If the specified symbol of a function is not included in the load module that was optimized by the linker, an error will occur. |
If this option is specified more than once, all specified symbols or addresses of functions are registered in 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. |
To register the sub1 function of the C source code, function address 0x100, and the function sub2 in the C source code in the function list, write this as: |