]> sourceware.org Git - annobin.git/log
annobin.git
6 weeks agoA few tweaks for builtby
Nick Clifton [Tue, 16 Jul 2024 09:22:34 +0000 (10:22 +0100)]
A few tweaks for builtby

6 weeks agoAdd --<tool> option to annocheck to enable <tool> and disable all other tools.
Nick Clifton [Tue, 16 Jul 2024 08:04:33 +0000 (09:04 +0100)]
Add --<tool> option to annocheck to enable <tool> and disable all other tools.

6 weeks agoBuiltBy: Add --no-version-info, --no-lang-info, --no-tool-info, --lang=, --notlang...
Nick Clifton [Mon, 15 Jul 2024 16:24:41 +0000 (17:24 +0100)]
BuiltBy: Add --no-version-info, --no-lang-info, --no-tool-info, --lang=, --notlang= options.

6 weeks agoAdd a check of the --test-rhivos test
Nick Clifton [Mon, 15 Jul 2024 10:42:39 +0000 (11:42 +0100)]
Add a check of the --test-rhivos test

7 weeks ago12.62: Annocheck: Add support for ADA binaries.
Nick Clifton [Mon, 8 Jul 2024 15:07:25 +0000 (16:07 +0100)]
12.62: Annocheck: Add support for ADA binaries.
Annocheck: Add support for binaries built from more than two high level source languages.
Annocheck: Add support for object files containing no executable code.
Annocheck: Do not FAIL LLVM compiled binaries that have not been built with sanitize-cfi and/or sanitize-safe-stack.

8 weeks agoUpdate description of dynamic-tags test
Nick Clifton [Mon, 1 Jul 2024 11:23:36 +0000 (12:23 +0100)]
Update description of dynamic-tags test

2 months ago12.61: Add initial support for a RHIVOS profile
Nick Clifton [Thu, 27 Jun 2024 16:45:05 +0000 (17:45 +0100)]
12.61: Add initial support for a RHIVOS profile

2 months ago12.60: Annocheck: Add support for Fortran binaries
Nick Clifton [Wed, 26 Jun 2024 10:51:12 +0000 (11:51 +0100)]
12.60: Annocheck: Add support for Fortran binaries

2 months agofix detection of glibc pinaries
Nick Clifton [Tue, 18 Jun 2024 06:30:27 +0000 (07:30 +0100)]
fix detection of glibc pinaries

2 months ago12.59: Annocheck: Add tests for components of the CGO runtime library.
Nick Clifton [Tue, 11 Jun 2024 09:53:37 +0000 (10:53 +0100)]
12.59: Annocheck: Add tests for components of the CGO runtime library.

2 months ago12.58: Annocheck: Improve handling of Clang run-time binaries
Nick Clifton [Mon, 10 Jun 2024 18:56:47 +0000 (19:56 +0100)]
12.58: Annocheck: Improve handling of Clang run-time binaries

2 months ago12.57: Annocheck: Add tweaks for mixed-C/Rust binaries
Nick Clifton [Tue, 4 Jun 2024 11:42:28 +0000 (12:42 +0100)]
12.57: Annocheck: Add tweaks for mixed-C/Rust binaries

3 months ago12.56: Annocheck: Add more glibc source file names
Nick Clifton [Tue, 21 May 2024 09:35:07 +0000 (10:35 +0100)]
12.56: Annocheck: Add more glibc source file names

3 months agoAnnocheck: Small tidies to Rust checks
Nick Clifton [Mon, 20 May 2024 16:33:53 +0000 (17:33 +0100)]
Annocheck: Small tidies to Rust checks

3 months ago12.55: Annocheck: Skip GAPS test for GO binaries
Nick Clifton [Mon, 20 May 2024 15:39:48 +0000 (16:39 +0100)]
12.55: Annocheck: Skip GAPS test for GO binaries

3 months agoFix snafu in annocheck.c
Nick Clifton [Tue, 14 May 2024 12:12:48 +0000 (13:12 +0100)]
Fix snafu in annocheck.c

3 months ago12.54: Annocheck: Remove some false positives for Rust binaries
Nick Clifton [Tue, 14 May 2024 11:54:11 +0000 (12:54 +0100)]
12.54: Annocheck: Remove some false positives for Rust binaries

3 months agoFix resource leak
Nick Clifton [Mon, 13 May 2024 13:33:07 +0000 (14:33 +0100)]
Fix resource leak

3 months ago12.53: GCC plugin: Detect default settings of AArch64 branch protection
Nick Clifton [Thu, 9 May 2024 12:40:25 +0000 (13:40 +0100)]
12.53: GCC plugin: Detect default settings of AArch64 branch protection

4 months ago12.52: Annocheck: Add OpenSSL Engine test
Nick Clifton [Thu, 25 Apr 2024 13:40:38 +0000 (14:40 +0100)]
12.52: Annocheck: Add OpenSSL Engine test

4 months agoImprove profile handling
Nick Clifton [Tue, 23 Apr 2024 16:46:43 +0000 (17:46 +0100)]
Improve profile handling

4 months agoUpdate dpcumentation on profiles
Nick Clifton [Tue, 23 Apr 2024 16:45:09 +0000 (17:45 +0100)]
Update dpcumentation on profiles

4 months agoAnnocheck: Test for gaps even when only one note is present
Nick Clifton [Tue, 23 Apr 2024 12:00:02 +0000 (13:00 +0100)]
Annocheck: Test for gaps even when only one note is present

4 months agoAnnocheck: Tweak branch protection test for GO binaries
Nick Clifton [Mon, 22 Apr 2024 08:57:34 +0000 (09:57 +0100)]
Annocheck: Tweak branch protection test for GO binaries

4 months agoUpdate documentation on textrel test
Nick Clifton [Fri, 19 Apr 2024 08:02:13 +0000 (09:02 +0100)]
Update documentation on textrel test

4 months ago12.49: gcc-plugin: disable active check for -Wimplicit-int for non-C source files
Nick Clifton [Thu, 18 Apr 2024 12:49:28 +0000 (13:49 +0100)]
12.49: gcc-plugin: disable active check for -Wimplicit-int for non-C source files

4 months agoAnnocheck: Ignore failures of i686 binaries on RHEL-10
Nick Clifton [Wed, 17 Apr 2024 15:46:27 +0000 (16:46 +0100)]
Annocheck: Ignore failures of i686 binaries on RHEL-10

4 months agoAnnocheck: Treat EM_AMDGPU binaries like EM_BPF binaries
Nick Clifton [Wed, 17 Apr 2024 13:50:28 +0000 (14:50 +0100)]
Annocheck: Treat EM_AMDGPU binaries like EM_BPF binaries

4 months agoAnnocheck: Test for __stack_chk_guard being in a writeable section
Nick Clifton [Tue, 16 Apr 2024 15:47:14 +0000 (16:47 +0100)]
Annocheck: Test for __stack_chk_guard being in a writeable section

4 months agoReorganise annocheck docs to put the tests into a subsubsection
Nick Clifton [Fri, 12 Apr 2024 08:34:33 +0000 (09:34 +0100)]
Reorganise annocheck docs to put the tests into a subsubsection

4 months agoReplace // with /*...*/
Nick Clifton [Wed, 10 Apr 2024 08:10:25 +0000 (09:10 +0100)]
Replace // with /*...*/

4 months ago12.48: Annocheck: Update heuristics for RHEL-10 s390 glibc
Nick Clifton [Tue, 2 Apr 2024 11:13:46 +0000 (12:13 +0100)]
12.48: Annocheck: Update heuristics for RHEL-10 s390 glibc

5 months ago12.47: Minor tidyups and enhancements of clang and llvm makefiles
Nick Clifton [Wed, 27 Mar 2024 15:23:18 +0000 (15:23 +0000)]
12.47: Minor tidyups and enhancements of clang and llvm makefiles

5 months ago12.46: CLang & LLVM Plugins: Allow building with -D_FORTIFY_SOURCE=3
Nick Clifton [Wed, 27 Mar 2024 11:29:07 +0000 (11:29 +0000)]
12.46: CLang & LLVM Plugins: Allow building with -D_FORTIFY_SOURCE=3

5 months agoTweak clang and llvm testsuites
Nick Clifton [Mon, 25 Mar 2024 17:13:27 +0000 (17:13 +0000)]
Tweak clang and llvm testsuites

