]>
sourceware.org Git - annobin.git/log
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.
Nick Clifton [Mon, 25 Mar 2024 11:30:00 +0000 (11:30 +0000)]
12.46: Annocheck: Improve detection of the -mbranch-protection option.
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
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.
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".
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.
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.
Nick Clifton [Mon, 4 Mar 2024 11:01:06 +0000 (11:01 +0000)]
Add test for clang devel support to the clang plugin configure
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.
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.
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)
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
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
Nick Clifton [Mon, 5 Feb 2024 12:22:50 +0000 (12:22 +0000)]
Enforce -D_FORTIFY_SOURCE=3 for EL10 and Rawhide
Nick Clifton [Tue, 23 Jan 2024 10:56:39 +0000 (10:56 +0000)]
12.38: Annocheck: Skip entry test for i686 binaries
Nick Clifton [Thu, 18 Jan 2024 20:01:48 +0000 (20:01 +0000)]
Fix deleting temporary directories
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
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
Nick Clifton [Thu, 4 Jan 2024 14:43:37 +0000 (14:43 +0000)]
12.25: Annocheck: Improve detection of FIPS compliant binaries
Nick Clifton [Tue, 2 Jan 2024 10:17:22 +0000 (10:17 +0000)]
Update Copyright year range
Mark Wielaard [Tue, 2 Jan 2024 09:34:04 +0000 (09:34 +0000)]
[PATCH] tests/common.sh: Find ss on the PATH
Nick Clifton [Fri, 15 Dec 2023 13:32:41 +0000 (13:32 +0000)]
12.34: Improve recording of implicit-int and implicit-function-declaration
Nick Clifton [Mon, 11 Dec 2023 13:02:28 +0000 (13:02 +0000)]
12.33: Fix implicit-values test
Nick Clifton [Fri, 24 Nov 2023 10:58:34 +0000 (10:58 +0000)]
12.31: GCC Plugin: Add support for -fhardended
Nick Clifton [Fri, 17 Nov 2023 13:25:11 +0000 (13:25 +0000)]
Fix a couple of potential buffer overrun problems reported by covscan
Nick Clifton [Wed, 15 Nov 2023 15:42:23 +0000 (15:42 +0000)]
12.31: AnnochecK: Update glibc detection heuristics
Nick Clifton [Thu, 9 Nov 2023 12:11:21 +0000 (12:11 +0000)]
Add note about code of conduct
Nick Clifton [Wed, 1 Nov 2023 16:12:43 +0000 (16:12 +0000)]
12.30: Update heuristics for detecting glibc's atexit code
Nick Clifton [Mon, 30 Oct 2023 09:53:52 +0000 (09:53 +0000)]
12.29: Fix atexit test
Nick Clifton [Fri, 27 Oct 2023 14:36:01 +0000 (15:36 +0100)]
Update notes module to display string notes
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
Nick Clifton [Fri, 6 Oct 2023 09:49:16 +0000 (10:49 +0100)]
skip stack clash test on risc-v
Nick Clifton [Mon, 2 Oct 2023 10:12:14 +0000 (11:12 +0100)]
Add documentation for the implicit-values test
Nick Clifton [Tue, 26 Sep 2023 13:44:39 +0000 (14:44 +0100)]
12.27: Add tests of -Wimplicit-int and -Wimplicit-function-declaration
Nick Clifton [Wed, 6 Sep 2023 07:34:54 +0000 (08:34 +0100)]
12.26: LLVM Plugin: Fix building with LLVM v17
Nick Clifton [Wed, 30 Aug 2023 07:20:09 +0000 (08:20 +0100)]
12.25: gcc-plugin: Enable strng note format by default
Nick Clifton [Fri, 25 Aug 2023 08:45:20 +0000 (09:45 +0100)]
Improvements to the built-by tool
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
Nick Clifton [Mon, 31 Jul 2023 11:30:31 +0000 (12:30 +0100)]
12.23: Annocheck: Add test for FIPS compliance in GO binaries
Nick Clifton [Wed, 26 Jul 2023 14:18:18 +0000 (15:18 +0100)]
12.22: Annocheck: Fix double free
Nick Clifton [Tue, 18 Jul 2023 11:56:55 +0000 (12:56 +0100)]
12.21: Fix licenses of files. Fix resource leaks.
Nick Clifton [Mon, 17 Jul 2023 16:15:12 +0000 (17:15 +0100)]
Update/Add license lines
Nick Clifton [Mon, 17 Jul 2023 10:56:19 +0000 (11:56 +0100)]
Annocheck: Fix resource leak and potential null pointer dereferemce
Nick Clifton [Mon, 17 Jul 2023 09:49:54 +0000 (10:49 +0100)]
12.20: Annocheck: Ignore $x and $d symbols.
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.
Nick Clifton [Mon, 3 Jul 2023 14:53:04 +0000 (15:53 +0100)]
12.18: Annocheck: Remove dependency upon libiberty
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
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.
Nick Clifton [Mon, 26 Jun 2023 15:23:58 +0000 (16:23 +0100)]
12.15: Annocheck: Add --suppress-version-warnings
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.
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.
Nick Clifton [Thu, 1 Jun 2023 15:39:01 +0000 (16:39 +0100)]
remove 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.
Nick Clifton [Fri, 26 May 2023 12:01:52 +0000 (13:01 +0100)]
libannocheck: Update libannocheck_get_known_profiles to include el10
Nick Clifton [Fri, 26 May 2023 11:11:40 +0000 (12:11 +0100)]
12.11: Add support for an el10/RHEL-10 profile
Nick Clifton [Fri, 28 Apr 2023 13:17:46 +0000 (14:17 +0100)]
12.10: Annocheck: Improve detection and testing of Rust binaries
Nick Clifton [Tue, 25 Apr 2023 16:52:45 +0000 (17:52 +0100)]
Ignore artifical objects created by lto when checking for missing plugins
Nick Clifton [Tue, 25 Apr 2023 12:12:24 +0000 (13:12 +0100)]
Update make-release script
Nick Clifton [Tue, 25 Apr 2023 12:10:57 +0000 (13:10 +0100)]
12.08: Fix libannocheck initialization
Nick Clifton [Tue, 25 Apr 2023 11:20:03 +0000 (12:20 +0100)]
12.08: Fix covscan reported problems
Nick Clifton [Mon, 24 Apr 2023 14:15:56 +0000 (15:15 +0100)]
Fix version number handling
Nick Clifton [Mon, 24 Apr 2023 12:44:49 +0000 (13:44 +0100)]
Remove auto-generated files from repository
Nick Clifton [Fri, 21 Apr 2023 12:43:03 +0000 (13:43 +0100)]
12.07: gcc-plugin: check for typos in command line defines
Nick Clifton [Thu, 20 Apr 2023 16:20:56 +0000 (17:20 +0100)]
12.06: gcc-plugin: use larger note buffer
Nick Clifton [Wed, 19 Apr 2023 16:02:40 +0000 (17:02 +0100)]
12.05: LLVM Plugin: Fix detection of optimization level. Improve test.
Nick Clifton [Mon, 17 Apr 2023 13:32:20 +0000 (14:32 +0100)]
12.04: annocheck: fix seg-fault when checking for glibc binaries in string notes
Mark Wielaard [Mon, 17 Apr 2023 12:30:07 +0000 (13:30 +0100)]
Fix configure detection of demangle.h on Debian based systems.
Clean a bit more. Remove generated man pages and tmp_ test dirs.
Mark Wielaard [Thu, 13 Apr 2023 19:04:54 +0000 (20:04 +0100)]
Simplify and improve the configure scripts.
Make sure demangle.h is available during configure to prevent build issues later.
Remove the complex Canadian cross builds support, libcutl detection, libgomp and override which are all not actually used in the build. This makes it possible to simply autoreconf against at least autoconf versions 2.69 and 2.71.
Nick Clifton [Thu, 13 Apr 2023 14:42:55 +0000 (15:42 +0100)]
Annocheck: Gaps Test: Generate a warning if no gaps were found, but the annobin plugin was used inconsistently.
Nick Clifton [Tue, 11 Apr 2023 12:51:46 +0000 (13:51 +0100)]
Fix LLVM and Clang plugins to build with LLVM-16
Nick Clifton [Tue, 11 Apr 2023 08:37:12 +0000 (09:37 +0100)]
Remove string-filename option
Nick Clifton [Tue, 4 Apr 2023 08:31:39 +0000 (09:31 +0100)]
Inital deployment of filename-strings and envionment command line options
Nick Clifton [Thu, 30 Mar 2023 11:47:27 +0000 (12:47 +0100)]
12.01: Add note format test
Nick Clifton [Tue, 28 Mar 2023 13:11:41 +0000 (14:11 +0100)]
12.00: Add new string format notes.
Nick Clifton [Mon, 27 Mar 2023 10:37:47 +0000 (11:37 +0100)]
Add some more glibc exceptions
Nick Clifton [Wed, 22 Mar 2023 13:08:19 +0000 (13:08 +0000)]
gcc plugin: Add prototype for plugins_active_p()
Nick Clifton [Mon, 13 Mar 2023 15:53:12 +0000 (15:53 +0000)]
11.14: Annocheck: Update doc and messages for LTO test
Nick Clifton [Wed, 8 Mar 2023 07:33:01 +0000 (07:33 +0000)]
11.13: Even more glibc/lto exceptions
Nick Clifton [Tue, 7 Mar 2023 16:59:14 +0000 (16:59 +0000)]
Add another glibc/:To exception
Nick Clifton [Fri, 3 Mar 2023 16:20:57 +0000 (16:20 +0000)]
11.12: Annocheck: Add another special glibc function name for non-LTO: __libc_csu_fini
Nick Clifton [Fri, 3 Mar 2023 15:51:28 +0000 (15:51 +0000)]
11.12: Annocheck: Add another special glibc function name for non-LTO: __libc_csu_init
Nick Clifton [Wed, 1 Mar 2023 13:24:35 +0000 (13:24 +0000)]
Add SECURITY.md amd README.md files
Nick Clifton [Tue, 28 Feb 2023 10:56:39 +0000 (10:56 +0000)]
11.11: gcc plugin: self-disable if more than one plugin is running
Nick Clifton [Thu, 23 Feb 2023 13:45:03 +0000 (13:45 +0000)]
11.10: Annocheck: Add code to handle glibc functions built without LTO
Nick Clifton [Thu, 2 Feb 2023 15:10:56 +0000 (15:10 +0000)]
11.09: Notes: Show notes from separate debuginfo files.
11.09: Annocheck: Fix LTO testing.
11.09: Libannocheck: Fix thinko in debugging code.
Nick Clifton [Tue, 31 Jan 2023 08:05:05 +0000 (08:05 +0000)]
11.08: Fix atexit test. Hardedned: Fix recording of version numbers
Nick Clifton [Fri, 20 Jan 2023 16:28:54 +0000 (16:28 +0000)]
Fix seg-fault removing checkers
Nick Clifton [Fri, 20 Jan 2023 15:56:30 +0000 (15:56 +0000)]
Remoev spurious debugging
Nick Clifton [Fri, 20 Jan 2023 15:31:49 +0000 (15:31 +0000)]
11.07: Annocheck: Fix bug when removing checkers.
11.07: libannocheck: Add libannocheck_debug().
Nick Clifton [Fri, 13 Jan 2023 15:57:01 +0000 (15:57 +0000)]
Annocheck: Fix comparing plugin built-by vs run-on versions
Nick Clifton [Fri, 13 Jan 2023 13:45:14 +0000 (13:45 +0000)]
11.06:Annocheck: Add glibc library libmvec_nonshared.a. Libannocheck: Delete libannocheck_close
Nick Clifton [Tue, 10 Jan 2023 16:00:30 +0000 (16:00 +0000)]
fix covscan detected snafette
Nick Clifton [Mon, 9 Jan 2023 15:02:17 +0000 (15:02 +0000)]
11.05: Annocheck: Fix handling of empty files. Fix handling of ~
Nick Clifton [Fri, 6 Jan 2023 13:31:49 +0000 (13:31 +0000)]
11.04: Annocheck: Add crti.o and crtn.o to list of known glibc special files
Nick Clifton [Fri, 6 Jan 2023 09:40:11 +0000 (09:40 +0000)]
11.03: Annocheck: Add destructors. Improve memory handling. Avoid using rpm library where possible.
Nick Clifton [Wed, 4 Jan 2023 16:02:17 +0000 (16:02 +0000)]
11.02: Annocheck: Do not presume that object files contain no code
Nick Clifton [Wed, 4 Jan 2023 13:10:10 +0000 (13:10 +0000)]
Update copyright year range
Nick Clifton [Wed, 4 Jan 2023 13:08:29 +0000 (13:08 +0000)]
Update copyright year range
Nick Clifton [Wed, 4 Jan 2023 11:59:02 +0000 (11:59 +0000)]
11.01: Annocheck: Add more special glibc filenames
Nick Clifton [Tue, 3 Jan 2023 09:55:51 +0000 (09:55 +0000)]
Fix problems reported by covscan
This page took 0.051146 seconds and 5 git commands to generate.