RTEMS | libmisc/stackchk: Add stack smashing protection (!277)
Gedare Bloom (@gedare)
gitlab at rtems.org
Sat Nov 2 04:47:26 UTC 2024
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277 was reviewed by Gedare Bloom
--
Gedare Bloom started a new discussion on spec/build/testsuites/libtests/stackchk05.yml: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114220
> +build-type: test-program
> +cflags:
> +- "-DSTACK_CHK_GUARD_VALUE=0xA7A7A7A7"
this is still the old define?
--
Gedare Bloom started a new discussion on cpukit/libmisc/stackchk/check.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114221
> + __attribute__((weak)) uintptr_t __stack_chk_guard = RTEMS_STACK_CHECKER_GUARD_VALUE;
> +
> +#else
Why have this "DISABLE_STACK_CHK_GUARD_RUNTIME_CONFIG"?
--
Gedare Bloom started a new discussion on testsuites/libtests/stackchk05/stackchk05.scn: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114222
> +*** TEST STACK CHECKER ***
> +BLOWN STACK!!!
How did you run this so that this gets printed?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277
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/20241102/7538c16c/attachment.htm>
More information about the bugs
mailing list