5 months agoClang Plugin: Parse ANNOBIN environment variable. Add global-file-syms command line...
Tulio Magno Quites Machado Filho [Mon, 25 Mar 2024 14:16:17 +0000 (14:16 +0000)]
Clang Plugin: Parse ANNOBIN environment variable.  Add global-file-syms command line option.
LLVM Plugin: Likewise.

5 months agoAdd support for global-file-syms to the clang and llvm plugins
Tulio Magno Quites Machado Filho [Fri, 22 Mar 2024 20:17:36 +0000 (17:17 -0300)]
Add support for global-file-syms to the clang and llvm plugins

This part starts by moving the implementation of parse_env() to
annobin-common.cc in order to be shared between the gcc and the llvm
plugins.

This was required because the llvm plugin didn't have a mechanism to
receive arguments from the user. This commit adds support for using the
environment variable ANNOBIN for the LLVM plugin, although it's still
missing many of the basic features available in the other plugins.

Both clang and llvm plugins are now able to generate the same output as
the GCC plugin, e.g. _annobin_hello_c_1711138217_00204218_start.

5 months ago12.46: Annocheck: Improve detection of the -mbranch-protection option.
Nick Clifton [Mon, 25 Mar 2024 11:30:00 +0000 (11:30 +0000)]
12.46: Annocheck: Improve detection of the -mbranch-protection option.

5 months ago12.45: GCC Plugin: Fix bug locating the values of target specific options
Nick Clifton [Thu, 21 Mar 2024 13:09:01 +0000 (13:09 +0000)]
12.45: GCC Plugin: Fix bug locating the values of target specific options

5 months agoclang-plugin: Do not build with LTO - it is not supported on Risc-V.
Nick Clifton [Fri, 8 Mar 2024 15:19:30 +0000 (15:19 +0000)]
clang-plugin: Do not build with LTO - it is not supported on Risc-V.
clang-plugin: Fix test for plugin name.

5 months agoannocheck: Allow for Debian calling their version of Clang "Debian clang" rather...
Nick Clifton [Thu, 7 Mar 2024 08:59:01 +0000 (08:59 +0000)]
annocheck: Allow for Debian calling their version of Clang "Debian clang" rather than just "clang".

5 months ago12.44: configure: Delete check for FrontendPluginRegistry.h header file as it is...
Nick Clifton [Wed, 6 Mar 2024 10:47:03 +0000 (10:47 +0000)]
12.44: configure: Delete check for FrontendPluginRegistry.h header file as it is stored in a non-standard location on Debian systems.
debuginfod test: Allow for the libdwfl library silently contacting the debuginfod server.

5 months ago12.43: LLVM Plugin: Use llvm-config to get the correct paths and options for building...
Nick Clifton [Tue, 5 Mar 2024 19:16:53 +0000 (19:16 +0000)]
12.43: LLVM Plugin: Use llvm-config to get the correct paths and options for building executables.
Clang Plugin: Likewise.
Enable silent rules for most building.
Annocheck: Correctly extract DWARF attributes from DT_REL files.

5 months agoAdd test for clang devel support to the clang plugin configure
Nick Clifton [Mon, 4 Mar 2024 11:01:06 +0000 (11:01 +0000)]
Add test for clang devel support to the clang plugin configure

