From 73fb18f2e918271e3ccfcd33fc057588cbc10ec3 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Tue, 1 Mar 2022 23:51:29 -0600 Subject: [PATCH] Update: Add test mode and provide -fstack-protector flag. The recently added Github action for running tests is failing due to a stack overflow bug. Compile with ssp explicitly enabled during testing to help better identify these cases. The problem has not yet been identified and does not reproduce locally. More investigation on that is be required. This overflow happens while executing the cmocka based test. There is the possibility that the overflow is in cmocka or as a result of how I am using cmocka. --- build/level_0/settings | 3 ++- build/level_1/settings | 3 ++- build/level_2/settings | 3 ++- build/monolithic/settings | 3 ++- build/scripts/test.sh | 20 ++++++++++---------- level_0/f_account/data/build/settings | 3 ++- level_0/f_account/data/build/settings-mocks | 3 ++- level_0/f_account/data/build/settings-tests | 3 ++- level_0/f_capability/data/build/settings | 3 ++- level_0/f_capability/data/build/settings-mocks | 3 ++- level_0/f_capability/data/build/settings-tests | 3 ++- level_0/f_color/data/build/settings | 3 ++- level_0/f_color/data/build/settings-mocks | 3 ++- level_0/f_color/data/build/settings-tests | 3 ++- level_0/f_console/data/build/settings | 3 ++- level_0/f_console/data/build/settings-tests | 3 ++- level_0/f_control_group/data/build/settings | 3 ++- level_0/f_control_group/data/build/settings-tests | 3 ++- level_0/f_conversion/data/build/settings | 3 ++- level_0/f_conversion/data/build/settings-mocks | 3 ++- level_0/f_conversion/data/build/settings-tests | 3 ++- level_0/f_directory/data/build/settings | 3 ++- level_0/f_environment/data/build/settings | 3 ++- level_0/f_execute/data/build/settings | 3 ++- level_0/f_file/data/build/settings | 3 ++- level_0/f_fss/data/build/settings | 3 ++- level_0/f_iki/data/build/settings | 3 ++- level_0/f_limit/data/build/settings | 3 ++- level_0/f_memory/data/build/settings | 3 ++- level_0/f_memory/data/build/settings-tests | 3 ++- level_0/f_path/data/build/settings | 3 ++- level_0/f_pipe/data/build/settings | 3 ++- level_0/f_print/data/build/settings | 3 ++- level_0/f_serialize/data/build/settings | 3 ++- level_0/f_signal/data/build/settings | 3 ++- level_0/f_socket/data/build/settings | 3 ++- level_0/f_status/data/build/settings | 3 ++- level_0/f_status_string/data/build/settings | 3 ++- level_0/f_string/data/build/settings | 3 ++- level_0/f_thread/data/build/settings | 3 ++- level_0/f_type/data/build/settings | 3 ++- level_0/f_type_array/data/build/settings | 3 ++- level_0/f_type_array/data/build/settings-tests | 3 ++- level_0/f_utf/data/build/settings | 3 ++- level_1/fl_control_group/data/build/settings | 3 ++- level_1/fl_conversion/data/build/settings | 3 ++- level_1/fl_directory/data/build/settings | 3 ++- level_1/fl_environment/data/build/settings | 3 ++- level_1/fl_execute/data/build/settings | 3 ++- level_1/fl_fss/data/build/settings | 3 ++- level_1/fl_iki/data/build/settings | 3 ++- level_1/fl_print/data/build/settings | 3 ++- level_1/fl_signal/data/build/settings | 3 ++- level_1/fl_string/data/build/settings | 3 ++- level_1/fl_utf/data/build/settings | 3 ++- level_1/fl_utf_file/data/build/settings | 3 ++- level_2/fll_control_group/data/build/settings | 3 ++- level_2/fll_error/data/build/settings | 3 ++- level_2/fll_execute/data/build/settings | 3 ++- level_2/fll_file/data/build/settings | 3 ++- level_2/fll_fss/data/build/settings | 3 ++- level_2/fll_fss_status_string/data/build/settings | 3 ++- level_2/fll_iki/data/build/settings | 3 ++- level_2/fll_path/data/build/settings | 3 ++- level_2/fll_print/data/build/settings | 3 ++- level_2/fll_program/data/build/settings | 3 ++- level_2/fll_status_string/data/build/settings | 3 ++- level_3/byte_dump/data/build/settings | 3 ++- level_3/control/data/build/settings | 3 ++- level_3/controller/data/build/settings | 3 ++- level_3/fake/data/build/settings | 3 ++- level_3/firewall/data/build/settings | 3 ++- level_3/fss_basic_list_read/data/build/settings | 3 ++- level_3/fss_basic_list_write/data/build/settings | 3 ++- level_3/fss_basic_read/data/build/settings | 3 ++- level_3/fss_basic_write/data/build/settings | 3 ++- level_3/fss_embedded_list_read/data/build/settings | 3 ++- level_3/fss_embedded_list_write/data/build/settings | 3 ++- level_3/fss_extended_list_read/data/build/settings | 3 ++- level_3/fss_extended_list_write/data/build/settings | 3 ++- level_3/fss_extended_read/data/build/settings | 3 ++- level_3/fss_extended_write/data/build/settings | 3 ++- level_3/fss_identify/data/build/settings | 3 ++- level_3/fss_payload_read/data/build/settings | 3 ++- level_3/fss_payload_write/data/build/settings | 3 ++- level_3/fss_status_code/data/build/settings | 3 ++- level_3/iki_read/data/build/settings | 3 ++- level_3/iki_write/data/build/settings | 3 ++- level_3/status_code/data/build/settings | 3 ++- level_3/utf8/data/build/settings | 3 ++- 90 files changed, 188 insertions(+), 99 deletions(-) diff --git a/build/level_0/settings b/build/level_0/settings index 3f3ee7c..84a3446 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes level level_threadless clang +modes level level_threadless clang test modes_default level build_compiler gcc @@ -140,6 +140,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags-level -pthread flags_library -fPIC flags_library_shared diff --git a/build/level_1/settings b/build/level_1/settings index 7908f2e..37ba87d 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes level level_threadless clang +modes level level_threadless clang test modes_default level build_compiler gcc @@ -111,6 +111,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags-level -pthread flags_library -fPIC flags_library_shared diff --git a/build/level_2/settings b/build/level_2/settings index 82e47ce..0b0f0b4 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes level level_threadless clang +modes level level_threadless clang test modes_default level build_compiler gcc @@ -110,6 +110,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags-level -pthread flags_library -fPIC flags_library_shared diff --git a/build/monolithic/settings b/build/monolithic/settings index 63a7d93..013bfad 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes monolithic monolithic_threadless clang +modes monolithic monolithic_threadless clang test modes_default monolithic build_compiler gcc @@ -186,6 +186,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags-monolithic -pthread flags_library -fPIC flags_library_shared diff --git a/build/scripts/test.sh b/build/scripts/test.sh index c4ffaad..7017438 100644 --- a/build/scripts/test.sh +++ b/build/scripts/test.sh @@ -433,25 +433,25 @@ test_operate_build_project() { fi if [[ $build_compiler == "gcc" ]] ; then - PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m $mode clean build + PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m $mode -m test clean build else - PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m $mode -m $build_compiler clean build + PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m $mode -m test -m $build_compiler clean build fi else if [[ $verbosity == "debug" ]] ; then echo if [[ $build_compiler == "gcc" ]] ; then - echo "./bootstrap.sh $verbose $context -w \"$destination\" -m $mode build" + echo "./bootstrap.sh $verbose $context -w \"$destination\" -m $mode -m test build" else - echo "./bootstrap.sh $verbose $context -w \"$destination\" -m $mode -m $build_compiler build" + echo "./bootstrap.sh $verbose $context -w \"$destination\" -m $mode -m test -m $build_compiler build" fi fi if [[ $build_compiler == "gcc" ]] ; then - ./bootstrap.sh $verbose $context -w "$destination" -m $mode build + ./bootstrap.sh $verbose $context -w "$destination" -m $mode -m test build else - ./bootstrap.sh $verbose $context -w "$destination" -m $mode -m $build_compiler build + ./bootstrap.sh $verbose $context -w "$destination" -m $mode -m test -m $build_compiler build fi fi @@ -612,16 +612,16 @@ test_operate_tests() { echo if [[ $build_compiler == "gcc" ]] ; then - echo "PATH=\"$env_path\" LD_LIBRARY_PATH=\"$env_libs\" fake $verbose $context -w \"$destination\" -m individual clean make -f testfile" + echo "PATH=\"$env_path\" LD_LIBRARY_PATH=\"$env_libs\" fake $verbose $context -w \"$destination\" -m individual -m test clean make -f testfile" else - echo "PATH=\"$env_path\" LD_LIBRARY_PATH=\"$env_libs\" fake $verbose $context -w \"$destination\" -m individual -m $build_compiler clean make -f testfile" + echo "PATH=\"$env_path\" LD_LIBRARY_PATH=\"$env_libs\" fake $verbose $context -w \"$destination\" -m individual -m test -m $build_compiler clean make -f testfile" fi fi if [[ $build_compiler == "gcc" ]] ; then - PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m individual clean make -f testfile + PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m individual -m test clean make -f testfile else - PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m individual -m $build_compiler clean make -f testfile + PATH="$env_path" LD_LIBRARY_PATH="$env_libs" fake $verbose $context -w "$destination" -m individual -m test -m $build_compiler clean make -f testfile fi if [[ $? -ne 0 ]] ; then diff --git a/level_0/f_account/data/build/settings b/level_0/f_account/data/build/settings index 010cf4d..2e8bdc8 100644 --- a/level_0/f_account/data/build/settings +++ b/level_0/f_account/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_account/data/build/settings-mocks b/level_0/f_account/data/build/settings-mocks index 649057f..bfd4413 100644 --- a/level_0/f_account/data/build/settings-mocks +++ b/level_0/f_account/data/build/settings-mocks @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -56,6 +56,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_account/data/build/settings-tests b/level_0/f_account/data/build/settings-tests index b4aa426..3a140bb 100644 --- a/level_0/f_account/data/build/settings-tests +++ b/level_0/f_account/data/build/settings-tests @@ -8,7 +8,7 @@ version_micro 9 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -42,6 +42,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_capability/data/build/settings b/level_0/f_capability/data/build/settings index 8266199..12d627e 100644 --- a/level_0/f_capability/data/build/settings +++ b/level_0/f_capability/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -85,6 +85,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_capability/data/build/settings-mocks b/level_0/f_capability/data/build/settings-mocks index 134751f..1b263d0 100644 --- a/level_0/f_capability/data/build/settings-mocks +++ b/level_0/f_capability/data/build/settings-mocks @@ -18,7 +18,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -66,6 +66,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_capability/data/build/settings-tests b/level_0/f_capability/data/build/settings-tests index 01c375b..3820e47 100644 --- a/level_0/f_capability/data/build/settings-tests +++ b/level_0/f_capability/data/build/settings-tests @@ -8,7 +8,7 @@ version_micro 9 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -43,6 +43,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_color/data/build/settings b/level_0/f_color/data/build/settings index 759228d..9184cdc 100644 --- a/level_0/f_color/data/build/settings +++ b/level_0/f_color/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_color/data/build/settings-mocks b/level_0/f_color/data/build/settings-mocks index 6089d88..46a7a3b 100644 --- a/level_0/f_color/data/build/settings-mocks +++ b/level_0/f_color/data/build/settings-mocks @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -60,6 +60,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_color/data/build/settings-tests b/level_0/f_color/data/build/settings-tests index 1f2af2e..eb44c88 100644 --- a/level_0/f_color/data/build/settings-tests +++ b/level_0/f_color/data/build/settings-tests @@ -8,7 +8,7 @@ version_micro 9 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -41,6 +41,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_console/data/build/settings b/level_0/f_console/data/build/settings index adbbef3..570010a 100644 --- a/level_0/f_console/data/build/settings +++ b/level_0/f_console/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_console/data/build/settings-tests b/level_0/f_console/data/build/settings-tests index c1eeedc..422e789 100644 --- a/level_0/f_console/data/build/settings-tests +++ b/level_0/f_console/data/build/settings-tests @@ -8,7 +8,7 @@ version_micro 9 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -41,6 +41,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_control_group/data/build/settings b/level_0/f_control_group/data/build/settings index 057d1a6..cdadb7f 100644 --- a/level_0/f_control_group/data/build/settings +++ b/level_0/f_control_group/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_control_group/data/build/settings-tests b/level_0/f_control_group/data/build/settings-tests index a099f40..9b6e344 100644 --- a/level_0/f_control_group/data/build/settings-tests +++ b/level_0/f_control_group/data/build/settings-tests @@ -8,7 +8,7 @@ version_micro 9 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -41,6 +41,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_conversion/data/build/settings b/level_0/f_conversion/data/build/settings index 54ff26b..a163a87 100644 --- a/level_0/f_conversion/data/build/settings +++ b/level_0/f_conversion/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_conversion/data/build/settings-mocks b/level_0/f_conversion/data/build/settings-mocks index 771c287..5d079b4 100644 --- a/level_0/f_conversion/data/build/settings-mocks +++ b/level_0/f_conversion/data/build/settings-mocks @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -60,6 +60,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_conversion/data/build/settings-tests b/level_0/f_conversion/data/build/settings-tests index 4e873f0..312c455 100644 --- a/level_0/f_conversion/data/build/settings-tests +++ b/level_0/f_conversion/data/build/settings-tests @@ -8,7 +8,7 @@ version_micro 9 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -41,6 +41,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_directory/data/build/settings b/level_0/f_directory/data/build/settings index 0cc7d89..236f486 100644 --- a/level_0/f_directory/data/build/settings +++ b/level_0/f_directory/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_environment/data/build/settings b/level_0/f_environment/data/build/settings index f449b6f..f1fb8ca 100644 --- a/level_0/f_environment/data/build/settings +++ b/level_0/f_environment/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_execute/data/build/settings b/level_0/f_execute/data/build/settings index e386446..cfef493 100644 --- a/level_0/f_execute/data/build/settings +++ b/level_0/f_execute/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_file/data/build/settings b/level_0/f_file/data/build/settings index 6562c7b..09c34e7 100644 --- a/level_0/f_file/data/build/settings +++ b/level_0/f_file/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_fss/data/build/settings b/level_0/f_fss/data/build/settings index 9e27199..27a20fd 100644 --- a/level_0/f_fss/data/build/settings +++ b/level_0/f_fss/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_iki/data/build/settings b/level_0/f_iki/data/build/settings index 80dc3a6..18cfd2b 100644 --- a/level_0/f_iki/data/build/settings +++ b/level_0/f_iki/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_limit/data/build/settings b/level_0/f_limit/data/build/settings index cf2226b..8e2512e 100644 --- a/level_0/f_limit/data/build/settings +++ b/level_0/f_limit/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_memory/data/build/settings b/level_0/f_memory/data/build/settings index 71b618c..e9240cb 100644 --- a/level_0/f_memory/data/build/settings +++ b/level_0/f_memory/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_memory/data/build/settings-tests b/level_0/f_memory/data/build/settings-tests index c324385..7f1363d 100644 --- a/level_0/f_memory/data/build/settings-tests +++ b/level_0/f_memory/data/build/settings-tests @@ -6,7 +6,7 @@ version_major 0 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -39,6 +39,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index 504fdfb..6043671 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_pipe/data/build/settings b/level_0/f_pipe/data/build/settings index ac9662a..e4622fc 100644 --- a/level_0/f_pipe/data/build/settings +++ b/level_0/f_pipe/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_print/data/build/settings b/level_0/f_print/data/build/settings index cda71c3..9688209 100644 --- a/level_0/f_print/data/build/settings +++ b/level_0/f_print/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_serialize/data/build/settings b/level_0/f_serialize/data/build/settings index 7c1e9c3..58e44c5 100644 --- a/level_0/f_serialize/data/build/settings +++ b/level_0/f_serialize/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_signal/data/build/settings b/level_0/f_signal/data/build/settings index a5a7ef1..949ca2c 100644 --- a/level_0/f_signal/data/build/settings +++ b/level_0/f_signal/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_socket/data/build/settings b/level_0/f_socket/data/build/settings index 3ca94f9..1255d7f 100644 --- a/level_0/f_socket/data/build/settings +++ b/level_0/f_socket/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_status/data/build/settings b/level_0/f_status/data/build/settings index 2af374f..448b3d7 100644 --- a/level_0/f_status/data/build/settings +++ b/level_0/f_status/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_status_string/data/build/settings b/level_0/f_status_string/data/build/settings index 1f33a8f..bd81b4f 100644 --- a/level_0/f_status_string/data/build/settings +++ b/level_0/f_status_string/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_string/data/build/settings b/level_0/f_string/data/build/settings index e288a20..2329764 100644 --- a/level_0/f_string/data/build/settings +++ b/level_0/f_string/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_thread/data/build/settings b/level_0/f_thread/data/build/settings index 57a927a..0587efa 100644 --- a/level_0/f_thread/data/build/settings +++ b/level_0/f_thread/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_type/data/build/settings b/level_0/f_type/data/build/settings index a74b66a..f4db678 100644 --- a/level_0/f_type/data/build/settings +++ b/level_0/f_type/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_type_array/data/build/settings b/level_0/f_type_array/data/build/settings index 898f824..8db5207 100644 --- a/level_0/f_type_array/data/build/settings +++ b/level_0/f_type_array/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -85,6 +85,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_0/f_type_array/data/build/settings-tests b/level_0/f_type_array/data/build/settings-tests index 773a061..4fcb2bd 100644 --- a/level_0/f_type_array/data/build/settings-tests +++ b/level_0/f_type_array/data/build/settings-tests @@ -6,7 +6,7 @@ version_major 0 version_file major version_target major -modes individual level monolithic clang +modes individual level monolithic clang test modes_default individual build_compiler gcc @@ -71,6 +71,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_program -fPIE flags_program_shared flags_program_static diff --git a/level_0/f_utf/data/build/settings b/level_0/f_utf/data/build/settings index 9a8d652..465b699 100644 --- a/level_0/f_utf/data/build/settings +++ b/level_0/f_utf/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_control_group/data/build/settings b/level_1/fl_control_group/data/build/settings index 8f2920b..48d8c78 100644 --- a/level_1/fl_control_group/data/build/settings +++ b/level_1/fl_control_group/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_conversion/data/build/settings b/level_1/fl_conversion/data/build/settings index 3af05ff..aa373ea 100644 --- a/level_1/fl_conversion/data/build/settings +++ b/level_1/fl_conversion/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_directory/data/build/settings b/level_1/fl_directory/data/build/settings index ddafe60..7579b5c 100644 --- a/level_1/fl_directory/data/build/settings +++ b/level_1/fl_directory/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_environment/data/build/settings b/level_1/fl_environment/data/build/settings index 8c5b6cc..663a021 100644 --- a/level_1/fl_environment/data/build/settings +++ b/level_1/fl_environment/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_execute/data/build/settings b/level_1/fl_execute/data/build/settings index 51551ff..7ead936 100644 --- a/level_1/fl_execute/data/build/settings +++ b/level_1/fl_execute/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -85,6 +85,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_fss/data/build/settings b/level_1/fl_fss/data/build/settings index e1d1840..5332087 100644 --- a/level_1/fl_fss/data/build/settings +++ b/level_1/fl_fss/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_iki/data/build/settings b/level_1/fl_iki/data/build/settings index f49fdd2..6345afe 100644 --- a/level_1/fl_iki/data/build/settings +++ b/level_1/fl_iki/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_print/data/build/settings b/level_1/fl_print/data/build/settings index bf6b2c3..95b72dd 100644 --- a/level_1/fl_print/data/build/settings +++ b/level_1/fl_print/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_signal/data/build/settings b/level_1/fl_signal/data/build/settings index c3f7e36..0bd0ad2 100644 --- a/level_1/fl_signal/data/build/settings +++ b/level_1/fl_signal/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_string/data/build/settings b/level_1/fl_string/data/build/settings index 09f6beb..3ee7acb 100644 --- a/level_1/fl_string/data/build/settings +++ b/level_1/fl_string/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_utf/data/build/settings b/level_1/fl_utf/data/build/settings index f38e1c0..353a2aa 100644 --- a/level_1/fl_utf/data/build/settings +++ b/level_1/fl_utf/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_1/fl_utf_file/data/build/settings b/level_1/fl_utf_file/data/build/settings index 3e147d6..07afff2 100644 --- a/level_1/fl_utf_file/data/build/settings +++ b/level_1/fl_utf_file/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_control_group/data/build/settings b/level_2/fll_control_group/data/build/settings index f06daa1..3a94014 100644 --- a/level_2/fll_control_group/data/build/settings +++ b/level_2/fll_control_group/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_error/data/build/settings b/level_2/fll_error/data/build/settings index b8b8cdb..37cefbf 100644 --- a/level_2/fll_error/data/build/settings +++ b/level_2/fll_error/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_execute/data/build/settings b/level_2/fll_execute/data/build/settings index 9ce42e3..303afd9 100644 --- a/level_2/fll_execute/data/build/settings +++ b/level_2/fll_execute/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual individual_threadless clang +modes individual individual_threadless clang test modes_default individual build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags-individual -pthread flags_library -fPIC flags_library_shared diff --git a/level_2/fll_file/data/build/settings b/level_2/fll_file/data/build/settings index dd56c3c..f046795 100644 --- a/level_2/fll_file/data/build/settings +++ b/level_2/fll_file/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_fss/data/build/settings b/level_2/fll_fss/data/build/settings index acde3d1..bd13ddd 100644 --- a/level_2/fll_fss/data/build/settings +++ b/level_2/fll_fss/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_fss_status_string/data/build/settings b/level_2/fll_fss_status_string/data/build/settings index 3d74b31..f4e206a 100644 --- a/level_2/fll_fss_status_string/data/build/settings +++ b/level_2/fll_fss_status_string/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_iki/data/build/settings b/level_2/fll_iki/data/build/settings index a25a380..64e7b2a 100644 --- a/level_2/fll_iki/data/build/settings +++ b/level_2/fll_iki/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_path/data/build/settings b/level_2/fll_path/data/build/settings index ef9abe6..da787fc 100644 --- a/level_2/fll_path/data/build/settings +++ b/level_2/fll_path/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_print/data/build/settings b/level_2/fll_print/data/build/settings index 7994a61..e076e42 100644 --- a/level_2/fll_print/data/build/settings +++ b/level_2/fll_print/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_program/data/build/settings b/level_2/fll_program/data/build/settings index 86c652a..ff2dfa4 100644 --- a/level_2/fll_program/data/build/settings +++ b/level_2/fll_program/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_2/fll_status_string/data/build/settings b/level_2/fll_status_string/data/build/settings index 0859617..ef52e30 100644 --- a/level_2/fll_status_string/data/build/settings +++ b/level_2/fll_status_string/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual clang +modes individual clang test modes_default individual build_compiler gcc @@ -84,6 +84,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index 30437b7..014df9d 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index fc01b29..ceddc44 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 0690591..67b7a5b 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang as_init +modes individual level monolithic clang test as_init modes_default monolithic build_compiler gcc @@ -99,6 +99,7 @@ defines_shared flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index ec57e5a..1a34fd1 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_pre.sh process_post process_post.sh -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index f3fbfcc..18a634a 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_basic_list_read/data/build/settings b/level_3/fss_basic_list_read/data/build/settings index 5c05d1e..06e9875 100644 --- a/level_3/fss_basic_list_read/data/build/settings +++ b/level_3/fss_basic_list_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_basic_list_write/data/build/settings b/level_3/fss_basic_list_write/data/build/settings index 5383cbd..755f51a 100644 --- a/level_3/fss_basic_list_write/data/build/settings +++ b/level_3/fss_basic_list_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_basic_read/data/build/settings b/level_3/fss_basic_read/data/build/settings index d4c9183..944188b 100644 --- a/level_3/fss_basic_read/data/build/settings +++ b/level_3/fss_basic_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_basic_write/data/build/settings b/level_3/fss_basic_write/data/build/settings index 7fb0a50..daba0e1 100644 --- a/level_3/fss_basic_write/data/build/settings +++ b/level_3/fss_basic_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_embedded_list_read/data/build/settings b/level_3/fss_embedded_list_read/data/build/settings index cf529a4..3d4b418 100644 --- a/level_3/fss_embedded_list_read/data/build/settings +++ b/level_3/fss_embedded_list_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_embedded_list_write/data/build/settings b/level_3/fss_embedded_list_write/data/build/settings index 4555283..0cee2fd 100644 --- a/level_3/fss_embedded_list_write/data/build/settings +++ b/level_3/fss_embedded_list_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_extended_list_read/data/build/settings b/level_3/fss_extended_list_read/data/build/settings index 3c9e7e7..042383e 100644 --- a/level_3/fss_extended_list_read/data/build/settings +++ b/level_3/fss_extended_list_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_extended_list_write/data/build/settings b/level_3/fss_extended_list_write/data/build/settings index 1163912..43e0d53 100644 --- a/level_3/fss_extended_list_write/data/build/settings +++ b/level_3/fss_extended_list_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_extended_read/data/build/settings b/level_3/fss_extended_read/data/build/settings index 25c575a..0a4ca86 100644 --- a/level_3/fss_extended_read/data/build/settings +++ b/level_3/fss_extended_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_extended_write/data/build/settings b/level_3/fss_extended_write/data/build/settings index e91d11c..8794500 100644 --- a/level_3/fss_extended_write/data/build/settings +++ b/level_3/fss_extended_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_identify/data/build/settings b/level_3/fss_identify/data/build/settings index b2bc42f..17fbd15 100644 --- a/level_3/fss_identify/data/build/settings +++ b/level_3/fss_identify/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_payload_read/data/build/settings b/level_3/fss_payload_read/data/build/settings index 04b3b68..379f1a3 100644 --- a/level_3/fss_payload_read/data/build/settings +++ b/level_3/fss_payload_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_payload_write/data/build/settings b/level_3/fss_payload_write/data/build/settings index bd06380..3f25b3c 100644 --- a/level_3/fss_payload_write/data/build/settings +++ b/level_3/fss_payload_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/fss_status_code/data/build/settings b/level_3/fss_status_code/data/build/settings index 7fa3314..80bf921 100644 --- a/level_3/fss_status_code/data/build/settings +++ b/level_3/fss_status_code/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index 6ee0f6f..e3c7388 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index 18f52d0..d269701 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index 1fa7ba0..7548984 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static diff --git a/level_3/utf8/data/build/settings b/level_3/utf8/data/build/settings index ce3af2d..7d967db 100644 --- a/level_3/utf8/data/build/settings +++ b/level_3/utf8/data/build/settings @@ -13,7 +13,7 @@ environment process_pre process_post -modes individual level monolithic clang +modes individual level monolithic clang test modes_default monolithic build_compiler gcc @@ -87,6 +87,7 @@ defines_shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses +flags-test -fstack-protector flags_library -fPIC flags_library_shared flags_library_static -- 1.8.3.1