RTEMS | Draft: libmisc/stackchk: Add stack smashing protection (!277)
Mohamed Hassan (@Hamzi)
gitlab at rtems.org
Tue Nov 26 20:44:11 UTC 2024
Mohamed Hassan commented on a discussion on cpukit/include/rtems/confdefs/extensions.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_115850
> #endif
> #endif
>
> +#ifndef RTEMS_STACK_CHECKER_GUARD_VALUE
> + #define RTEMS_STACK_CHECKER_GUARD_VALUE 0xDEADBEEF
> +#endif
> +
> +RTEMS_WEAK uintptr_t __stack_chk_guard =
> +RTEMS_STACK_CHECKER_GUARD_VALUE;
Alright, will be renamed.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_115850
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/1af60ea5/attachment.htm>
More information about the bugs
mailing list