5 months ago12.42: Annocheck: Improve heuristics for locating debug info files. (#2267097)
Nick Clifton [Fri, 1 Mar 2024 13:10:17 +0000 (13:10 +0000)]
12.42: Annocheck: Improve heuristics for locating debug info files.  (#2267097)
Configure: Harmonize configure options.

6 months ago12.41: GCC Plugin: Add MIPS backend. Clang Plugin: Add support for clang v18.
Nick Clifton [Tue, 27 Feb 2024 14:13:53 +0000 (14:13 +0000)]
12.41: GCC Plugin: Add MIPS backend.  Clang Plugin: Add support for clang v18.

6 months agogcc plugin: Use .dc.a instead of .quad for address expressions in ELF format notes...
Nick Clifton [Mon, 26 Feb 2024 17:27:08 +0000 (17:27 +0000)]
gcc plugin: Use .dc.a instead of .quad for address expressions in ELF format notes.  (.quad on MIPS64 adds extra alignment)

6 months ago12.40: Annocheck: Extend heuristics for LTO and FORTIFY test skipping to allow for...
Nick Clifton [Tue, 13 Feb 2024 10:33:49 +0000 (10:33 +0000)]
12.40: Annocheck: Extend heuristics for LTO and FORTIFY test skipping to allow for F40 i686 binaries

6 months ago12.39: Annocheck: Fix anpther place where cf-protection is tested for i686 binaries
Nick Clifton [Fri, 9 Feb 2024 19:37:39 +0000 (19:37 +0000)]
12.39: Annocheck: Fix anpther place where cf-protection is tested for i686 binaries

6 months agoEnforce -D_FORTIFY_SOURCE=3 for EL10 and Rawhide
Nick Clifton [Mon, 5 Feb 2024 12:22:50 +0000 (12:22 +0000)]
Enforce -D_FORTIFY_SOURCE=3 for EL10 and Rawhide

7 months ago12.38: Annocheck: Skip entry test for i686 binaries
Nick Clifton [Tue, 23 Jan 2024 10:56:39 +0000 (10:56 +0000)]
12.38: Annocheck: Skip entry test for i686 binaries

7 months agoFix deleting temporary directories
Nick Clifton [Thu, 18 Jan 2024 20:01:48 +0000 (20:01 +0000)]
Fix deleting temporary directories

7 months ago12.37: GCC Plugin: DO not use section groups with string notes
Nick Clifton [Wed, 17 Jan 2024 14:13:53 +0000 (14:13 +0000)]
12.37: GCC Plugin: DO not use section groups with string notes

7 months ago12.36: Annocheck: Disable the cf-protection test for the i686 architecture.
Nick Clifton [Tue, 16 Jan 2024 11:33:09 +0000 (11:33 +0000)]
12.36: Annocheck: Disable the cf-protection test for the i686 architecture.
https://bugzilla.redhat.com/show_bug.cgi?id=2258571

7 months ago12.25: Annocheck: Improve detection of FIPS compliant binaries
Nick Clifton [Thu, 4 Jan 2024 14:43:37 +0000 (14:43 +0000)]
12.25: Annocheck: Improve detection of FIPS compliant binaries

7 months agoUpdate Copyright year range
Nick Clifton [Tue, 2 Jan 2024 10:17:22 +0000 (10:17 +0000)]
Update Copyright year range

7 months ago[PATCH] tests/common.sh: Find ss on the PATH
Mark Wielaard [Tue, 2 Jan 2024 09:34:04 +0000 (09:34 +0000)]
[PATCH] tests/common.sh: Find ss on the PATH

8 months ago12.34: Improve recording of implicit-int and implicit-function-declaration
Nick Clifton [Fri, 15 Dec 2023 13:32:41 +0000 (13:32 +0000)]
12.34: Improve recording of implicit-int and implicit-function-declaration

8 months ago12.33: Fix implicit-values test
Nick Clifton [Mon, 11 Dec 2023 13:02:28 +0000 (13:02 +0000)]
12.33: Fix implicit-values test

9 months ago12.31: GCC Plugin: Add support for -fhardended
Nick Clifton [Fri, 24 Nov 2023 10:58:34 +0000 (10:58 +0000)]
12.31: GCC Plugin: Add support for -fhardended

9 months agoFix a couple of potential buffer overrun problems reported by covscan
Nick Clifton [Fri, 17 Nov 2023 13:25:11 +0000 (13:25 +0000)]
Fix a couple of potential buffer overrun problems reported by covscan

9 months ago12.31: AnnochecK: Update glibc detection heuristics
Nick Clifton [Wed, 15 Nov 2023 15:42:23 +0000 (15:42 +0000)]
12.31: AnnochecK: Update glibc detection heuristics

9 months agoAdd note about code of conduct
Nick Clifton [Thu, 9 Nov 2023 12:11:21 +0000 (12:11 +0000)]
Add note about code of conduct

9 months ago12.30: Update heuristics for detecting glibc's atexit code
Nick Clifton [Wed, 1 Nov 2023 16:12:43 +0000 (16:12 +0000)]
12.30: Update heuristics for detecting glibc's atexit code

10 months ago12.29: Fix atexit test
Nick Clifton [Mon, 30 Oct 2023 09:53:52 +0000 (09:53 +0000)]
12.29: Fix atexit test

10 months agoUpdate notes module to display string notes
Nick Clifton [Fri, 27 Oct 2023 14:36:01 +0000 (15:36 +0100)]
Update notes module to display string notes

10 months ago12.28: Add test of -Wstrict-flex-arrays and -fstrict-flex-arrays
Nick Clifton [Fri, 6 Oct 2023 12:31:21 +0000 (13:31 +0100)]
12.28: Add test of -Wstrict-flex-arrays and -fstrict-flex-arrays

10 months agoskip stack clash test on risc-v
Nick Clifton [Fri, 6 Oct 2023 09:49:16 +0000 (10:49 +0100)]
skip stack clash test on risc-v

10 months agoAdd documentation for the implicit-values test
Nick Clifton [Mon, 2 Oct 2023 10:12:14 +0000 (11:12 +0100)]
Add documentation for the implicit-values test

11 months ago12.27: Add tests of -Wimplicit-int and -Wimplicit-function-declaration
Nick Clifton [Tue, 26 Sep 2023 13:44:39 +0000 (14:44 +0100)]
12.27: Add tests of -Wimplicit-int and -Wimplicit-function-declaration

11 months ago12.26: LLVM Plugin: Fix building with LLVM v17
Nick Clifton [Wed, 6 Sep 2023 07:34:54 +0000 (08:34 +0100)]
12.26: LLVM Plugin: Fix building with LLVM v17

12 months ago12.25: gcc-plugin: Enable strng note format by default
Nick Clifton [Wed, 30 Aug 2023 07:20:09 +0000 (08:20 +0100)]
12.25: gcc-plugin: Enable strng note format by default

12 months agoImprovements to the built-by tool
Nick Clifton [Fri, 25 Aug 2023 08:45:20 +0000 (09:45 +0100)]
Improvements to the built-by tool

12 months ago12.24: Annocheck: Changes GO FIPS test to look for CGO_ENABLED markers
Nick Clifton [Fri, 4 Aug 2023 12:54:33 +0000 (13:54 +0100)]
12.24: Annocheck: Changes GO FIPS test to look for CGO_ENABLED markers

12 months ago12.23: Annocheck: Add test for FIPS compliance in GO binaries
Nick Clifton [Mon, 31 Jul 2023 11:30:31 +0000 (12:30 +0100)]
12.23: Annocheck: Add test for FIPS compliance in GO binaries

13 months ago12.22: Annocheck: Fix double free
Nick Clifton [Wed, 26 Jul 2023 14:18:18 +0000 (15:18 +0100)]
12.22: Annocheck: Fix double free

13 months ago12.21: Fix licenses of files. Fix resource leaks.
Nick Clifton [Tue, 18 Jul 2023 11:56:55 +0000 (12:56 +0100)]
12.21: Fix licenses of files.  Fix resource leaks.

13 months agoUpdate/Add license lines
Nick Clifton [Mon, 17 Jul 2023 16:15:12 +0000 (17:15 +0100)]
Update/Add license lines

13 months agoAnnocheck: Fix resource leak and potential null pointer dereferemce
Nick Clifton [Mon, 17 Jul 2023 10:56:19 +0000 (11:56 +0100)]
Annocheck: Fix resource leak and potential null pointer dereferemce

13 months ago12.20: Annocheck: Ignore $x and $d symbols.
Nick Clifton [Mon, 17 Jul 2023 09:49:54 +0000 (10:49 +0100)]
12.20: Annocheck: Ignore $x and $d symbols.

13 months ago12.19: GCC Plugin: Suppress active checks for fortran sources. Improve parsing of...
Nick Clifton [Wed, 5 Jul 2023 13:31:25 +0000 (14:31 +0100)]
12.19: GCC Plugin: Suppress active checks for fortran sources.  Improve parsing of COLLECT_GCC_OPTIONS.

13 months ago12.18: Annocheck: Remove dependency upon libiberty
Nick Clifton [Mon, 3 Jul 2023 14:53:04 +0000 (15:53 +0100)]
12.18: Annocheck: Remove dependency upon libiberty

14 months ago12.17: Add detection of libstdc++-nonshared.a functions in compiled code
Nick Clifton [Thu, 29 Jun 2023 14:27:07 +0000 (15:27 +0100)]
12.17: Add detection of libstdc++-nonshared.a functions in compiled code

14 months ago12.16: Annocheck: Ignore weak/undef function symbols when checking for binaries that...
Nick Clifton [Tue, 27 Jun 2023 12:11:11 +0000 (13:11 +0100)]
12.16: Annocheck: Ignore weak/undef function symbols when checking for binaries that do not contain any code.

14 months ago12.15: Annocheck: Add --suppress-version-warnings
Nick Clifton [Mon, 26 Jun 2023 15:23:58 +0000 (16:23 +0100)]
12.15: Annocheck: Add --suppress-version-warnings

14 months ago12.14: Annocheck: Do not ignore separate debuginfo files that do not contain any...
Nick Clifton [Thu, 22 Jun 2023 15:47:09 +0000 (16:47 +0100)]
12.14: Annocheck: Do not ignore separate debuginfo files that do not contain any actual DWARF debug information.

14 months ago12.13: Hardened: Always check separate debuginfo file for notes.
Nick Clifton [Tue, 20 Jun 2023 13:37:19 +0000 (14:37 +0100)]
12.13: Hardened: Always check separate debuginfo file for notes.
Hardened: Improve heuristics for detecting glibc binaries.
Hardened: Add STATE_SKIPPED.

14 months agoremove FIPS test
Nick Clifton [Thu, 1 Jun 2023 15:39:01 +0000 (16:39 +0100)]
remove FIPS test

14 months ago12.12: Annocheck: Add FIPS test.
Nick Clifton [Thu, 1 Jun 2023 14:27:40 +0000 (15:27 +0100)]
12.12: Annocheck: Add FIPS test.
Annocheck: Look for string notes in separate debuginfo file, even if ELF notes have been found in the main binary.
Annocheck: Look for RUST compiler id in the .rodata section.
Annocheck: Suggest enabling debuginfod if separate debuginfo file cannot be found.

15 months agolibannocheck: Update libannocheck_get_known_profiles to include el10
Nick Clifton [Fri, 26 May 2023 12:01:52 +0000 (13:01 +0100)]
libannocheck: Update libannocheck_get_known_profiles to include el10

15 months ago12.11: Add support for an el10/RHEL-10 profile
Nick Clifton [Fri, 26 May 2023 11:11:40 +0000 (12:11 +0100)]
12.11: Add support for an el10/RHEL-10 profile

16 months ago12.10: Annocheck: Improve detection and testing of Rust binaries
Nick Clifton [Fri, 28 Apr 2023 13:17:46 +0000 (14:17 +0100)]
12.10: Annocheck: Improve detection and testing of Rust binaries

16 months agoIgnore artifical objects created by lto when checking for missing plugins
Nick Clifton [Tue, 25 Apr 2023 16:52:45 +0000 (17:52 +0100)]
Ignore artifical objects created by lto when checking for missing plugins

16 months agoUpdate make-release script
Nick Clifton [Tue, 25 Apr 2023 12:12:24 +0000 (13:12 +0100)]
Update make-release script

16 months ago12.08: Fix libannocheck initialization
Nick Clifton [Tue, 25 Apr 2023 12:10:57 +0000 (13:10 +0100)]
12.08: Fix libannocheck initialization

16 months ago12.08: Fix covscan reported problems
Nick Clifton [Tue, 25 Apr 2023 11:20:03 +0000 (12:20 +0100)]
12.08: Fix covscan reported problems

16 months agoFix version number handling
Nick Clifton [Mon, 24 Apr 2023 14:15:56 +0000 (15:15 +0100)]
Fix version number handling

16 months agoRemove auto-generated files from repository
Nick Clifton [Mon, 24 Apr 2023 12:44:49 +0000 (13:44 +0100)]
Remove auto-generated files from repository

16 months ago12.07: gcc-plugin: check for typos in command line defines
Nick Clifton [Fri, 21 Apr 2023 12:43:03 +0000 (13:43 +0100)]
12.07: gcc-plugin: check for typos in command line defines

16 months ago12.06: gcc-plugin: use larger note buffer
Nick Clifton [Thu, 20 Apr 2023 16:20:56 +0000 (17:20 +0100)]
12.06: gcc-plugin: use larger note buffer

This page took 0.059298 seconds and 5 git commands to generate.