Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Stack smashing detection function in the professional edition (CC-RL)

Last Updated:05/10/2017

Question:

I am using RL78 Compiler CC-RL.
Is the stack smashing detection function, the additional function of the professional edition, able to work (perform a detection) only for debugging?

Answer:

The stack smashing detection function generates codes that can detect stack smashing, and can be used for other than debugging.
You can find the usage examples of the stack smashing detection function in the following document:

- Compiler CC-RL User's Manual
 2.5.1 Compile options
  Code generation changing
   -stack_protector/-stack_protector_all

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family