Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

SDK • Re: Enabling Stack Smashing Protection for debugging

$
0
0
Is this perhaps some CMake quirk? Since simply adding following to CMakeLists.txt works for me :

Code:

target_compile_options(myproject PRIVATE -fstack-protector-all)
I'm using Pico-SDK v2.1.1 and GCC toolchain from ARM (14.2.Rel1)

Statistics: Posted by vadelma-pi — Thu May 15, 2025 5:27 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles