RTEMS | Draft: libmisc/stackchk: Add stack smashing protection (!277)

Mohamed Hassan (@Hamzi) gitlab at rtems.org
Tue Nov 26 21:02:10 UTC 2024




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

 >   */
 >  extern const Stack_checker_Reporter_handler Stack_checker_Reporter;
 >  
 > +/**
 > + * @brief Stack smashing protecting function
 > + * 
 > + * @note This function is invoked if a stack overflow is detected
 > + *       if GCC flag -fstack-protector-* is enabled.
 > + */
 > +void __stack_chk_fail(void);

Function's prototype will be removed from `stackchk.h`.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241126/5e6871e1/attachment.htm>


More information about the bugs mailing list