Mohamed Hassan commented on a discussion on cpukit/include/rtems/stackchk.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114902

 > + * Define stack check guard pattern
 > + */
 > +#ifndef RTEMS_STACK_CHECKER_GUARD_VALUE
 > +  #define RTEMS_STACK_CHECKER_GUARD_VALUE 0xDEADBEEF
 > +#endif
 > +
 > +  __attribute__((weak)) uintptr_t __stack_chk_guard = 
 > RTEMS_STACK_CHECKER_GUARD_VALUE;
 > +
 > +/**
 > + * @brief Stack smashing protecting function
 > + * 
 > + * @note This function is called when a stack overflow occurs.
 > + *       User application can override it's default implementation.
 > + * 
 > + * @note This function is invoked by defining the GCC flag
 > + *       -fstack-protection options.

Understood, it will be modified.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114902
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to