From 3964e725a4ced29e738110847749b1bfef9368c9 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 25 Jan 2023 18:55:02 -0600 Subject: [PATCH] Update: Add fanalyzer build mode. I keep forgetting to run the GCC fanalyzer sanity checks to help catch problems before making a release. Add a formal mode in all of the build settings to make this processor easier and therefore easier to remember. Add missing -Wall to some of the files for the test mode. --- build/level_0/settings | 5 +++-- build/level_1/settings | 5 +++-- build/level_2/settings | 5 +++-- build/monolithic/settings | 5 +++-- level_3/byte_dump/data/build/settings | 3 ++- level_3/control/data/build/settings | 3 ++- level_3/controller/data/build/settings | 3 ++- level_3/fake/data/build/settings | 3 ++- level_3/firewall/data/build/settings | 3 ++- level_3/fss_basic_list_read/data/build/settings | 3 ++- level_3/fss_basic_list_write/data/build/settings | 3 ++- level_3/fss_basic_read/data/build/settings | 3 ++- level_3/fss_basic_write/data/build/settings | 3 ++- level_3/fss_embedded_list_read/data/build/settings | 3 ++- level_3/fss_embedded_list_write/data/build/settings | 3 ++- level_3/fss_extended_list_read/data/build/settings | 3 ++- level_3/fss_extended_list_write/data/build/settings | 3 ++- level_3/fss_extended_read/data/build/settings | 3 ++- level_3/fss_extended_write/data/build/settings | 3 ++- level_3/fss_identify/data/build/settings | 3 ++- level_3/fss_payload_read/data/build/settings | 3 ++- level_3/fss_payload_write/data/build/settings | 3 ++- level_3/fss_status_code/data/build/settings | 3 ++- level_3/iki_read/data/build/settings | 3 ++- level_3/iki_write/data/build/settings | 3 ++- level_3/status_code/data/build/settings | 3 ++- level_3/utf8/data/build/settings | 3 ++- 27 files changed, 58 insertions(+), 31 deletions(-) diff --git a/build/level_0/settings b/build/level_0/settings index cc83730..140b927 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes level level_threadless clang test +modes level level_threadless clang test fanalyzer modes_default level build_compiler gcc @@ -110,7 +110,8 @@ defines-level_threadless -D_di_pthread_support_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses -flags-test -fstack-protector +flags-test -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-level -pthread flags_library -fPIC diff --git a/build/level_1/settings b/build/level_1/settings index db982ad..de3a27f 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes level level_threadless clang test +modes level level_threadless clang test fanalyzer modes_default level build_compiler gcc @@ -76,7 +76,8 @@ defines-level_threadless -D_di_pthread_support_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses -flags-test -fstack-protector +flags-test -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-level -pthread flags_library -fPIC diff --git a/build/level_2/settings b/build/level_2/settings index c0dfcef..e111a7f 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes level level_threadless clang test +modes level level_threadless clang test fanalyzer modes_default level build_compiler gcc @@ -75,7 +75,8 @@ defines-level_threadless -D_di_pthread_support_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses -flags-test -fstack-protector +flags-test -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-level -pthread flags_library -fPIC diff --git a/build/monolithic/settings b/build/monolithic/settings index 446f1ac..c51f779 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes monolithic monolithic_threadless clang test +modes monolithic monolithic_threadless clang test fanalyzer modes_default monolithic build_compiler gcc @@ -159,7 +159,8 @@ defines-monolithic_threadless -D_di_pthread_support_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses flags-clang -Wno-logical-op-parentheses -flags-test -fstack-protector +flags-test -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-monolithic -pthread flags_library -fPIC diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index 3000571..367f3d5 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index 5e7f5a9..62d23f6 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 144f601..d9d2cdd 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test as_init +modes individual level monolithic clang test fanalyzer as_init modes_default monolithic build_compiler gcc @@ -73,6 +73,7 @@ defines-as_init -D_controller_as_init_ flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index 754a9ec..357c008 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -11,7 +11,7 @@ version_target minor process_pre process_pre.sh process_post process_post.sh -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -70,6 +70,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index 68663f6..a28d4eb 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -62,6 +62,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_basic_list_read/data/build/settings b/level_3/fss_basic_list_read/data/build/settings index 918ecdf..d1a0f23 100644 --- a/level_3/fss_basic_list_read/data/build/settings +++ b/level_3/fss_basic_list_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_basic_list_write/data/build/settings b/level_3/fss_basic_list_write/data/build/settings index 1e2f06d..22dcf8e 100644 --- a/level_3/fss_basic_list_write/data/build/settings +++ b/level_3/fss_basic_list_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_basic_read/data/build/settings b/level_3/fss_basic_read/data/build/settings index 1bbb209..381188a 100644 --- a/level_3/fss_basic_read/data/build/settings +++ b/level_3/fss_basic_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_basic_write/data/build/settings b/level_3/fss_basic_write/data/build/settings index ef5d3f1..9711764 100644 --- a/level_3/fss_basic_write/data/build/settings +++ b/level_3/fss_basic_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_embedded_list_read/data/build/settings b/level_3/fss_embedded_list_read/data/build/settings index b926fd8..edf9c89 100644 --- a/level_3/fss_embedded_list_read/data/build/settings +++ b/level_3/fss_embedded_list_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -51,6 +51,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_embedded_list_write/data/build/settings b/level_3/fss_embedded_list_write/data/build/settings index b109815..99f75ce 100644 --- a/level_3/fss_embedded_list_write/data/build/settings +++ b/level_3/fss_embedded_list_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_extended_list_read/data/build/settings b/level_3/fss_extended_list_read/data/build/settings index 9cba0f7..1225820 100644 --- a/level_3/fss_extended_list_read/data/build/settings +++ b/level_3/fss_extended_list_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -51,6 +51,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_extended_list_write/data/build/settings b/level_3/fss_extended_list_write/data/build/settings index 6106425..fd98f5e 100644 --- a/level_3/fss_extended_list_write/data/build/settings +++ b/level_3/fss_extended_list_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -51,6 +51,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_extended_read/data/build/settings b/level_3/fss_extended_read/data/build/settings index 90731a2..aa57309 100644 --- a/level_3/fss_extended_read/data/build/settings +++ b/level_3/fss_extended_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_extended_write/data/build/settings b/level_3/fss_extended_write/data/build/settings index 10f4b2d..f6657df 100644 --- a/level_3/fss_extended_write/data/build/settings +++ b/level_3/fss_extended_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_identify/data/build/settings b/level_3/fss_identify/data/build/settings index 92ade34..6d74c4c 100644 --- a/level_3/fss_identify/data/build/settings +++ b/level_3/fss_identify/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_payload_read/data/build/settings b/level_3/fss_payload_read/data/build/settings index de4efc3..2f8a9bb 100644 --- a/level_3/fss_payload_read/data/build/settings +++ b/level_3/fss_payload_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_payload_write/data/build/settings b/level_3/fss_payload_write/data/build/settings index e5ceeac..b4125cf 100644 --- a/level_3/fss_payload_write/data/build/settings +++ b/level_3/fss_payload_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -51,6 +51,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/fss_status_code/data/build/settings b/level_3/fss_status_code/data/build/settings index 2b3d369..16a5b89 100644 --- a/level_3/fss_status_code/data/build/settings +++ b/level_3/fss_status_code/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index 85e60b0..928d3a3 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index e111ef1..5fbf1e0 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -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_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index 07dd890..d1c223f 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_3/utf8/data/build/settings b/level_3/utf8/data/build/settings index 205417f..3d371d7 100644 --- a/level_3/utf8/data/build/settings +++ b/level_3/utf8/data/build/settings @@ -8,7 +8,7 @@ version_micro 4 version_file micro version_target minor -modes individual level monolithic clang test +modes individual level monolithic clang test fanalyzer modes_default monolithic build_compiler gcc @@ -60,6 +60,7 @@ defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall +flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC -- 1.8.3.1