Please change GCC stack canary to be weak
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-01-19 4:36 AM
Hi
Could you please change the library implementations so that
void __stack_chk_fail(void)
and
unsigned long __stack_chk_guard
are defined as weak?
I have tested it with GCC 11.3.rel1 and 12.3.rel1 and on both i get "multiple definitions of __stack_chk_fail
Right now i cant have my own implementations which makes it less useful.
Have a look at this post.
https://mcuoneclipse.com/2019/09/28/stack-canaries-with-gcc-checking-for-stack-overflow-at-runtime/
Best regards
Martin
Labels:
- Labels:
-
STM32CubeIDE
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-06-26 10:25 AM
Can this get any attention?
