From e88103f4aebd1ebe5fcec110227a3ee38809eaed Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 1 Feb 2024 22:26:16 -0600 Subject: [PATCH] Progress: Continue working on fl_fss_payload_header_map(). Mostly focus on private_fl_payload_header_map_maps(). There is a lot of similar code design with subtle but key differences. This is going to be really easy to make an mistake with. Writing unit tests is going to be the ideal way to ensure the logic here is correct. I did a lot of back and forth jumping around while trying to remember where I was last and what I need to do. Make the build settings files more consistent in regards to threads and coverage modes. --- build/level_0/settings | 5 +- build/level_1/settings | 5 +- build/level_2/settings | 5 +- build/monolithic/settings | 5 +- build/stand_alone/byte_dump.settings | 15 +- build/stand_alone/fake.settings | 2 +- build/stand_alone/firewall.settings | 15 +- build/stand_alone/utf8.settings | 15 +- level_0/f_abstruse/data/build/settings | 9 +- level_0/f_account/data/build/settings | 9 +- level_0/f_capability/data/build/settings | 6 +- level_0/f_color/data/build/settings | 9 +- level_0/f_compare/data/build/settings | 9 +- level_0/f_console/data/build/settings | 9 +- level_0/f_control_group/data/build/settings | 9 +- level_0/f_conversion/data/build/settings | 9 +- level_0/f_directory/data/build/settings | 9 +- level_0/f_environment/data/build/settings | 6 +- level_0/f_execute/data/build/settings | 9 +- level_0/f_file/data/build/settings | 9 +- level_0/f_fss/data/build/settings | 9 +- level_0/f_iki/data/build/settings | 9 +- level_0/f_limit/data/build/settings | 9 +- level_0/f_memory/data/build/settings | 9 +- level_0/f_network/data/build/settings | 9 +- level_0/f_parse/data/build/settings | 9 +- level_0/f_path/data/build/settings | 9 +- level_0/f_pipe/data/build/settings | 9 +- level_0/f_print/data/build/settings | 6 +- level_0/f_random/data/build/settings | 9 +- level_0/f_rip/data/build/settings | 9 +- level_0/f_serialize/data/build/settings | 9 +- level_0/f_signal/data/build/settings | 11 +- level_0/f_socket/data/build/settings | 9 +- level_0/f_status/data/build/settings | 9 +- level_0/f_status_string/data/build/settings | 9 +- level_0/f_string/data/build/settings | 9 +- level_0/f_thread/data/build/settings | 5 +- level_0/f_time/data/build/settings | 9 +- level_0/f_type/data/build/settings | 9 +- level_0/f_type_array/data/build/settings | 9 +- level_0/f_utf/data/build/settings | 9 +- level_1/fl_control_group/data/build/settings | 9 +- level_1/fl_conversion/data/build/settings | 9 +- level_1/fl_directory/data/build/settings | 9 +- level_1/fl_environment/data/build/settings | 9 +- level_1/fl_execute/data/build/settings | 5 +- level_1/fl_fss/c/fss/payload.c | 13 +- level_1/fl_fss/c/fss/private-payload.c | 181 ++++++++++++------ level_1/fl_fss/data/build/settings | 9 +- level_1/fl_iki/data/build/settings | 9 +- level_1/fl_path/data/build/settings | 9 +- level_1/fl_print/data/build/settings | 9 +- level_1/fl_status_string/data/build/settings | 9 +- level_1/fl_utf_file/data/build/settings | 9 +- level_2/fll_control_group/data/build/settings | 9 +- level_2/fll_error/data/build/settings | 9 +- level_2/fll_execute/data/build/settings | 5 +- level_2/fll_file/data/build/settings | 9 +- level_2/fll_fss/data/build/settings | 9 +- .../fll_fss_status_string/data/build/settings | 9 +- level_2/fll_iki/data/build/settings | 9 +- level_2/fll_print/data/build/settings | 9 +- level_2/fll_program/data/build/settings | 9 +- level_3/byte_dump/data/build/settings | 5 +- level_3/control/data/build/settings | 5 +- level_3/controller/data/build/settings | 5 +- level_3/fake/data/build/settings | 7 +- level_3/firewall/data/build/settings | 5 +- level_3/fss_identify/data/build/settings | 5 +- level_3/fss_read/data/build/settings | 5 +- level_3/fss_write/data/build/settings | 5 +- level_3/iki_read/data/build/settings | 5 +- level_3/iki_write/data/build/settings | 5 +- level_3/status_code/data/build/settings | 5 +- level_3/utf8/data/build/settings | 5 +- 76 files changed, 571 insertions(+), 219 deletions(-) diff --git a/build/level_0/settings b/build/level_0/settings index 23624e285..72a9b3155 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default level thread build_compiler gcc diff --git a/build/level_1/settings b/build/level_1/settings index 4ce1564cb..36c0d6577 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default level thread build_compiler gcc diff --git a/build/level_2/settings b/build/level_2/settings index 08ac74907..f928ceb9f 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default level thread build_compiler gcc diff --git a/build/monolithic/settings b/build/monolithic/settings index bf7fde0a7..b4c2c43e8 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/build/stand_alone/byte_dump.settings b/build/stand_alone/byte_dump.settings index 51a2edbea..02f7a6406 100644 --- a/build/stand_alone/byte_dump.settings +++ b/build/stand_alone/byte_dump.settings @@ -12,8 +12,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang fanalyzer -modes_default stand_alone +modes stand_alone clang test fanalyzer coverage thread threadless +modes_default stand_alone thread build_compiler gcc build_compiler-clang clang @@ -74,17 +74,24 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH -#defines -D_f_file_rename_use_renameat2_ defines -include sources/c/config.h -I sources/c/ -defines -D_di_libcap_ -D_di_pthread_support_ +#defines -D_f_file_rename_use_renameat2_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ defines-clang -D_clang_not_a_compile_time_constant_workaround_ +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-thread -pthread +flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer +flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC flags_object -fPIC diff --git a/build/stand_alone/fake.settings b/build/stand_alone/fake.settings index 0d14dd0b1..a97b7ea71 100644 --- a/build/stand_alone/fake.settings +++ b/build/stand_alone/fake.settings @@ -20,7 +20,7 @@ version_micro 0 version_file micro version_target minor -modes stand_alone clang test fanalyzer thread threadless +modes stand_alone clang test fanalyzer coverage thread threadless modes_default stand_alone thread build_compiler gcc diff --git a/build/stand_alone/firewall.settings b/build/stand_alone/firewall.settings index 9b1e59342..435486065 100644 --- a/build/stand_alone/firewall.settings +++ b/build/stand_alone/firewall.settings @@ -12,8 +12,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang fanalyzer -modes_default stand_alone +modes stand_alone clang test fanalyzer coverage thread threadless +modes_default stand_alone thread build_compiler gcc build_compiler-clang clang @@ -92,16 +92,23 @@ environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH defines -include sources/c/config.h -I sources/c/ -#defines -D_di_libcap_ -D_di_thread_support_ -defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_f_file_rename_use_renameat2_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ defines-clang -D_clang_not_a_compile_time_constant_workaround_ +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-thread -pthread +flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer +flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC flags_object -fPIC diff --git a/build/stand_alone/utf8.settings b/build/stand_alone/utf8.settings index 428ac0c77..60e92cf18 100644 --- a/build/stand_alone/utf8.settings +++ b/build/stand_alone/utf8.settings @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes stand_alone clang fanalyzer -modes_default stand_alone +modes stand_alone clang test fanalyzer coverage thread threadless +modes_default stand_alone thread build_compiler gcc build_compiler-clang clang @@ -76,17 +76,24 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH -#defines -D_f_file_rename_use_renameat2_ defines -include sources/c/config.h -I sources/c/ -defines -D_di_libcap_ -D_di_pthread_support_ +#defines -D_f_file_rename_use_renameat2_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ defines-clang -D_clang_not_a_compile_time_constant_workaround_ +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-thread -pthread +flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer +flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC flags_object -fPIC diff --git a/level_0/f_abstruse/data/build/settings b/level_0/f_abstruse/data/build/settings index dc35106c0..ed0edf277 100644 --- a/level_0/f_abstruse/data/build/settings +++ b/level_0/f_abstruse/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -60,10 +61,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings b/level_0/f_account/data/build/settings index 37d924e6d..9b654a3db 100644 --- a/level_0/f_account/data/build/settings +++ b/level_0/f_account/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings b/level_0/f_capability/data/build/settings index 7cdf3e956..f967d7471 100644 --- a/level_0/f_capability/data/build/settings +++ b/level_0/f_capability/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -68,6 +69,7 @@ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parent flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_color/data/build/settings b/level_0/f_color/data/build/settings index e5db0fd56..0abe66268 100644 --- a/level_0/f_color/data/build/settings +++ b/level_0/f_color/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_compare/data/build/settings b/level_0/f_compare/data/build/settings index 338eb3e74..477937644 100644 --- a/level_0/f_compare/data/build/settings +++ b/level_0/f_compare/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_console/data/build/settings b/level_0/f_console/data/build/settings index 7515c7e53..23833452a 100644 --- a/level_0/f_console/data/build/settings +++ b/level_0/f_console/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_control_group/data/build/settings b/level_0/f_control_group/data/build/settings index 81639b85f..e82f5e849 100644 --- a/level_0/f_control_group/data/build/settings +++ b/level_0/f_control_group/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings b/level_0/f_conversion/data/build/settings index 602e36a04..6a797bf28 100644 --- a/level_0/f_conversion/data/build/settings +++ b/level_0/f_conversion/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings b/level_0/f_directory/data/build/settings index 3e7d90f1a..a7c8cdfdf 100644 --- a/level_0/f_directory/data/build/settings +++ b/level_0/f_directory/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -62,10 +63,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings b/level_0/f_environment/data/build/settings index 0afce0672..7aa0b98e1 100644 --- a/level_0/f_environment/data/build/settings +++ b/level_0/f_environment/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,6 +68,7 @@ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parent flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_execute/data/build/settings b/level_0/f_execute/data/build/settings index 735dea896..dff24da58 100644 --- a/level_0/f_execute/data/build/settings +++ b/level_0/f_execute/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings b/level_0/f_file/data/build/settings index c893ca058..4d0d29e90 100644 --- a/level_0/f_file/data/build/settings +++ b/level_0/f_file/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings b/level_0/f_fss/data/build/settings index 989d46c45..664b37222 100644 --- a/level_0/f_fss/data/build/settings +++ b/level_0/f_fss/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -60,10 +61,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings b/level_0/f_iki/data/build/settings index 71d804286..9b371fd11 100644 --- a/level_0/f_iki/data/build/settings +++ b/level_0/f_iki/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings b/level_0/f_limit/data/build/settings index 1ae147cd6..d3f335f8d 100644 --- a/level_0/f_limit/data/build/settings +++ b/level_0/f_limit/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_memory/data/build/settings b/level_0/f_memory/data/build/settings index 509395375..70be3db73 100644 --- a/level_0/f_memory/data/build/settings +++ b/level_0/f_memory/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings b/level_0/f_network/data/build/settings index 490563b68..eaf6f0e1c 100644 --- a/level_0/f_network/data/build/settings +++ b/level_0/f_network/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_parse/data/build/settings b/level_0/f_parse/data/build/settings index aa9217b2d..0c995624e 100644 --- a/level_0/f_parse/data/build/settings +++ b/level_0/f_parse/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index 2adea9c90..c15661afb 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings b/level_0/f_pipe/data/build/settings index 519eac29b..4e29ead57 100644 --- a/level_0/f_pipe/data/build/settings +++ b/level_0/f_pipe/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings b/level_0/f_print/data/build/settings index d8dec3fbc..16b3fc390 100644 --- a/level_0/f_print/data/build/settings +++ b/level_0/f_print/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,6 +68,7 @@ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parent flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings b/level_0/f_random/data/build/settings index f7d55a60e..4b598952b 100644 --- a/level_0/f_random/data/build/settings +++ b/level_0/f_random/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_rip/data/build/settings b/level_0/f_rip/data/build/settings index d1a28b3ad..a578aff2e 100644 --- a/level_0/f_rip/data/build/settings +++ b/level_0/f_rip/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings b/level_0/f_serialize/data/build/settings index cf307f2d2..67a9b2561 100644 --- a/level_0/f_serialize/data/build/settings +++ b/level_0/f_serialize/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -52,10 +53,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings b/level_0/f_signal/data/build/settings index efe8bca16..b1a829ac0 100644 --- a/level_0/f_signal/data/build/settings +++ b/level_0/f_signal/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -60,10 +61,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH -flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + +flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall -Wno-missing-braces flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings b/level_0/f_socket/data/build/settings index 590858a1b..018b7a5a0 100644 --- a/level_0/f_socket/data/build/settings +++ b/level_0/f_socket/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status/data/build/settings b/level_0/f_status/data/build/settings index 15808181b..40793bed7 100644 --- a/level_0/f_status/data/build/settings +++ b/level_0/f_status/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -58,10 +59,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status_string/data/build/settings b/level_0/f_status_string/data/build/settings index 4ad28e46e..77ac23b40 100644 --- a/level_0/f_status_string/data/build/settings +++ b/level_0/f_status_string/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings b/level_0/f_string/data/build/settings index 748559b3e..c051c7373 100644 --- a/level_0/f_string/data/build/settings +++ b/level_0/f_string/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -74,10 +75,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings b/level_0/f_thread/data/build/settings index 79d4f3963..51f125506 100644 --- a/level_0/f_thread/data/build/settings +++ b/level_0/f_thread/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc diff --git a/level_0/f_time/data/build/settings b/level_0/f_time/data/build/settings index e81209dfc..0a831c28d 100644 --- a/level_0/f_time/data/build/settings +++ b/level_0/f_time/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type/data/build/settings b/level_0/f_type/data/build/settings index 57f1eb6c7..c033a5b15 100644 --- a/level_0/f_type/data/build/settings +++ b/level_0/f_type/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -58,10 +59,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings b/level_0/f_type_array/data/build/settings index 9cc2d1952..38b960abf 100644 --- a/level_0/f_type_array/data/build/settings +++ b/level_0/f_type_array/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings b/level_0/f_utf/data/build/settings index 1c5a85fc3..1a626a6f5 100644 --- a/level_0/f_utf/data/build/settings +++ b/level_0/f_utf/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -63,10 +64,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_control_group/data/build/settings b/level_1/fl_control_group/data/build/settings index ec2a4c52b..e20313a76 100644 --- a/level_1/fl_control_group/data/build/settings +++ b/level_1/fl_control_group/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_conversion/data/build/settings b/level_1/fl_conversion/data/build/settings index 5a04bbf64..bb6778b54 100644 --- a/level_1/fl_conversion/data/build/settings +++ b/level_1/fl_conversion/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_directory/data/build/settings b/level_1/fl_directory/data/build/settings index 94850fe3b..73e7b8230 100644 --- a/level_1/fl_directory/data/build/settings +++ b/level_1/fl_directory/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_environment/data/build/settings b/level_1/fl_environment/data/build/settings index 5f9aa95d8..9c78933a6 100644 --- a/level_1/fl_environment/data/build/settings +++ b/level_1/fl_environment/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -60,10 +61,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_execute/data/build/settings b/level_1/fl_execute/data/build/settings index 56bf71454..c1f00d64b 100644 --- a/level_1/fl_execute/data/build/settings +++ b/level_1/fl_execute/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc diff --git a/level_1/fl_fss/c/fss/payload.c b/level_1/fl_fss/c/fss/payload.c index 4974adc8d..7a9a5d01c 100644 --- a/level_1/fl_fss/c/fss/payload.c +++ b/level_1/fl_fss/c/fss/payload.c @@ -255,16 +255,11 @@ extern "C" { if (headers.array[internal.i].value.is.a_maps.used) { private_fl_payload_header_map_maps(data, state, &internal, &headers.array[internal.i].value.is.a_maps, destinations); } - else if (data->flag & f_fss_payload_header_map_flag_null_map_name_value_e) { - if (data->flag & f_fss_payload_header_map_flag_join_maps_e) { - state->status = f_string_dynamic_append(internal.quote_null, &destinations->array[destinations->used].value); - if (F_status_is_error(state->status)) break; + else if (data->flag & f_fss_payload_header_map_flag_join_maps_e) { + state->status = f_string_dynamic_append(internal.quote_null, &destinations->array[destinations->used].value); + if (F_status_is_error(state->status)) break; - ++destinations->used; - } - else { - private_fl_payload_header_map_map_name_value_null(data, state, &internal, destinations); - } + ++destinations->used; } else if (data->flag & f_fss_payload_header_map_flag_null_e) { ++destinations->used; diff --git a/level_1/fl_fss/c/fss/private-payload.c b/level_1/fl_fss/c/fss/private-payload.c index a32df60c0..47b4a27cb 100644 --- a/level_1/fl_fss/c/fss/private-payload.c +++ b/level_1/fl_fss/c/fss/private-payload.c @@ -61,7 +61,7 @@ extern "C" { if (F_status_is_error(state->status)) return F_true; if (data->flag & f_fss_payload_header_map_flag_join_dynamics_e) { - state->status = f_memory_array_increase_by(buffers->used + ((f_fss_extended_next_s.used + internal->quote_null.used) * buffers->used), sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size); + state->status = f_memory_array_increase_by(buffers->used + ((f_fss_space_s.used + internal->quote_null.used) * buffers->used), sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size); if (F_status_is_error(state->status)) return F_true; } @@ -87,7 +87,7 @@ extern "C" { private_fl_fss_basic_write(F_false, buffers->array[internal->j], internal->quote, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal); if (F_status_is_error(state->status)) return F_true; - state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache); + state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value); if (F_status_is_error(state->status)) return F_true; } else if (data->flag & f_fss_payload_header_map_flag_null_string_e) { @@ -100,7 +100,7 @@ extern "C" { if (data->flag & f_fss_payload_header_map_flag_join_dynamics_e) { if (data->cache->used) { - // Do not include the f_string_space_s that is always added at the end of the loop. + // Remove the always added trailing space. data->cache->used -= f_string_space_s.used; internal->range.start = 0; @@ -136,12 +136,15 @@ extern "C" { data->cache->used = 0; + state->status = f_memory_array_increase_by(map->name.used + map->value.used + f_string_space_s.used, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size); + if (F_status_is_error(state->status)) return F_true; + if (map->name.used) { f_string_dynamic_append(map->name, data->cache); if (F_status_is_error(state->status)) return F_true; if (map->value.used) { - f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache); + f_string_dynamic_append_assure(f_fss_space_s, data->cache); if (F_status_is_error(state->status)) return F_true; } } @@ -163,7 +166,7 @@ extern "C" { if (F_status_is_error(state->status)) return F_true; if (map->value.used) { - f_string_dynamic_append_assure(f_string_space_s, &destinations->array[destinations->used].value); + f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value); if (F_status_is_error(state->status)) return F_true; } } @@ -212,83 +215,151 @@ extern "C" { #if !defined(_di_fl_fss_payload_header_maps_) uint8_t private_fl_payload_header_map_maps(f_fss_payload_header_state_t * const data, f_state_t * const state, f_fss_payload_header_internal_t * const internal, f_string_maps_t * const maps, f_string_maps_t * const destinations) { + internal->k = 0; + + for (internal->l = 0; internal->l < maps->used; ++internal->k) { + + if (maps->array[internal->l].name.used) { + internal->k += maps->array[internal->k].name.used + f_fss_extended_next_s.used + internal->quote_null.used; + } + else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) { + internal->k += f_fss_extended_next_s.used + internal->quote_null.used; + } + + if (maps->array[internal->l].value.used) { + internal->k += maps->array[internal->l].value.used + f_fss_extended_next_s.used + internal->quote_null.used; + } + else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) { + internal->k += f_fss_extended_next_s.used + internal->quote_null.used; + } + } // for + if (data->flag & f_fss_payload_header_map_flag_join_maps_e) { - // @todo - } - else if (data->flag & f_fss_payload_header_map_flag_null_map_name_value_e) { - // @todo - } - else { - for (internal->k = 0; internal->k < maps->used; ++internal->k) { + data->cache->used = 0; - if (maps->array[internal->k].name.used) { - internal->k += maps->array[internal->k].name.used + f_fss_extended_next_s.used + internal->quote_null.used; - } - else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) { - internal->k += f_fss_extended_next_s.used + internal->quote_null.used; + state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size); + if (F_status_is_error(state->status)) return F_true; + + for (internal->l = 0; internal->l < maps->used; ++internal->l) { + + if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) { + if (maps->array[internal->l].name.used) { + f_string_dynamic_append(maps->array[internal->l].name, data->cache); + } + else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) { + state->status = f_string_dynamic_append(internal->quote_null, data->cache); + } + + if (F_status_is_error(state->status)) return F_true; + + if (maps->array[internal->l].value.used || (data->flag & f_fss_payload_header_map_flag_null_map_value_e)) { + f_string_dynamic_append_assure(f_fss_space_s, data->cache); + if (F_status_is_error(state->status)) return F_true; + } } - if (maps->array[internal->k].value.used) { - internal->k += maps->array[internal->k].value.used + f_fss_extended_next_s.used + internal->quote_null.used; + if (maps->array[internal->l].value.used) { + f_string_dynamic_append(maps->array[internal->l].value, data->cache); } else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) { - internal->k += f_fss_extended_next_s.used + internal->quote_null.used; + state->status = f_string_dynamic_append(internal->quote_null, data->cache); } - } // for - // @todo all of this below. - - if (data->flag & f_fss_payload_header_map_flag_join_map_e) { - data->cache->used = 0; + if (F_status_is_error(state->status)) return F_true; - state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size); + state->status = f_string_dynamic_append_assure(f_fss_space_s, data->cache); if (F_status_is_error(state->status)) return F_true; + } // for - for (internal->l = 0; internal->l < maps->used; ++internal->l) { + // Remove the always added trailing space. + if (data->cache->used) { + data->cache->used -= f_fss_space_s.used; + } - if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) { - if (maps->array[internal->l].name.used) { - f_string_dynamic_append(maps->array[internal->l].name, data->cache); - } - else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) { - state->status = f_string_dynamic_append(internal->quote_null, data->cache); - } + private_fl_fss_basic_write(F_false, *data->cache, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal); + if (F_status_is_error(state->status)) return F_true; + } + else if (data->flag & f_fss_payload_header_map_flag_join_map_e) { + data->cache->used = 0; - if (F_status_is_error(state->status)) return F_true; + state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size); + if (F_status_is_error(state->status)) return F_true; - if (maps->array[internal->l].value.used) { - f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache); - if (F_status_is_error(state->status)) return F_true; - } - } + for (internal->l = 0; internal->l < maps->used; ++internal->l) { - if (maps->array[internal->l].value.used) { - f_string_dynamic_append(maps->array[internal->l].value, data->cache); + data->cache->used = 0; + + if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) { + if (maps->array[internal->l].name.used) { + f_string_dynamic_append(maps->array[internal->l].name, data->cache); } - else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) { + else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) { state->status = f_string_dynamic_append(internal->quote_null, data->cache); } if (F_status_is_error(state->status)) return F_true; - state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache); - if (F_status_is_error(state->status)) return F_true; - } // for + if (maps->array[internal->l].value.used || (data->flag & f_fss_payload_header_map_flag_null_map_value_e)) { + f_string_dynamic_append_assure(f_fss_space_s, data->cache); + if (F_status_is_error(state->status)) return F_true; + } + } - // Remove any trailing "extended_next". - if (data->cache->used) { - data->cache->used -= f_fss_extended_next_s.used; + if (maps->array[internal->l].value.used) { + f_string_dynamic_append(maps->array[internal->l].value, data->cache); + } + else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) { + state->status = f_string_dynamic_append(internal->quote_null, data->cache); } - private_fl_fss_basic_write(F_false, *data->cache, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal); if (F_status_is_error(state->status)) return F_true; - } - else { - state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &destinations->array[destinations->used].value.string, &destinations->array[destinations->used].value.used, &destinations->array[destinations->used].value.size); + + private_fl_fss_basic_write(F_false, *data->cache, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal); if (F_status_is_error(state->status)) return F_true; - // @todo - } + if (internal->l + 1 < maps->used) { + state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value); + if (F_status_is_error(state->status)) return F_true; + } + } // for + } + else { + state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &destinations->array[destinations->used].value.string, &destinations->array[destinations->used].value.used, &destinations->array[destinations->used].value.size); + if (F_status_is_error(state->status)) return F_true; + + for (internal->l = 0; internal->l < maps->used; ++internal->l) { + + if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) { + if (maps->array[internal->l].name.used) { + internal->range.start = 0; + internal->range.stop = maps->array[internal->l].name.used - 1; + + private_fl_fss_basic_write(F_false, maps->array[internal->l].name, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal); + if (F_status_is_error(state->status)) return F_true; + } + else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) { + state->status = f_string_dynamic_append(internal->quote_null, &destinations->array[destinations->used].value); + if (F_status_is_error(state->status)) return F_true; + } + + if (maps->array[internal->l].value.used) { + f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value); + if (F_status_is_error(state->status)) return F_true; + } + } + + if (maps->array[internal->l].value.used) { + internal->range.start = 0; + internal->range.stop = maps->array[internal->l].value.used - 1; + + private_fl_fss_basic_write(F_true, maps->array[internal->l].value, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal); + if (F_status_is_error(state->status)) return F_true; + } + else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) { + state->status = f_string_dynamic_append(internal->quote_null, &destinations->array[destinations->used].value); + if (F_status_is_error(state->status)) return F_true; + } + } // for } state->status = f_string_dynamic_strip_null(&destinations->array[destinations->used].value); diff --git a/level_1/fl_fss/data/build/settings b/level_1/fl_fss/data/build/settings index d4d4ca8ec..f95ddf7b2 100644 --- a/level_1/fl_fss/data/build/settings +++ b/level_1/fl_fss/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_iki/data/build/settings b/level_1/fl_iki/data/build/settings index ff0c6784b..efa84ba6c 100644 --- a/level_1/fl_iki/data/build/settings +++ b/level_1/fl_iki/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_path/data/build/settings b/level_1/fl_path/data/build/settings index 45e7a47cd..d8fc114ee 100644 --- a/level_1/fl_path/data/build/settings +++ b/level_1/fl_path/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_print/data/build/settings b/level_1/fl_print/data/build/settings index 5b2435df1..ad294480c 100644 --- a/level_1/fl_print/data/build/settings +++ b/level_1/fl_print/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_status_string/data/build/settings b/level_1/fl_status_string/data/build/settings index 56afbb6e2..af5a811a5 100644 --- a/level_1/fl_status_string/data/build/settings +++ b/level_1/fl_status_string/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_utf_file/data/build/settings b/level_1/fl_utf_file/data/build/settings index 884d3d270..2936e0933 100644 --- a/level_1/fl_utf_file/data/build/settings +++ b/level_1/fl_utf_file/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_control_group/data/build/settings b/level_2/fll_control_group/data/build/settings index 345c1282e..3d0dc2087 100644 --- a/level_2/fll_control_group/data/build/settings +++ b/level_2/fll_control_group/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -60,10 +61,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_error/data/build/settings b/level_2/fll_error/data/build/settings index bf752c4a0..e6c916a67 100644 --- a/level_2/fll_error/data/build/settings +++ b/level_2/fll_error/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_execute/data/build/settings b/level_2/fll_execute/data/build/settings index ad7aca740..6749b7aa8 100644 --- a/level_2/fll_execute/data/build/settings +++ b/level_2/fll_execute/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc diff --git a/level_2/fll_file/data/build/settings b/level_2/fll_file/data/build/settings index 3ce9e86ff..6f576f2a0 100644 --- a/level_2/fll_file/data/build/settings +++ b/level_2/fll_file/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_fss/data/build/settings b/level_2/fll_fss/data/build/settings index 56fab1dfe..cb0835b9f 100644 --- a/level_2/fll_fss/data/build/settings +++ b/level_2/fll_fss/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_fss_status_string/data/build/settings b/level_2/fll_fss_status_string/data/build/settings index 41fa3e327..b2cde19a8 100644 --- a/level_2/fll_fss_status_string/data/build/settings +++ b/level_2/fll_fss_status_string/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_iki/data/build/settings b/level_2/fll_iki/data/build/settings index cbed363e6..f4396b80b 100644 --- a/level_2/fll_iki/data/build/settings +++ b/level_2/fll_iki/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_print/data/build/settings b/level_2/fll_print/data/build/settings index aa6cb5569..c70028940 100644 --- a/level_2/fll_print/data/build/settings +++ b/level_2/fll_print/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_program/data/build/settings b/level_2/fll_program/data/build/settings index ce236e288..de3983f17 100644 --- a/level_2/fll_program/data/build/settings +++ b/level_2/fll_program/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -61,10 +62,14 @@ search_static yes environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH +defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ + flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now +flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index ebe63c3bd..f88f4319f 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index c503f6dc3..5a2100067 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 78ba70fae..48591abe2 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless as_init +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless as_init modes_default monolithic thread build_compiler gcc diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index 304b3f139..d36c7fc74 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -23,7 +24,7 @@ version_target minor process_pre process_pre.sh process_post process_post.sh -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc @@ -86,7 +87,7 @@ defines -D_libcap_legacy_only_ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-main +flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index 85af80ade..300008fb8 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/fss_identify/data/build/settings b/level_3/fss_identify/data/build/settings index 30e54624f..5cad4ee00 100644 --- a/level_3/fss_identify/data/build/settings +++ b/level_3/fss_identify/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/fss_read/data/build/settings b/level_3/fss_read/data/build/settings index 984fdc048..c0a1dc32a 100644 --- a/level_3/fss_read/data/build/settings +++ b/level_3/fss_read/data/build/settings @@ -7,9 +7,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/fss_write/data/build/settings b/level_3/fss_write/data/build/settings index 5935921c3..89ab5d3b7 100644 --- a/level_3/fss_write/data/build/settings +++ b/level_3/fss_write/data/build/settings @@ -7,9 +7,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index 315822f5f..fec894614 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index 80c2e5e75..11c4ede98 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index bfa8c7578..65f793f67 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -7,9 +7,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc diff --git a/level_3/utf8/data/build/settings b/level_3/utf8/data/build/settings index ed2385433..613d99f09 100644 --- a/level_3/utf8/data/build/settings +++ b/level_3/utf8/data/build/settings @@ -5,9 +5,10 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. +# - clang: Use clang rather than the default, which is generally gcc # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. +# - coverage: Compile for building coverage. # - thread: Compile with thread support. # - threadless: Compile without thread support. # @@ -20,7 +21,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless +modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless modes_default monolithic thread build_compiler gcc -- 2.47.3