From f2ce5118865af024674b74281c6b1f2bbd4505cf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Feb 2023 15:25:05 +0000 Subject: [PATCH 01/46] Libannocheck: Fix thinko in debugging code. - Annocheck: Fix LTO test. - Notes: Display notes held in separate dbeuginfo files. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e32c324..bda9689 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.08 +Version: 11.09 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -522,6 +522,11 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Feb 02 2023 Nick Clifton - 11.09-1 +- Libannocheck: Fix thinko in debugging code. +- Annocheck: Fix LTO test. +- Notes: Display notes held in separate dbeuginfo files. + * Tue Jan 31 2023 Nick Clifton - 11.08-1 - Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528) diff --git a/sources b/sources index 98d9553..91f7d51 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.08.tar.xz) = 233e0314648b3577bd3e8f977b7da523e3c1770664dd0ade10e97fa251aa00fe1e02fb3104973bf5f6a30b1acb21772a3d9ba05c89bf1edf2feb665f88000fee +SHA512 (annobin-11.09.tar.xz) = 41bf99d07110630f5b8773eb1e83d3d7c1355dae531d66f66721d45b06d9e0da01b447e5279480d62516303fdce6b9d0f1c8e8f6d541c42a590ce97b6c79f996 From 1465b9cc20404fa1acd75289f77d8860e1fb62f7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 23 Feb 2023 13:44:06 +0000 Subject: [PATCH 02/46] Annocheck: Add code to handle glibc functions built without LTO. --- annobin.spec | 25 +++++++++++++++---------- sources | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/annobin.spec b/annobin.spec index bda9689..38ece46 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.09 +Version: 11.10 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -139,17 +139,15 @@ Provides the documentation files and example shell scripts for use with annobin. %package tests Summary: Test scripts and binaries for checking the behaviour and output of the annobin plugin Requires: %{name}-docs = %{version}-%{release} +BuildRequires: make sharutils +%if %{with debuginfod} +BuildRequires: elfutils-debuginfod-client-devel +%endif %description tests Provides a means to test the generation of annotated binaries and the parsing of the resulting files. -BuildRequires: make - -%if %{with debuginfod} -BuildRequires: elfutils-debuginfod-client-devel -%endif - %endif #---------------------------------------------------------------------------- @@ -464,12 +462,16 @@ rm -f %{buildroot}%{_infodir}/dir %if %{with tests} %check -# Change the following line to "make check || :" on RHEL7 or if you need to see the -# test suite logs in order to diagnose a test failure. -make check +# The first "make check" is run with "|| :" so that we can capture any logs +# from failed tests. The second "make check" is there so that the build +# will fail if any of the tests fail. +make check || : if [ -f tests/test-suite.log ]; then cat tests/test-suite.log fi +# If necessary use uuencode to preserve test binaries here. For example: +# uuencode tests/tmp_atexit/atexit.strip atexit.strip +make check %endif #--------------------------------------------------------------------------------- @@ -522,6 +524,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Thu Feb 23 2023 Nick Clifton - 11.10-1 +- Annocheck: Add code to handle glibc functions built without LTO. + * Thu Feb 02 2023 Nick Clifton - 11.09-1 - Libannocheck: Fix thinko in debugging code. - Annocheck: Fix LTO test. diff --git a/sources b/sources index 91f7d51..19dbec4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.09.tar.xz) = 41bf99d07110630f5b8773eb1e83d3d7c1355dae531d66f66721d45b06d9e0da01b447e5279480d62516303fdce6b9d0f1c8e8f6d541c42a590ce97b6c79f996 +SHA512 (annobin-11.10.tar.xz) = 3f860f22d6386b1fb08ec38e9cfeda2e83ebf3e8dc80923a126a079081eb2c8578de0f81fa38ff23feea1455008caf2c4e9679e2f5c4998aeb67912d90ae6521 From 85d843af125e97421c271faa2b727436faa1d6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Mon, 27 Feb 2023 09:17:24 +0100 Subject: [PATCH 03/46] Remove an obsoleted option from the CI plan TMT has obsoleted the "directory" option. We do not need to replace it with anything, the discovery phase works still the same way. --- plans/ci.fmf | 1 - 1 file changed, 1 deletion(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 85710d6..3fd3ab7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,6 +1,5 @@ summary: CI Gating Plan discover: how: fmf - directory: tests execute: how: tmt From 8c78c3f165d78405d8f7cc03dcc5ea6a1ceb92e0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 28 Feb 2023 10:52:07 +0000 Subject: [PATCH 04/46] GCC Plugin: Do not run if other plugins are active. (#2162746) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 38ece46..6f3e413 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.10 +Version: 11.11 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Feb 28 2023 Nick Clifton - 11.11-1 +- GCC Plugin: Do not run if other plugins are active. (#2162746) + * Thu Feb 23 2023 Nick Clifton - 11.10-1 - Annocheck: Add code to handle glibc functions built without LTO. diff --git a/sources b/sources index 19dbec4..449584d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.10.tar.xz) = 3f860f22d6386b1fb08ec38e9cfeda2e83ebf3e8dc80923a126a079081eb2c8578de0f81fa38ff23feea1455008caf2c4e9679e2f5c4998aeb67912d90ae6521 +SHA512 (annobin-11.11.tar.xz) = 5f62a64befe79960ef78171ba583f8417ec39bf6b8f1dfddaa495764a557752db21a4efa8b292bda8fe13afc186065a5dcf6d29f46e710fb3e89d23a0bb267c3 From 24835ca037bfe627b8d5855452d0533ae806353a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 3 Mar 2023 16:06:25 +0000 Subject: [PATCH 05/46] Another special case for glibc --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6f3e413..3bb9bba 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.11 +Version: 11.12 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Mar 03 2023 Nick Clifton - 11.12-1 +- Annocheck: Add code to handle another glibc function built without LTO. + * Tue Feb 28 2023 Nick Clifton - 11.11-1 - GCC Plugin: Do not run if other plugins are active. (#2162746) diff --git a/sources b/sources index 449584d..a12357b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.11.tar.xz) = 5f62a64befe79960ef78171ba583f8417ec39bf6b8f1dfddaa495764a557752db21a4efa8b292bda8fe13afc186065a5dcf6d29f46e710fb3e89d23a0bb267c3 +SHA512 (annobin-11.12.tar.xz) = f671f658b14a60f3dfd02afab8e358e4685d7d1c051ce79beadade782c425fd221c4ba998bb0543fd2bfbdba184668eb081f11439161f19f76e811faad83878f From bbc496884e270c65e757b8e16e94fcb6828cc6e2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 8 Mar 2023 10:07:57 +0000 Subject: [PATCH 06/46] Add more exceptions for glibc functions --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3bb9bba..af896d3 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.12 +Version: 11.13 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Mar 08 2023 Nick Clifton - 11.13-1 +- Annocheck: Add even more code to handle another glibc function built without LTO. + * Fri Mar 03 2023 Nick Clifton - 11.12-1 - Annocheck: Add code to handle another glibc function built without LTO. diff --git a/sources b/sources index a12357b..507d234 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.12.tar.xz) = f671f658b14a60f3dfd02afab8e358e4685d7d1c051ce79beadade782c425fd221c4ba998bb0543fd2bfbdba184668eb081f11439161f19f76e811faad83878f +SHA512 (annobin-11.13.tar.xz) = 7032edba07f89321ec0bda57e887b6b93944225da843bf6ccfb81281dec7fe1544f635fed3ad6c1439a33e9710504bee99222e89ef19325517ef40ce6af6479f From 71f22a9e68f21a05666908c68942283c770bc556 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Mar 2023 16:10:02 +0000 Subject: [PATCH 07/46] Annocheck: Update message for LTO tests. (#2177140) --- annobin.spec | 3 +++ sources | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index af896d3..46aaf14 100644 --- a/annobin.spec +++ b/annobin.spec @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Mar 13 2023 Nick Clifton - 11.14-1 +- Annocheck: Update message for LTO tests. (#2177140) + * Wed Mar 08 2023 Nick Clifton - 11.13-1 - Annocheck: Add even more code to handle another glibc function built without LTO. diff --git a/sources b/sources index 507d234..5173186 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.13.tar.xz) = 7032edba07f89321ec0bda57e887b6b93944225da843bf6ccfb81281dec7fe1544f635fed3ad6c1439a33e9710504bee99222e89ef19325517ef40ce6af6479f +SHA512 (annobin-11.14.tar.xz) = 261b24a60a0ec8259976e0512775ec762ec4774e5c4294f5c06cc78c06322ceb4cc2a4949b5441425214a0312aedca9d77499c9a88c6e4ab7274cab9dd3fcb76 From 07c77149e9d206a0a02e39da3ecbb2bcfa2ebc0a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 Mar 2023 16:10:45 +0000 Subject: [PATCH 08/46] Fix NVR --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 46aaf14..ed4dca6 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.13 +Version: 11.14 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ From 4cb3354e1307349bf7622207f6d61010437d51e9 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 14 Mar 2023 13:40:26 -0400 Subject: [PATCH 09/46] Fix RHEL build RHEL 7+ have rpm versions which support the --undefine parameter. --- annobin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ed4dca6..752bbc4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -403,8 +403,8 @@ make -C gcc-plugin clean BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" # Disable the standard annobin plugin so that we do get conflicts. -# Note - Fedora's rpm uses a different way of evaluating macros. -%if 0%{?fedora} == 0 +# Note - rpm-4.10 uses a different way of evaluating macros. +%if 0%{?rhel} && 0%{?rhel} < 7 OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')" %else OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')" From 52cd4f89797a611a2a90e4585b97dd6dcad125fe Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 29 Mar 2023 09:52:27 +0100 Subject: [PATCH 10/46] Annocheck: Add a few more glibc exceptions. Protocol: Update to version 4 - add string notes. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 752bbc4..84a3d0d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 11.14 +Version: 12.00 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Mar 28 2023 Nick Clifton - 12.00-1 +- Protocol Version 4: String format notes. + * Mon Mar 13 2023 Nick Clifton - 11.14-1 - Annocheck: Update message for LTO tests. (#2177140) diff --git a/sources b/sources index 5173186..9038978 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-11.14.tar.xz) = 261b24a60a0ec8259976e0512775ec762ec4774e5c4294f5c06cc78c06322ceb4cc2a4949b5441425214a0312aedca9d77499c9a88c6e4ab7274cab9dd3fcb76 +SHA512 (annobin-12.00.tar.xz) = a1e752ec3a3668d1051674127b3ede993f7e5dce5c55b269d16fffe33de6dda6a31a7a18669397abb16c2245a062dee43c957f56cc77f24117d4d8b669b73785 From 6f6742913217374d59240ebdcce8fe1b64f1cc3c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Mar 2023 12:27:52 +0100 Subject: [PATCH 11/46] gcc plugin: Keep ELF notes at protocol version 3. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 84a3d0d..ac57a1f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.00 +Version: 12.01 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Mar 30 2023 Nick Clifton - 12.01-1 +- gcc plugin: Keep ELF notes at protocol version 3. + * Tue Mar 28 2023 Nick Clifton - 12.00-1 - Protocol Version 4: String format notes. diff --git a/sources b/sources index 9038978..812ed19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.00.tar.xz) = a1e752ec3a3668d1051674127b3ede993f7e5dce5c55b269d16fffe33de6dda6a31a7a18669397abb16c2245a062dee43c957f56cc77f24117d4d8b669b73785 +SHA512 (annobin-12.01.tar.xz) = 4ddeba6c3d9568f615d0cad6670738530495bbfe3abcc9b45e52d7c0e02688455140f373ba95c6015db498b39d5cd2b09d6961b51db6ff4bc6063c426229a53c From 126c39082f92ad5ea7f108740f8dcd4a292d2443 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Apr 2023 13:53:28 +0100 Subject: [PATCH 12/46] Fix Clang and LLVM plugins to work with LLVM v16. Improve string notes. Add environment variable for annobin plugin options. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index ac57a1f..a95fdeb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.01 +Version: 12.02 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,11 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 11 2023 Nick Clifton - 12.02-1 +- gcc plugin: Add filenames to string notes. Allow use of ANNOBIN environment variable. +- llvm plugin: Add workaround for building with LLVM-16. +- clang plugin: Fix for building with Clang-16. + * Thu Mar 30 2023 Nick Clifton - 12.01-1 - gcc plugin: Keep ELF notes at protocol version 3. diff --git a/sources b/sources index 812ed19..558c04b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.01.tar.xz) = 4ddeba6c3d9568f615d0cad6670738530495bbfe3abcc9b45e52d7c0e02688455140f373ba95c6015db498b39d5cd2b09d6961b51db6ff4bc6063c426229a53c +SHA512 (annobin-12.02.tar.xz) = 404568ad34ec06043ca4601c1148c13efb63d25522bd4287d476df300d9e58f409b6acd121e6b717098a57cee62fcd53d4430e55c1c581f11d5c745cacc70cb5 From 47dc851a55b47ec5a01a1bf61d8cc6c68c6837ce Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 Apr 2023 20:03:14 +0100 Subject: [PATCH 13/46] configure: Simplify. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a95fdeb..6a92c82 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.02 +Version: 12.03 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Apr 13 2023 Nick Clifton - 12.03-1 +- configure: Simplify. + * Tue Apr 11 2023 Nick Clifton - 12.02-1 - gcc plugin: Add filenames to string notes. Allow use of ANNOBIN environment variable. - llvm plugin: Add workaround for building with LLVM-16. diff --git a/sources b/sources index 558c04b..13c4770 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.02.tar.xz) = 404568ad34ec06043ca4601c1148c13efb63d25522bd4287d476df300d9e58f409b6acd121e6b717098a57cee62fcd53d4430e55c1c581f11d5c745cacc70cb5 +SHA512 (annobin-12.03.tar.xz) = 6bd71d074e79e12e3db50e989c0aae6a318e925bc597d3b921f497e48bfb4a4bd58f4e4198aab824d5fe6ccb131305c59423e18a3c586204ba6ffcaa82353bff From 45e0e60d561e968b1af9cdf9b5cba7bad584e923 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 19 Apr 2023 13:22:11 +0100 Subject: [PATCH 14/46] annocheck: Fix seg-fault when checking for glibc components in string format notes. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a92c82..9b6ffe7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.03 +Version: 12.04 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Apr 17 2023 Nick Clifton - 12.04-1 +- configure: More improvements. +- annocheck: Fix seg-fault when checking for glibc components in string format notes. + * Thu Apr 13 2023 Nick Clifton - 12.03-1 - configure: Simplify. diff --git a/sources b/sources index 13c4770..6f53a37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.03.tar.xz) = 6bd71d074e79e12e3db50e989c0aae6a318e925bc597d3b921f497e48bfb4a4bd58f4e4198aab824d5fe6ccb131305c59423e18a3c586204ba6ffcaa82353bff +SHA512 (annobin-12.04.tar.xz) = c143aad782b87d4f7ab25ccf661176b1971970c73610d6e2089758022fd6b906c3f6b469e759e5498855775efe2060b24496a7c8826c95bf88aa11be6ee790c8 From 666fd997c81f6a3a839132003c50dd1225533dfb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Apr 2023 11:02:31 +0100 Subject: [PATCH 15/46] Fix detection of optimization level in llvm plugin. --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9b6ffe7..160f627 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.04 +Version: 12.05 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Apr 19 2023 Nick Clifton - 12.05-1 +- llvm-plugin: Fix detection of optimization level. Improve test. +- clang-plugin: Improve test. + * Mon Apr 17 2023 Nick Clifton - 12.04-1 - configure: More improvements. - annocheck: Fix seg-fault when checking for glibc components in string format notes. diff --git a/sources b/sources index 6f53a37..ab5bc1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.04.tar.xz) = c143aad782b87d4f7ab25ccf661176b1971970c73610d6e2089758022fd6b906c3f6b469e759e5498855775efe2060b24496a7c8826c95bf88aa11be6ee790c8 +SHA512 (annobin-12.05.tar.xz) = d63dc0ac3a0e16a3b852d95039bb562e4b04e9252bf6eab5bc205dc0dbf928ba48886a32aec2b019f3eef3070bdd293b91a8b0323747cbdda95b9e9307fdce71 From 8e60c8613bb866afef3bbe7793e5cea65235a9bf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Apr 2023 17:20:10 +0100 Subject: [PATCH 16/46] gcc-plugin: use a bigger buffer for constructing notes. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 160f627..dc3b58e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.05 +Version: 12.06 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Apr 20 2023 Nick Clifton - 12.06-1 +- gcc-plugin: use a bigger buffer for constructing notes. + * Wed Apr 19 2023 Nick Clifton - 12.05-1 - llvm-plugin: Fix detection of optimization level. Improve test. - clang-plugin: Improve test. diff --git a/sources b/sources index ab5bc1b..3be5c1f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.05.tar.xz) = d63dc0ac3a0e16a3b852d95039bb562e4b04e9252bf6eab5bc205dc0dbf928ba48886a32aec2b019f3eef3070bdd293b91a8b0323747cbdda95b9e9307fdce71 +SHA512 (annobin-12.06.tar.xz) = 7263c69f08e943a4a0e79f6877863b11d054f9261b19de3cbdbddd91765db2983381f271db9a81138c1003ea7c971aa94897efb08266ab62f71b179dd62db216 From c7f9bb74d976ae1681de822dbed4c5e698078f41 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 21 Apr 2023 13:42:16 +0100 Subject: [PATCH 17/46] gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dc3b58e..bbdb40c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.06 +Version: 12.07 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Apr 21 2023 Nick Clifton - 12.07-1 +- gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options. + * Thu Apr 20 2023 Nick Clifton - 12.06-1 - gcc-plugin: use a bigger buffer for constructing notes. diff --git a/sources b/sources index 3be5c1f..ee3ee47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.06.tar.xz) = 7263c69f08e943a4a0e79f6877863b11d054f9261b19de3cbdbddd91765db2983381f271db9a81138c1003ea7c971aa94897efb08266ab62f71b179dd62db216 +SHA512 (annobin-12.07.tar.xz) = 20972c1427e0089635a8e173fee0c8ac393cf55950d4d80e777c69e2fc74f5f92325210ec1ccd55c409cc78337b28d38d094a1d590567a4b271712e602127b94 From 6a05b5374b7d8e649d97c41f50f3e633715b8c9d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 Apr 2023 13:10:28 +0100 Subject: [PATCH 18/46] 12.08: Fix covscan errors and libannocheck initialisation --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index bbdb40c..dbe6434 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.07 +Version: 12.08 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -471,6 +471,7 @@ if [ -f tests/test-suite.log ]; then fi # If necessary use uuencode to preserve test binaries here. For example: # uuencode tests/tmp_atexit/atexit.strip atexit.strip + make check %endif @@ -524,6 +525,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 25 2023 Nick Clifton - 12.08-1 +- Fix generation of auto-generated files. +- Fix covscan reported errors. + * Fri Apr 21 2023 Nick Clifton - 12.07-1 - gcc-plugin: generate warnings about misspelt -D_FORTIFY_SOURCE and/or -D_GLIBCXX_ASSERTIONS options. diff --git a/sources b/sources index ee3ee47..69f7734 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.07.tar.xz) = 20972c1427e0089635a8e173fee0c8ac393cf55950d4d80e777c69e2fc74f5f92325210ec1ccd55c409cc78337b28d38d094a1d590567a4b271712e602127b94 +SHA512 (annobin-12.08.tar.xz) = 3989160111ab8aae8852abd708039e7b1b796d537d7855155e98b47269d0b4caee37ddacaa6655885a1674dfe515e1c90709bfe374d19b48b515035b961c97db From 8725f42767120ee3b439ac77ff26b79014b9ad80 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 Apr 2023 17:49:30 +0100 Subject: [PATCH 19/46] Annocheck: Fix detection of missing plugin options. Resolves: #2189492 --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index dbe6434..c80c858 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.08 +Version: 12.09 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Apr 25 2023 Nick Clifton - 12.09-1 +- Annocheck: Fix detection of missing plugin options. (#2189492) + * Tue Apr 25 2023 Nick Clifton - 12.08-1 - Fix generation of auto-generated files. - Fix covscan reported errors. diff --git a/sources b/sources index 69f7734..d3b726d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.08.tar.xz) = 3989160111ab8aae8852abd708039e7b1b796d537d7855155e98b47269d0b4caee37ddacaa6655885a1674dfe515e1c90709bfe374d19b48b515035b961c97db +SHA512 (annobin-12.09.tar.xz) = 1805cd960ea34789dc309d767ea5d96cfb83257dd1df60d4ef5797792a86558cbbd1ffa5c08d792ead435afb056db1f3d7303785cbadf6d4c7e9b3a76c200098 From 6a9bd4377fa11376e589801ea979eb09048ed83b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 28 Apr 2023 14:22:04 +0100 Subject: [PATCH 20/46] Improve detection and reporting of problems with Rust binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index c80c858..3658214 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.09 +Version: 12.10 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Apr 28 2023 Nick Clifton - 12.10-1 +- Annocheck: Suppress more tests for Rust binaries. + * Tue Apr 25 2023 Nick Clifton - 12.09-1 - Annocheck: Fix detection of missing plugin options. (#2189492) diff --git a/sources b/sources index d3b726d..4059ce0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.09.tar.xz) = 1805cd960ea34789dc309d767ea5d96cfb83257dd1df60d4ef5797792a86558cbbd1ffa5c08d792ead435afb056db1f3d7303785cbadf6d4c7e9b3a76c200098 +SHA512 (annobin-12.10.tar.xz) = 140c74f88ff309e24c003d533545bd7f7705d240faf3781569f7c91e0c41ef2640dfb2ebe2f0cb1fbafddcf3588d9df9b75424764b79091e64a4091b7be3c0f0 From 18b154e072e49265b021ad0ffb1d2e43fb5f5f78 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 5 May 2023 11:44:05 +0100 Subject: [PATCH 21/46] Enable new string format notes --- annobin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 3658214..5dea538 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.10 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -67,7 +67,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -# Patch01: annobin-foo.patch +Patch01: annobin-plugin-default-string-notes.patch #--------------------------------------------------------------------------------- @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri May 05 2023 Nick Clifton - 12.10-2 +- GCC Plugin: Default to generating string format notes. (Experimental) + * Fri Apr 28 2023 Nick Clifton - 12.10-1 - Annocheck: Suppress more tests for Rust binaries. From 9e5f183b04247b337103ea41a9bc3fe546996633 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 5 May 2023 11:44:33 +0100 Subject: [PATCH 22/46] add missing patch file --- annobin-plugin-default-string-notes.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 annobin-plugin-default-string-notes.patch diff --git a/annobin-plugin-default-string-notes.patch b/annobin-plugin-default-string-notes.patch new file mode 100644 index 0000000..29b68b7 --- /dev/null +++ b/annobin-plugin-default-string-notes.patch @@ -0,0 +1,11 @@ +--- annobin.orig/gcc-plugin/annobin.cc 2023-05-05 11:03:18.395959180 +0100 ++++ annobin-12.10/gcc-plugin/annobin.cc 2023-05-05 11:04:03.241964885 +0100 +@@ -80,7 +80,7 @@ unsigned long annobin_max_stack_size = + bool annobin_is_64bit = false; + + /* Where to put notes. */ +-note_type annobin_note_format = note; ++note_type annobin_note_format = string; + + /* Default to using section groups as the link-order + method needs a linker from binutils 2.36 or later. */ From b92fd219d6f54b3245df71d1e26ef8193f497067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 22 May 2023 17:37:50 +0200 Subject: [PATCH 23/46] Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index 5dea538..cd3b83f 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.10 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon May 22 2023 Petr Pisar - 12.10-3 +- Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) + * Fri May 05 2023 Nick Clifton - 12.10-2 - GCC Plugin: Default to generating string format notes. (Experimental) From 6e8c98dd8f785cf0ef5aadbbeee87f66bf4d81d7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 May 2023 12:09:29 +0100 Subject: [PATCH 24/46] Annocheck: Add support for el10 and rhel-10 profiles. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index cd3b83f..c320f70 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.10 +Version: 12.11 Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri May 26 2023 Petr Pisar - 12.11-1 +- Annocheck: Add support for el10 and rhel-10 profiles. (RHEL-526) + * Mon May 22 2023 Petr Pisar - 12.10-3 - Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) diff --git a/sources b/sources index 4059ce0..22d96cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.10.tar.xz) = 140c74f88ff309e24c003d533545bd7f7705d240faf3781569f7c91e0c41ef2640dfb2ebe2f0cb1fbafddcf3588d9df9b75424764b79091e64a4091b7be3c0f0 +SHA512 (annobin-12.11.tar.xz) = ca56f597b8fd8c7a35566ed1ae4413f106189c1b88c99cdcbbe8012eac6f67794bbc38b775265fdcbb4307f8ef48bf42b76fa5553cfe6084b8a0d6256c4d7a37 From 91e4265352d90aa08691ba3ab0f9a6b2d45e2ee7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 2 Jun 2023 14:54:24 +0100 Subject: [PATCH 25/46] Check for string notes in debuginfo file, even if there are ELF notes in the main file --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index c320f70..9dde2bb 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.11 -Release: 3%{?dist} +Version: 12.12 +Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 01 2023 Nick Clifton - 12.12-1 +- Annocheck: Check for string notes in separate debug info files. (#2211694) + * Fri May 26 2023 Petr Pisar - 12.11-1 - Annocheck: Add support for el10 and rhel-10 profiles. (RHEL-526) diff --git a/sources b/sources index 22d96cd..12eef72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.11.tar.xz) = ca56f597b8fd8c7a35566ed1ae4413f106189c1b88c99cdcbbe8012eac6f67794bbc38b775265fdcbb4307f8ef48bf42b76fa5553cfe6084b8a0d6256c4d7a37 +SHA512 (annobin-12.12.tar.xz) = ea26a6aa26ee50314c980e75e09979c549d302665c2312107b4cbb8a1cd1d62634b6662a719c77667274f1e99afb70ee5db1d6913ec6802a494b32e8b6559196 From 599631e9968ff7b15636eb700fb337abdb27fefd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Jun 2023 14:36:52 +0100 Subject: [PATCH 26/46] 12.13: More tweaks to glibc detection heuristics. (#2215968) --- annobin.spec | 6 +++++- sources | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 9dde2bb..273387b 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.12 +Version: 12.13 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,10 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jun 20 2023 Nick Clifton - 12.13-1 +- Annocheck: Ignore /dev/null filename in string notes. +- Annocheck: More tweaks to glibc detection heuristics. (#2215968) + * Thu Jun 01 2023 Nick Clifton - 12.12-1 - Annocheck: Check for string notes in separate debug info files. (#2211694) diff --git a/sources b/sources index 12eef72..fe4c0fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.12.tar.xz) = ea26a6aa26ee50314c980e75e09979c549d302665c2312107b4cbb8a1cd1d62634b6662a719c77667274f1e99afb70ee5db1d6913ec6802a494b32e8b6559196 +SHA512 (annobin-12.13.tar.xz) = d0089ee0d065a4599dfb0efbf5e125c82884ffeeec05e8839a6c9d6241a51e0158baeeb304dcf1d86f15dcc23d90ea024d6dac9d3520760132cb25386693ef0e From 644bc59850e7db929bafc4e3313c664ccd6c8971 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 22 Jun 2023 16:46:30 +0100 Subject: [PATCH 27/46] Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 273387b..6a6577a 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.13 +Version: 12.14 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 22 2023 Nick Clifton - 12.14-1 +- Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553) + * Tue Jun 20 2023 Nick Clifton - 12.13-1 - Annocheck: Ignore /dev/null filename in string notes. - Annocheck: More tweaks to glibc detection heuristics. (#2215968) diff --git a/sources b/sources index fe4c0fb..f9d2c1c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.13.tar.xz) = d0089ee0d065a4599dfb0efbf5e125c82884ffeeec05e8839a6c9d6241a51e0158baeeb304dcf1d86f15dcc23d90ea024d6dac9d3520760132cb25386693ef0e +SHA512 (annobin-12.14.tar.xz) = 2adb057aefc7dc03cdef34f7d1054ead8f6cb6dabec88bd0e262357a0f456f9cb349b1eba238382cc5fa5f733e360f586282af9081178ff123e68518bb01c1be From f84a88b3c7c03dc5933d7a16b78c195036f23559 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 26 Jun 2023 16:32:51 +0100 Subject: [PATCH 28/46] Annocheck: Add --suppress-version-warnings option. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a6577a..835c541 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.14 +Version: 12.15 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jun 26 2023 Nick Clifton - 12.15-1 +- Annocheck: Add --suppress-version-warnings option. + * Thu Jun 22 2023 Nick Clifton - 12.14-1 - Annocheck: Do not ignore separate debuginfo files that do not contain any DWARF. (#2144553) diff --git a/sources b/sources index f9d2c1c..4f3b879 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.14.tar.xz) = 2adb057aefc7dc03cdef34f7d1054ead8f6cb6dabec88bd0e262357a0f456f9cb349b1eba238382cc5fa5f733e360f586282af9081178ff123e68518bb01c1be +SHA512 (annobin-12.15.tar.xz) = 3cca22815800415eb1c3d106e1d1fa1cb00e97808c302c0451ec15ea4790823f1933bce02f3f64a8b435fbba2d1c2d56dd257f921327a3f9de26e308c07bb377 From 351368aee575018156794a05c290fb09487d9487 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 27 Jun 2023 13:10:32 +0100 Subject: [PATCH 29/46] Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 835c541..6a20212 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.15 +Version: 12.16 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jun 27 2023 Nick Clifton - 12.16-1 +- Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) + * Mon Jun 26 2023 Nick Clifton - 12.15-1 - Annocheck: Add --suppress-version-warnings option. diff --git a/sources b/sources index 4f3b879..36a400a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.15.tar.xz) = 3cca22815800415eb1c3d106e1d1fa1cb00e97808c302c0451ec15ea4790823f1933bce02f3f64a8b435fbba2d1c2d56dd257f921327a3f9de26e308c07bb377 +SHA512 (annobin-12.16.tar.xz) = e32b5d7ed4939c43e9eaeb84935839e557b0c54897806c7463256f73e71f9978f1ac598388f73f37f54a6c2e1a9764a4e861e1cb3fdc274479434427b3990c17 From de71a8d994ac69b63b600330f09116a3c783d233 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 29 Jun 2023 15:24:28 +0100 Subject: [PATCH 30/46] Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 6a20212..c40d325 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.16 +Version: 12.17 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -525,6 +525,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 29 2023 Nick Clifton - 12.17-1 +- Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) + * Tue Jun 27 2023 Nick Clifton - 12.16-1 - Annocheck: Ignore weak/undef function symbols when checking to see if a binary contains code. (#2217840) diff --git a/sources b/sources index 36a400a..532ff26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.16.tar.xz) = e32b5d7ed4939c43e9eaeb84935839e557b0c54897806c7463256f73e71f9978f1ac598388f73f37f54a6c2e1a9764a4e861e1cb3fdc274479434427b3990c17 +SHA512 (annobin-12.17.tar.xz) = be1ae36ebca5890b5aa0affb2ae2462febe14f1d5734be6056ba74220e73937b515e783a549c9c26b38c73d698b14843e0e38e21e5363df2aebcd7a1b89a46b2 From 74ac5654d62a591d345b6eafc635f780d560c409 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 28 Jun 2023 13:16:31 +0000 Subject: [PATCH 31/46] Fix Regression/testsuite test Rawhide now has dnf5, so we need to install dnf5-plugins for the builddep command to work. --- tests/Regression/testsuite/main.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Regression/testsuite/main.fmf b/tests/Regression/testsuite/main.fmf index f117f62..4cb90d9 100644 --- a/tests/Regression/testsuite/main.fmf +++ b/tests/Regression/testsuite/main.fmf @@ -12,6 +12,7 @@ require: - binutils-devel - bzip2-devel - dnf +- dnf5-plugins - elfutils - elfutils-devel - gcc-c++ From eca718919fb5e74430be3e7ce4647475b334ef53 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 3 Jul 2023 15:52:09 +0100 Subject: [PATCH 32/46] Remove dependency upon libiberty --- annobin.spec | 10 ++++++---- sources | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index c40d325..fcac921 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.17 +Version: 12.18 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -156,7 +156,7 @@ of the resulting files. %package annocheck Summary: A tool for checking the security hardening status of binaries -BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel make %if %{with debuginfod} BuildRequires: elfutils-debuginfod-client-devel @@ -173,14 +173,13 @@ hardening options. %package libannocheck Summary: A library for checking the security hardening status of binaries -BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel binutils-devel make +BuildRequires: gcc elfutils elfutils-devel elfutils-libelf-devel rpm-devel make %if %{with debuginfod} BuildRequires: elfutils-debuginfod-client-devel %endif Requires: %{name}-docs = %{version}-%{release} -Requires: binutils-devel %description libannocheck Installs the libannocheck library which uses the notes generated by the @@ -525,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Thu Jun 29 2023 Nick Clifton - 12.18-1 +- Annocheck: Remove dependency upon binutils-devel. + * Thu Jun 29 2023 Nick Clifton - 12.17-1 - Annocheck: Add detection of known parts of libstdc++-nonshared.a that contain gaps. (#2217864) diff --git a/sources b/sources index 532ff26..d3b905f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.17.tar.xz) = be1ae36ebca5890b5aa0affb2ae2462febe14f1d5734be6056ba74220e73937b515e783a549c9c26b38c73d698b14843e0e38e21e5363df2aebcd7a1b89a46b2 +SHA512 (annobin-12.18.tar.xz) = 580c3b24103c9e9e262c156ae2d472addfe3c1d65c343677d0de2b706b15e8368fad67e62bf2a5308eb4dc197a56bd01497861cbd300660158990ed9bf746c78 From 1652c5101ad515f2eefb7a4d0867a2db12714bdf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Jul 2023 14:30:54 +0100 Subject: [PATCH 33/46] GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index fcac921..e2f0eb1 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.18 +Version: 12.19 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 05 2023 Nick Clifton - 12.19-1 +- GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. + * Thu Jun 29 2023 Nick Clifton - 12.18-1 - Annocheck: Remove dependency upon binutils-devel. diff --git a/sources b/sources index d3b905f..7eb3101 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.18.tar.xz) = 580c3b24103c9e9e262c156ae2d472addfe3c1d65c343677d0de2b706b15e8368fad67e62bf2a5308eb4dc197a56bd01497861cbd300660158990ed9bf746c78 +SHA512 (annobin-12.19.tar.xz) = 0ac445091952226e9ba77901de853ec0efafbe5696fabbcbff15f4a58394eb1a871aa2c52c3554935916584802eb80b7e4deed4f09b9f813b72df696484cf8f3 From 2b17846e9b2ae5b13a8e1b2b9d175bbf2e7d65ed Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Jul 2023 10:53:34 +0100 Subject: [PATCH 34/46] Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e2f0eb1..5b906f4 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.19 +Version: 12.20 Release: 1%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 17 2023 Nick Clifton - 12.20-1 +- Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) + * Wed Jul 05 2023 Nick Clifton - 12.19-1 - GCC Plugin: Suppress active checks for fortran sources. Improve scanning of COLLECT_GCC_OPTIONS. diff --git a/sources b/sources index 7eb3101..876a6b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.19.tar.xz) = 0ac445091952226e9ba77901de853ec0efafbe5696fabbcbff15f4a58394eb1a871aa2c52c3554935916584802eb80b7e4deed4f09b9f813b72df696484cf8f3 +SHA512 (annobin-12.20.tar.xz) = cb7ff25b872a0840c4ac21f25217bbe5bd1fd13257097d2a11d8e92a696a5629580f3de99d6e973fbe33a8510aa94aa967f0f557ca3b57a4ea25f9ce35efe17b From 5b54cac55275a99e201798f62688eb9074e2f5d9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 17 Jul 2023 13:18:39 +0100 Subject: [PATCH 35/46] Spec File: Change License field to use SPDX notation. (#2222112) --- annobin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5b906f4..27c2aad 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,8 +2,8 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.20 -Release: 1%{?dist} -License: GPLv3+ +Release: 2%{?dist} +License: GPL-3.0-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 17 2023 Nick Clifton - 12.20-2 +- Spec File: Change License field to use SPDX notation. (#2222112) + * Mon Jul 17 2023 Nick Clifton - 12.20-1 - Annocheck: Ignore AArch64 $x and $d symbols. (#2221192) From 7d937f32eae2c2ef90c0811259a8773da120236f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 18 Jul 2023 13:13:11 +0100 Subject: [PATCH 36/46] Spec File: migrated to SPDX license. (#2222112) --- annobin.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/annobin.spec b/annobin.spec index 27c2aad..d6c92d2 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,9 +1,9 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.20 -Release: 2%{?dist} -License: GPL-3.0-or-later +Version: 12.21 +Release: 1%{?dist} +License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com # Web Page: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Jul 18 2023 Nick Clifton - 12.21-1 +- Spec File: migrated to SPDX license. (#2222112) + * Mon Jul 17 2023 Nick Clifton - 12.20-2 - Spec File: Change License field to use SPDX notation. (#2222112) diff --git a/sources b/sources index 876a6b9..2290fff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.20.tar.xz) = cb7ff25b872a0840c4ac21f25217bbe5bd1fd13257097d2a11d8e92a696a5629580f3de99d6e973fbe33a8510aa94aa967f0f557ca3b57a4ea25f9ce35efe17b +SHA512 (annobin-12.21.tar.xz) = d31f63543c8038654933366a0bfbb96abfa71635bb28b3744f26c58c31068f864fed5cb14cb0121e7214be67d11b1cb950bd0239aacf64bc4057b71fac598e31 From 420e5ffe64b72a765b4e962a5e0b70c19d1c3a3c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 13:17:45 +0000 Subject: [PATCH 37/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- annobin.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index d6c92d2..4843a32 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 12.21 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 12.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 18 2023 Nick Clifton - 12.21-1 - Spec File: migrated to SPDX license. (#2222112) From e1ed0f967bb08c63970f105821e418b56deb4652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Wed, 26 Jul 2023 13:09:38 +0200 Subject: [PATCH 38/46] Move downstream tests to a separate repository The tests have been moved to https://src.fedoraproject.org/tests/annobin The move will enable more flexible downstream usage, namely in RHEL testing. --- plans/ci.fmf | 1 + tests/README | 2 - .../main.fmf | 18 ---- .../runtest.sh | 51 ----------- tests/Regression/identify/main.fmf | 14 --- tests/Regression/identify/runtest.sh | 43 --------- .../lto-preprocessor-options/main.fmf | 17 ---- .../lto-preprocessor-options/runtest.sh | 44 --------- .../main | Bin 27456 -> 0 bytes .../main.fmf | 16 ---- .../runtest.sh | 40 --------- .../main.fmf | 16 ---- .../runtest.sh | 42 --------- .../main.fmf | 18 ---- .../runtest.sh | 44 --------- tests/Regression/testsuite/main.fmf | 25 ------ tests/Regression/testsuite/runtest.sh | 85 ------------------ .../main.fmf | 17 ---- .../runtest.sh | 55 ------------ tests/Sanity/gcc-fedora-flags/hello.c | 5 -- tests/Sanity/gcc-fedora-flags/hello.cpp | 5 -- tests/Sanity/gcc-fedora-flags/main.c | 6 -- tests/Sanity/gcc-fedora-flags/main.cpp | 6 -- tests/Sanity/gcc-fedora-flags/main.fmf | 17 ---- tests/Sanity/gcc-fedora-flags/runtest.sh | 40 --------- tests/Sanity/smoke/main.fmf | 16 ---- tests/Sanity/smoke/runtest.sh | 45 ---------- 27 files changed, 1 insertion(+), 687 deletions(-) delete mode 100644 tests/README delete mode 100644 tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf delete mode 100755 tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh delete mode 100644 tests/Regression/identify/main.fmf delete mode 100755 tests/Regression/identify/runtest.sh delete mode 100644 tests/Regression/lto-preprocessor-options/main.fmf delete mode 100755 tests/Regression/lto-preprocessor-options/runtest.sh delete mode 100644 tests/Regression/missing-check-for-x86-property-note-content/main delete mode 100644 tests/Regression/missing-check-for-x86-property-note-content/main.fmf delete mode 100755 tests/Regression/missing-check-for-x86-property-note-content/runtest.sh delete mode 100644 tests/Regression/processing-params-in-reverse-order/main.fmf delete mode 100755 tests/Regression/processing-params-in-reverse-order/runtest.sh delete mode 100644 tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf delete mode 100755 tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh delete mode 100644 tests/Regression/testsuite/main.fmf delete mode 100755 tests/Regression/testsuite/runtest.sh delete mode 100644 tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf delete mode 100755 tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh delete mode 100644 tests/Sanity/gcc-fedora-flags/hello.c delete mode 100644 tests/Sanity/gcc-fedora-flags/hello.cpp delete mode 100644 tests/Sanity/gcc-fedora-flags/main.c delete mode 100644 tests/Sanity/gcc-fedora-flags/main.cpp delete mode 100644 tests/Sanity/gcc-fedora-flags/main.fmf delete mode 100755 tests/Sanity/gcc-fedora-flags/runtest.sh delete mode 100644 tests/Sanity/smoke/main.fmf delete mode 100755 tests/Sanity/smoke/runtest.sh diff --git a/plans/ci.fmf b/plans/ci.fmf index 3fd3ab7..6ae9ce7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,5 +1,6 @@ summary: CI Gating Plan discover: how: fmf + url: https://src.fedoraproject.org/tests/annobin.git execute: how: tmt diff --git a/tests/README b/tests/README deleted file mode 100644 index 9ad59d4..0000000 --- a/tests/README +++ /dev/null @@ -1,2 +0,0 @@ -The test's Makefiles are not used in Fedora CI infrastructure. But are kept here -for backward compatibility with traditional beakerlib test harness in RHEL. diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf deleted file mode 100644 index e0cbc5d..0000000 --- a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/main.fmf +++ /dev/null @@ -1,18 +0,0 @@ -summary: Test for BZ#1958954 (annobin fails to skip endbr64 entry point check) -description: | - Bug summary: annobin fails to skip endbr64 entry point check for shared objects - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1958954 -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-annocheck -- annobin-plugin-gcc -- gcc -- redhat-rpm-config -duration: 48h -extra-summary: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check -extra-task: /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check diff --git a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh b/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh deleted file mode 100755 index 91fa544..0000000 --- a/tests/Regression/annobin-fails-to-skip-endbr64-entry-point-check/runtest.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/annobin-fails-to-skip-endbr64-entry-point-check -# Description: Test for BZ#1958954 (annobin fails to skip endbr64 entry point check) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -rlJournalStart - rlPhaseStartSetup - rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" - rlRun "pushd $TmpDir" - rlPhaseEnd - - rlPhaseStartTest - rlRun "echo 'void f1(void) {}' > f1.c" - rlRun "echo 'void f2(void) {}' > f2.c" - rlRun "gcc `rpm --eval %build_cflags` -fpic -c f1.c" - rlRun "gcc `rpm --eval %build_cflags` -fpic -c f2.c" - rlRun "gcc `rpm --eval %build_ldflags` -shared f1.o f2.o" - rlRun "annocheck -v --skip-lto a.out" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" 0 "Removing tmp directory" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/identify/main.fmf b/tests/Regression/identify/main.fmf deleted file mode 100644 index 674544e..0000000 --- a/tests/Regression/identify/main.fmf +++ /dev/null @@ -1,14 +0,0 @@ -summary: identify -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -recommend: -- annobin-plugin-gcc -- annobin-annocheck -duration: 48h -extra-summary: /tools/annobin/Regression/identify -extra-task: /tools/annobin/Regression/identify diff --git a/tests/Regression/identify/runtest.sh b/tests/Regression/identify/runtest.sh deleted file mode 100755 index 7907036..0000000 --- a/tests/Regression/identify/runtest.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/identify -# Description: identify -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - rlRun "tool_v=$(annocheck --version | awk '/^annocheck: Version/ {print $3}')" - rlRun "__RPM=$(rpm --queryformat='%{name}\n' -qf $(man -w annobin))" - rlRun "rpm_v=$(rpm -q --queryformat='%{version}\n' $__RPM)" - # Following fails for annobin-8.89-2.el8 - rlRun "[[ "x${tool_v}" == "x${rpm_v}." ]]" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/lto-preprocessor-options/main.fmf b/tests/Regression/lto-preprocessor-options/main.fmf deleted file mode 100644 index 2a3e56a..0000000 --- a/tests/Regression/lto-preprocessor-options/main.fmf +++ /dev/null @@ -1,17 +0,0 @@ -summary: lto-preprocessor-options -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- redhat-rpm-config -- gcc -- redhat-rpm-config -duration: 48h -extra-summary: /tools/annobin/Regression/lto-preprocessor-options -extra-task: /tools/annobin/Regression/lto-preprocessor-options diff --git a/tests/Regression/lto-preprocessor-options/runtest.sh b/tests/Regression/lto-preprocessor-options/runtest.sh deleted file mode 100755 index 430d830..0000000 --- a/tests/Regression/lto-preprocessor-options/runtest.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/lto-preprocessor-options -# Description: lto-preprocessor-options -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2020 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - b=`mktemp` - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - rlRun "cflags=\"$(rpm --eval '%build_cflags')\"" - rlRun "ldflags=\"$(rpm --eval '%build_ldflags')\"" - rlRun "echo 'int main (void) { return 0; }' | gcc -xc -o $b $cflags $ldflags -flto - " - rlRun "annocheck -v $b" - rm $b - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main b/tests/Regression/missing-check-for-x86-property-note-content/main deleted file mode 100644 index b7f4983a4a9958c8cf33bb1a902848845794ec82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27456 zcmeHQeQX@X6`#BF#STtvCn1mzz#E!CNVxMy9OFQo*oi;xf}NPe5sp;4S>NrQ7w-1l zyS?C~QJX4I5g{a6RrCv~AF4$Epa`k`BP#zGQ6Z>=1nobmDz#|^YEVm?LYsyn<@(<2 zd*|J~JrYnu)3PJqzM0>=_h$CZ$L-F%8-HndY$O~C2@VmlLttv6%|-?&V_u^OkO9#r zmcsQmu|X_?bc4j~`~jOlt{u*V-L#4D2vC$;g%KZmlMM@|TtlQNS1+88+Br-G-3Q9a zEJ`!ZG)V<8WxQIRLM3|WHwk9yltbG*AF~;r?|0KFvddwjEQd*ydxhj)Avvb!sh&*P zo@f*N^pQQiRDnDUio6Qpm75|tFC8L&rdS4s18-UBk5k?R$u%fajquX-HY}KOdG~=F z+T}_EH}iffuUJ*kfc3&MuuqNd zJt)E_#5`gwkMZl_gJ#A23$Oig#nQ1me>)%D@Z2vNAKCKG$`{^c9Vml57?7X41g0^M zKbXGKfOT8$!@L_X#RpgG;AR~h>vXG+9-*qKIZe$Nrj|2~>5v3Nrqq(96)iQd8K%HA z+Ob!RjwN^PR=eZf@vYVPmL8!dC&$&aUevQj$=0NL>&yM3yvA6J*1nUlpMLcz=w4x%+3djMmB&fvG8;clms;D0guryyJIPaTd@gb74~dg+o}ZW;?wap&5a|zZ3mSAzPF;A55I=e>V=%#HqKe zC7}8_cpW&m8mf6N4VRarZ$W100g$bhkMeIn44EK>acR4%wEzr4V1d8_fdv8!1QrM^ z5Lh6vKwyEu0)Yhr3j`Lp1}%X5VxhH>dlaY}?l;|ZzEYV4x*h0opkqL{1I4{e454HD zMQE-qw022j)042Fg*fifHv!*m$S~9>cf{61vJ|ipPlZyWT2FuO!NZ#KdXxV`Lvm=I8fO^l!v)qfNvastDt&D9!brCq8ig zl!5gzC0Kk=vF{J;Dn&0*`W)RK>;TLAXS>7euS}nz{P!u%_rZGqQqx}FXTIvt}gJ%?NYisySqB?>h4oE?$^^wLbE6%)_n&k!}gR#fdNJb*N3)b zxAkoS>5n5OE3 zf2R&7$NA=~x%TU_d(hvnj@|vf`}uo?>Br^aXOOitXZh*jXOJX4XW$tp_Wl`i3&HJP z-9wS+!es|Uqaq}kp-T#JGw-%lcNK{_{CS9Y)rFpxr>LNY&p>wQN2p;PNlX9@&%syk zl8q3HG(=%@Lo|FBiV1~QAS6P|LK|9EG)LOkwjaE4S*Q(m_QG+|)wV3Oym4UFG2FOx zu*mEl5ox-+`JU!&&B+xzS8oTF$a>M-yrVe+_s|d*J6A_q?EKqTC-LcK3_elV-r0o8 zLZJ^@mLkD>l@$rKV^oAg?cvt2y!UmOj@}{`hxu+pQDskb)1pwg5k&D!AcwvS@7C4V z9G0r&1$Nt%(d78V*symi%xBL{iRF8H;9`|cy+5m)deKNhQY)rr`t8GsVn@1_SXPPc z1ClWdvBIow=4Th;8f>}6GO0{#VTY?fQ_kf8oJbDCHD?tyvjmaZTsdo){j~pvXA>#A zyYBi3mGsuiQ){kd&MH7@8O@48ELNC)5cb`$e0?sZ&*BaoCgheD*SS!Pm8@a`HV|VO zt#s5(%|N11F2%~`!-koTS$Im&f|T6kV_DD#QXg{vp4*nE6?ItoS^UJOjv3pA#?7r$ z_lfOrmXVP$Qihh>A&@JclF!W8128mlAE`IMBp3QyhpOkF5hO_jMk}A+<;Ej|&*yUE z4dS@ZMso!EB=66=`4?69<=uFr;Qf0y-XwTm+l?<4ydUnyuM@oQ?#7#|`}1xb<`tUH z-1t(V_~I?qNyp9KD)>Fjje`=!iP-T7?4CCG;>*QGUwnmNe+j3y2zbG>pM)DH zH-3Zg+rN*17X$k{xcR|5VZe#l@rYP0ntXBg-f+uA#9GmI*o|Q-QaxqQofi=|y8%i? z#4UC3_Byyy2ba@eOKoKYgnLu_iN|gEOsrhIbs1G*vHWw z;CnFWCuonr4#Bwi{~s5A-xt4;-!HY#?Qa5(UYOqZh<{4{+UNPDun^;SF7GD56{l$_ zeo*4I&;KKUw~19X&;NNS7x9Jxx3Y08H(dLEbb#~-5C37n6}JkRDgeGLT>D;g9C0X_ zg~$zBJdS$8we!XlXlsM#gth^9A%}o}IXs6<(DTM^l>HsRk>C5i^9=D15I?_iKMVM> zaIJk#1FpD>l&N0=eyb1u4&ckfKJTX;wG|Z>K3oY^H`6X4K2xw<0CLoT@v@mS9@2A1Ygv7B;_^V| z@@y@;Uq)P?Gkhu`QB~EZ4b{@J3##Ojh}7f3@ZP`xC99mtz?#Xz8PBSf2ZwAp<+%hW zJf{n4HdmO|a%$Qt6icdBo)f7;em19DdOF_e&w(dS8>&_;YDd99R`IB?y{FUVeEuki zI8rKbS}s;q9oauPKCBM!9a7;?>7he=2gj4UK?+vB)Zql>CWiJ4b#!dsuE8;N-^j>; z;YoFJaM#!{NO%vq9^j*`FL#`^p4Kc)$jak=LBc-U8WQe(RkZ00$E1ro^d=L0=i^zk9EUZ=S-ogMf2=~&Wdn{=H=uhqR?*Hmq8Cf(i!a$Ip+a6!&uJ(?vDqASP;6KcxAZxB6-zy9! zJ@ULR!c<{KqF(v?0lxsh)#3W{dMQ)BfBqeZxBeQ)<980r&r|)GK1t=`J))gio_}v- z0EQwg&+D&DAA>w+KpoD28!-4=B$nrOTBh*LB?H%=`IvqYa`CrKoaXghrky13tv|uy z35cLgS)SK@na&dh;yXi*AWYd#D38DK^2&c7FtiEl$43wui1P2+2$gl^ zIMS!#tcTu}7ZQubHy13G;jVFRnLY{j1NE3ULzk z@^hN$3&4)@+NT5pFs<%jfm~(;YT{!Y0)#%QIc%krxBR+G$hfV+B~2Gb{lBdAR=keBE?~^2?}v zVy~)Zc{o7V6}Wt+Yaqh5LB_VjHhUi_d=~e69l_iGI;ngIi;TXRv=MK;xLoGnSx5f* zJvIlZmV`LA3?UMG3)eICEp7W|<{IVYLU){$4n zZTXFL%4hi#B=2Dp36jS-+ZkAnF--H^!x+-TB!7k+@o*k`3O?MQ`Fmk8VBB{hS`B@2 dVIR(D_9*w3k1i5^@|zFas_={}XYeG&zX9yy#l`>t diff --git a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf b/tests/Regression/missing-check-for-x86-property-note-content/main.fmf deleted file mode 100644 index b4ab7fd..0000000 --- a/tests/Regression/missing-check-for-x86-property-note-content/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: missing-check-for-x86-property-note-content -description: | - Bug summary: annobin: Missing check for contents of x86 property note - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-annocheck -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1991931 -extra-summary: /tools/annobin/Regression/missing-check-for-x86-property-note-content -extra-task: /tools/annobin/Regression/missing-check-for-x86-property-note-content diff --git a/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh b/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh deleted file mode 100755 index 14392c0..0000000 --- a/tests/Regression/missing-check-for-x86-property-note-content/runtest.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/missing-check-for-x86-property-note-content -# Description: missing-check-for-x86-property-note-content -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - rlRun "annocheck main" 1 - rlRun "annocheck --fixed-format-messages main | \ - grep '^Hardened: FAIL: test: cf-protection file: main.$'" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/processing-params-in-reverse-order/main.fmf b/tests/Regression/processing-params-in-reverse-order/main.fmf deleted file mode 100644 index 99adc08..0000000 --- a/tests/Regression/processing-params-in-reverse-order/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: processing-params-in-reverse-order -description: | - Bug summary: annocheck processes (reports) parameters in reverse order - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-annocheck -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988714 -extra-summary: /tools/annobin/Regression/processing-params-in-reverse-order -extra-task: /tools/annobin/Regression/processing-params-in-reverse-order diff --git a/tests/Regression/processing-params-in-reverse-order/runtest.sh b/tests/Regression/processing-params-in-reverse-order/runtest.sh deleted file mode 100755 index 75b357e..0000000 --- a/tests/Regression/processing-params-in-reverse-order/runtest.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/processing-params-in-reverse-order -# Description: processing-params-in-reverse-order -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - rlRun "TMP=$(mktemp)" - rlRun "annocheck --verbose --skip-all --test-stack-prot /bin/bash /bin/cat |& tee $TMP" - rlRun "fgrep -i /bin/ $TMP | head -1 | fgrep /bash" - rlRun "fgrep -i /bin/ $TMP | tail -1 | fgrep /cat" - rlRun "rm -f $TMP" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf deleted file mode 100644 index 07395fa..0000000 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/main.fmf +++ /dev/null @@ -1,18 +0,0 @@ -summary: segv-when-processing-multiple-params-incl-symlink -description: | - Bug summary: annocheck segfaults sometimes when processing multiple parameters and symlink is involved - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1988715 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- libstdc++ -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1988715 -extra-summary: /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink -extra-task: /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink diff --git a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh b/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh deleted file mode 100755 index 6603c3c..0000000 --- a/tests/Regression/segv-when-processing-multiple-params-incl-symlink/runtest.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/segv-when-processing-multiple-params-incl-symlink -# Description: segv-when-processing-multiple-params-incl-symlink -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartTest - # This tries to test https://bugzilla.redhat.com/show_bug.cgi?id=1988715#c0 - # keeping in mind that annocheck will evolve in the future, along its - # rules / policies, and the surrounding OS will evolve too. This test - # shouldn't report false positives though. - rlRun "rpm -qf /usr/lib64/libstdc++.so*" - rlRun "annocheck --follow-links --skip-all /usr/lib64/libstdc++.so*" - rlRun "annocheck --ignore-links --skip-all /usr/lib64/libstdc++.so*" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Regression/testsuite/main.fmf b/tests/Regression/testsuite/main.fmf deleted file mode 100644 index 4cb90d9..0000000 --- a/tests/Regression/testsuite/main.fmf +++ /dev/null @@ -1,25 +0,0 @@ -summary: testsuite -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- binutils-devel -- bzip2-devel -- dnf -- dnf5-plugins -- elfutils -- elfutils-devel -- gcc-c++ -- gcc-plugin-devel -- make -- rpm-build -- rpm-devel -duration: 48h -extra-summary: /tools/annobin/Regression/testsuite -extra-task: /tools/annobin/Regression/testsuite diff --git a/tests/Regression/testsuite/runtest.sh b/tests/Regression/testsuite/runtest.sh deleted file mode 100755 index 1507c45..0000000 --- a/tests/Regression/testsuite/runtest.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Regression/testsuite -# Description: testsuite -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2018 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="${PACKAGE:-$(rpm -qf --queryformat=%{name} $(man -w annobin))}" -export PACKAGE - -GCC="${GCC:-$(which gcc)}" - - -rlJournalStart - rlPhaseStartSetup - rlLogInfo "PACKAGES=$PACKAGES" - rlLogInfo "REQUIRES=$REQUIRES" - rlLogInfo "COLLECTIONS=$COLLECTIONS" - rlLogInfo "X_SCLS=$X_SCLS" - rlLogInfo "GCC=$GCC" - - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - - # In case more than one devtoolset- or gcc-toolset -build package is - # installed (they can co-exist from the packaging persp, but their - # coexistence causes unexpected results with rpm macros), then we have - # a mess of defined rpm macros coming e.g. from - # /etc/rpm/macros.gcc-toolset-10-config - # /etc/rpm/macros.gcc-toolset-9-config etc. To have just the needed - # macros (respective to given SCL under test) defined without - # uninstalling unneeded RPMs, we'll need an override mechanism. The - # following assumes just one SCL *enabled* (more than one installed), - # and doesn't care of a (useless) revert: - echo ${X_SCLS} | fgrep toolset && \ - rlRun "cat /etc/rpm/*${X_SCLS%\ }* > ~/.rpmmacros" - - rlAssertRpm $PACKAGE - rlRun "TMP=\$(mktemp -d)" - rlRun "pushd $TMP" - - rlFetchSrcForInstalled $PACKAGE - rlRun "dnf builddep -y *src.rpm" - rlRun "rpm --define='_topdir $TMP' -Uvh *src.rpm" - rlRun "rpmbuild --define='_topdir $TMP' -bc SPECS/annobin.spec" - rlPhaseEnd - - rlPhaseStartTest - rlRun "pushd BUILD/annobin-*" - set -o pipefail - rlRun "make check |& tee $TMP/check.log" - rlRun -l "grep '^PASS:' $TMP/check.log" 0 - rlRun -l "grep '^FAIL:' $TMP/check.log" 1 - PASSCOUNT=$(grep '^PASS:' $TMP/check.log | wc -l) - rlRun "[[ $PASSCOUNT -ge 7 ]]" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TMP" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf deleted file mode 100644 index 9ece622..0000000 --- a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/main.fmf +++ /dev/null @@ -1,17 +0,0 @@ -summary: Test for BZ#1973981 (annocheck silently ignores any file parameter) -description: | - Bug summary: annocheck silently ignores any file parameter beyond 256 - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 -contact: Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -duration: 48h -link: -- relates: https://bugzilla.redhat.com/show_bug.cgi?id=1973981 -extra-summary: /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter -extra-task: /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter diff --git a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh b/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh deleted file mode 100755 index bb1a436..0000000 --- a/tests/Sanity/annocheck-silently-ignores-any-file-parameter/runtest.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Sanity/annocheck-silently-ignores-any-file-parameter -# Description: Test for BZ#1973981 (annocheck silently ignores any file parameter) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -rlJournalStart - rlPhaseStartSetup - rlRun "TMP=$(mktemp -d)" - rlRun "pushd $TMP" - rlPhaseEnd - - rlPhaseStartTest - for i in `seq 0 299`; do touch ${i}.sample; done - samplecnt=$(ls *.sample | wc -l) - testcnt=$(ls *.sample | \ - xargs annocheck |& \ - grep -F \ - -e '.sample: unable to read magic number' \ - -e '.sample: is not an ELF format file' \ - | wc -l) - rlRun "test $samplecnt -eq 300" - rlRun "test $testcnt -eq 300" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TMP" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Sanity/gcc-fedora-flags/hello.c b/tests/Sanity/gcc-fedora-flags/hello.c deleted file mode 100644 index 51b259b..0000000 --- a/tests/Sanity/gcc-fedora-flags/hello.c +++ /dev/null @@ -1,5 +0,0 @@ -#include - -void hello() { - printf("Hello World\n"); -} diff --git a/tests/Sanity/gcc-fedora-flags/hello.cpp b/tests/Sanity/gcc-fedora-flags/hello.cpp deleted file mode 100644 index 400612b..0000000 --- a/tests/Sanity/gcc-fedora-flags/hello.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include - -void hello() { - std::cout << "Hello World\n"; -} diff --git a/tests/Sanity/gcc-fedora-flags/main.c b/tests/Sanity/gcc-fedora-flags/main.c deleted file mode 100644 index 1a3455d..0000000 --- a/tests/Sanity/gcc-fedora-flags/main.c +++ /dev/null @@ -1,6 +0,0 @@ -void hello(); - -int main(int argc, char **argv) { - hello(); - return 0; -} diff --git a/tests/Sanity/gcc-fedora-flags/main.cpp b/tests/Sanity/gcc-fedora-flags/main.cpp deleted file mode 100644 index 1a3455d..0000000 --- a/tests/Sanity/gcc-fedora-flags/main.cpp +++ /dev/null @@ -1,6 +0,0 @@ -void hello(); - -int main(int argc, char **argv) { - hello(); - return 0; -} diff --git a/tests/Sanity/gcc-fedora-flags/main.fmf b/tests/Sanity/gcc-fedora-flags/main.fmf deleted file mode 100644 index f053025..0000000 --- a/tests/Sanity/gcc-fedora-flags/main.fmf +++ /dev/null @@ -1,17 +0,0 @@ -summary: gcc-fedora-flags -description: '' -contact: -- Tom Stellard -component: -- annobin -test: ./runtest.sh -framework: beakerlib -recommend: -- gcc -- gcc-c++ -- annobin -- annobin-annocheck -- redhat-rpm-config -duration: 1h -extra-summary: /tools/annobin/Sanity/gcc-fedora-flags -extra-task: /tools/annobin/Sanity/gcc-fedora-flags diff --git a/tests/Sanity/gcc-fedora-flags/runtest.sh b/tests/Sanity/gcc-fedora-flags/runtest.sh deleted file mode 100755 index 8ef829f..0000000 --- a/tests/Sanity/gcc-fedora-flags/runtest.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -set -x - -default_cflags=`rpm -E %{build_cflags}` -default_cxxflags=`rpm -E %{build_cxxflags}` -default_ldflags=`rpm -E %{build_ldflags}` - -cflags=`rpm -D '%toolchain gcc' -E %{build_cflags}` -cxxflags=`rpm -D '%toolchain gcc' -E %{build_cxxflags}` -ldflags=`rpm -D '%toolchain gcc' -E %{build_ldflags}` - -set +x - -rlJournalStart -rlPhaseStartTest - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - - rlRun "test \"$default_cflags\" = \"$cflags\"" - rlRun "test \"$default_cxxflags\" = \"$cxxflags\"" - rlRun "test \"$default_ldflags\" = \"$ldflags\"" - - rlRun "gcc $cflags -o hello.o -c hello.c" - rlRun "annocheck hello.o" - rlRun "gcc $cflags -o main.o -c main.c" - rlRun "gcc $ldflags -o hello main.o hello.o" - rlRun "annocheck hello" - rlRun "./hello | grep \"Hello World\"" - - rlRun "g++ $cxxflags -o hello-cpp.o -c hello.cpp" - rlRun "annocheck hello-cpp.o" - rlRun "g++ $cxxflags -o main-cpp.o -c main.cpp" - rlRun "g++ $ldflags -o hello-cpp main-cpp.o hello-cpp.o" - rlRun "annocheck hello-cpp" - rlRun "./hello-cpp | grep \"Hello World\"" -rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf deleted file mode 100644 index fca8ae4..0000000 --- a/tests/Sanity/smoke/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: smoke test for annobin plugin -description: '' -contact: -- Martin Cermak -component: -- annobin -test: ./runtest.sh -framework: beakerlib -require: -- annobin-plugin-gcc -- annobin-annocheck -- man-db -- gcc -duration: 48h -extra-summary: /tools/annobin/Sanity/smoke -extra-task: /tools/annobin/Sanity/smoke diff --git a/tests/Sanity/smoke/runtest.sh b/tests/Sanity/smoke/runtest.sh deleted file mode 100755 index 566e571..0000000 --- a/tests/Sanity/smoke/runtest.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/annobin/Sanity/smoke -# Description: smoke test for annobin plugin -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="annobin" - -rlJournalStart - rlPhaseStartSetup - rlRun "which gcc" - rlRun "man -w annobin" - rlRun "echo $X_SCLS" - rlPhaseEnd - - rlPhaseStartTest - rlRun "rpm -qa | fgrep -e redhat-rpm-config -e gcc -e annobin -e binutils | sort" - rlRun "echo 'int main() {return 0;}' | gcc -xc -fplugin=annobin -o /dev/null -" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd From bcd8d3a6c1589c2010251610728db494a73aec83 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 26 Jul 2023 16:09:06 +0100 Subject: [PATCH 39/46] Annocheck: Fix double free. (#2226749) --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4843a32..2c5de5d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,8 +1,8 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.21 -Release: 2%{?dist} +Version: 12.22 +Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Jul 26 2023 Nick Clifron - 12.22-1 +- Annocheck: Fix double free. (#2226749) + * Wed Jul 19 2023 Fedora Release Engineering - 12.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 2290fff..bee9fb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.21.tar.xz) = d31f63543c8038654933366a0bfbb96abfa71635bb28b3744f26c58c31068f864fed5cb14cb0121e7214be67d11b1cb950bd0239aacf64bc4057b71fac598e31 +SHA512 (annobin-12.22.tar.xz) = 41774020bf2c44e825bc00a178c7d5ef8a428766269034c5fd59f49927831f79d251618a50a2669e026f8dc3c89afc9010923870557fb530b11e16f06367b871 From 1399107c1f6090c7d49326a007f728e182062e4e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 31 Jul 2023 12:41:44 +0100 Subject: [PATCH 40/46] Annocheck: Add test for FIPS compliant GO binaries. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 2c5de5d..4079906 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.22 +Version: 12.23 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jul 31 2023 Nick Clifron - 12.23-1 +- Annocheck: Add test for FIPS compliant GO binaries. + * Wed Jul 26 2023 Nick Clifron - 12.22-1 - Annocheck: Fix double free. (#2226749) diff --git a/sources b/sources index bee9fb7..4d50c2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.22.tar.xz) = 41774020bf2c44e825bc00a178c7d5ef8a428766269034c5fd59f49927831f79d251618a50a2669e026f8dc3c89afc9010923870557fb530b11e16f06367b871 +SHA512 (annobin-12.23.tar.xz) = 6716d5525d77b39bce0f05158753e6badb8c27529f71d4f65d511ea6430dcd3e2efe88b711c7eebd8b840c2cbcfeed6877393a39f75f473812b99d6c2d927968 From b8758c2ddd39701ea98c4ec846c5dde30f275312 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 4 Aug 2023 14:13:51 +0100 Subject: [PATCH 41/46] Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4079906..4918be7 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.23 +Version: 12.24 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Aug 04 2023 Nick Clifron - 12.24-1 +- Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. + * Mon Jul 31 2023 Nick Clifron - 12.23-1 - Annocheck: Add test for FIPS compliant GO binaries. diff --git a/sources b/sources index 4d50c2e..b742234 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.23.tar.xz) = 6716d5525d77b39bce0f05158753e6badb8c27529f71d4f65d511ea6430dcd3e2efe88b711c7eebd8b840c2cbcfeed6877393a39f75f473812b99d6c2d927968 +SHA512 (annobin-12.24.tar.xz) = 1f095d6fa2f53fecf25c4c9c0bc9fad35da5c6050c567fa6e5c8cdb42e9948f38f43d8f8136a6eb44bd8e9d1d42e1c26e396895ecec22550a5069f995f376139 From d4a01699fcb497ab857aac0e694a0ba368bb58fd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 30 Aug 2023 08:32:43 +0100 Subject: [PATCH 42/46] GCC Plugin: Enable string note format by default. --- annobin.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/annobin.spec b/annobin.spec index 4918be7..1ccae96 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.24 +Version: 12.25 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -67,7 +67,7 @@ Source: https://nickc.fedorapeople.org/%{annobin_sources} %global annobin_source_dir %{_usrsrc}/annobin # Insert patches here, if needed. Eg: -Patch01: annobin-plugin-default-string-notes.patch +# Patch01: annobin-plugin-default-string-notes.patch #--------------------------------------------------------------------------------- @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Aug 30 2023 Nick Clifron - 12.25-1 +- GCC Plugin: Enable string note format by default. + * Fri Aug 04 2023 Nick Clifron - 12.24-1 - Annocheck: Change GO FIPS test to look for CGO_ENABLED markers. diff --git a/sources b/sources index b742234..c8284ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.24.tar.xz) = 1f095d6fa2f53fecf25c4c9c0bc9fad35da5c6050c567fa6e5c8cdb42e9948f38f43d8f8136a6eb44bd8e9d1d42e1c26e396895ecec22550a5069f995f376139 +SHA512 (annobin-12.25.tar.xz) = 44eea7dbc99cc42de8ff4649396240470d123f36d703b83f85b81a770155b46005ed96acefb6467429046075fab7ad361ee9b1f00eb267a68f68a7835a00cbcc From 9aa8c4025ec2b5adf24ab29f0dac5d511971213b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Sep 2023 08:26:36 +0100 Subject: [PATCH 43/46] LLVM Plugin: Fix building with LLVM version 17. --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 1ccae96..daf1424 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.25 +Version: 12.26 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Wed Sep 06 2023 Nick Clifron - 12.26-1 +- LLVM Plugin: Fix building with LLVM version 17. + * Wed Aug 30 2023 Nick Clifron - 12.25-1 - GCC Plugin: Enable string note format by default. diff --git a/sources b/sources index c8284ab..ad4f1fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.25.tar.xz) = 44eea7dbc99cc42de8ff4649396240470d123f36d703b83f85b81a770155b46005ed96acefb6467429046075fab7ad361ee9b1f00eb267a68f68a7835a00cbcc +SHA512 (annobin-12.26.tar.xz) = 979643818fa794b74c8fdfc02404988f85da67d2c45afaa35f05f1127a537d8db9f710531043c625d7a2b6625f24c5b3c1f584519925182ef3786d415ce70ad8 From 290b9207f3bde7543a93f24efb77464829b66981 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Sep 2023 11:18:36 +0100 Subject: [PATCH 44/46] Remove redundant patch --- annobin-plugin-default-string-notes.patch | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 annobin-plugin-default-string-notes.patch diff --git a/annobin-plugin-default-string-notes.patch b/annobin-plugin-default-string-notes.patch deleted file mode 100644 index 29b68b7..0000000 --- a/annobin-plugin-default-string-notes.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- annobin.orig/gcc-plugin/annobin.cc 2023-05-05 11:03:18.395959180 +0100 -+++ annobin-12.10/gcc-plugin/annobin.cc 2023-05-05 11:04:03.241964885 +0100 -@@ -80,7 +80,7 @@ unsigned long annobin_max_stack_size = - bool annobin_is_64bit = false; - - /* Where to put notes. */ --note_type annobin_note_format = note; -+note_type annobin_note_format = string; - - /* Default to using section groups as the link-order - method needs a linker from binutils 2.36 or later. */ From 820e8490c1d933e684fd4d7d565f2403ad0c290b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 26 Sep 2023 14:59:48 +0100 Subject: [PATCH 45/46] 12.27: Add detection and reporting of the absence of -Wimplicit-int and -Wimplicit-function-declaration --- annobin.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index daf1424..96dfbec 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.26 +Version: 12.27 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,6 +524,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Tue Sep 26 2023 Nick Clifron - 12.27-1 +- GCC Plugin: Record settings of -Wimplicit-int and -Wimplicit-function-declaration. + * Wed Sep 06 2023 Nick Clifron - 12.26-1 - LLVM Plugin: Fix building with LLVM version 17. diff --git a/sources b/sources index ad4f1fa..84caeb6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.26.tar.xz) = 979643818fa794b74c8fdfc02404988f85da67d2c45afaa35f05f1127a537d8db9f710531043c625d7a2b6625f24c5b3c1f584519925182ef3786d415ce70ad8 +SHA512 (annobin-12.27.tar.xz) = fd1c603aa5f59e3949a544e9bde6adc6ad695ced132e9a0fd2a7990dda9d58b8be69e1f99f3c874d88dd23793ecf2c78f08089a8a22bf62ed0ee984ed03a13c9 From 518e422ce8bc2652d1f15d290b986bba47063a7c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 Oct 2023 13:30:21 +0100 Subject: [PATCH 46/46] GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays Annobin: Add future test of these options. --- annobin.spec | 7 ++++++- sources | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index 96dfbec..4434e8d 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 12.27 +Version: 12.28 Release: 1%{?dist} License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later URL: https://sourceware.org/annobin/ @@ -524,8 +524,13 @@ make check #--------------------------------------------------------------------------------- %changelog +* Fri Oct 06 2023 Nick Clifron - 12.28-1 +- GCC Plugin: Record settings of -Wstrict-flex-arrays and -fstrict-flex-arrays +- Annobin: Add future test of these options. + * Tue Sep 26 2023 Nick Clifron - 12.27-1 - GCC Plugin: Record settings of -Wimplicit-int and -Wimplicit-function-declaration. +- Annobin: Add test for these warnings. * Wed Sep 06 2023 Nick Clifron - 12.26-1 - LLVM Plugin: Fix building with LLVM version 17. diff --git a/sources b/sources index 84caeb6..46c32fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-12.27.tar.xz) = fd1c603aa5f59e3949a544e9bde6adc6ad695ced132e9a0fd2a7990dda9d58b8be69e1f99f3c874d88dd23793ecf2c78f08089a8a22bf62ed0ee984ed03a13c9 +SHA512 (annobin-12.28.tar.xz) = 624373d1eba36bc7a0804e0b33dfcb9a8c2415047329c5b96fd6cc2d88cbc9a355bd36ecb00214c4928f6fb4968ec910d76c8ca361b1c13584d4a06f3ee97b05