]>
sourceware.org Git - annobin.git/log
Nick Clifton [Tue, 1 Dec 2020 12:26:21 +0000 (12:26 +0000)]
9.47: gcc plugin: Add support for cl_vars
Nick Clifton [Mon, 30 Nov 2020 13:21:42 +0000 (13:21 +0000)]
Fix new covscan warnings
Nick Clifton [Mon, 30 Nov 2020 12:06:39 +0000 (12:06 +0000)]
Improve reporting of build languages
Nick Clifton [Tue, 24 Nov 2020 10:52:00 +0000 (10:52 +0000)]
9.46: Add --skip-future-fail and --test-future-fail
Nick Clifton [Thu, 19 Nov 2020 15:23:28 +0000 (15:23 +0000)]
9.45: gcc plugin: Always record global notes for the .text.hot, .text.cold, .text.startup and .text.exit sections. We do not know which section(s) gcc will use for code. Annocheck will ignore 0-range notes.
Nick Clifton [Tue, 17 Nov 2020 16:38:08 +0000 (16:38 +0000)]
9.44: Build clang plugin with -lLLVM
Nick Clifton [Mon, 16 Nov 2020 14:29:40 +0000 (14:29 +0000)]
9.43: annocheck: Better handling of missing -D_FORTIFY_SOURCE
Nick Clifton [Mon, 16 Nov 2020 11:42:15 +0000 (11:42 +0000)]
9.42: Annocheck: Improve reporting of missing LTO option
Nick Clifton [Tue, 10 Nov 2020 16:50:19 +0000 (16:50 +0000)]
9.41: annocheck: detect and handle gimple compiled binaries.
Nick Clifton [Mon, 9 Nov 2020 13:56:36 +0000 (13:56 +0000)]
Add configure option to disable building gcc plugin
Nick Clifton [Fri, 6 Nov 2020 12:31:59 +0000 (12:31 +0000)]
9.38: Annocheck: Fix bug parsing DW_AT_producer
Nick Clifton [Wed, 4 Nov 2020 14:19:28 +0000 (14:19 +0000)]
9.37:
Annocheck: Test for presence of .note.gnu.property section for PowerPC binaries.
Tests: Add check of objcopy's ability to merge notes.
Nick Clifton [Wed, 21 Oct 2020 16:14:47 +0000 (17:14 +0100)]
9.36: plugins: Record if LTO is enabled in bit 16 of the GOW note, and disabled in bit 17.
9.36: hardened: Produce a soft warning if LTO is not enabled.
9.36: hardened: Add --skip-all option. Add --test-<NAME> option to enable a specific test.
9.36: notes: Display the extra bits in GOW.
9.36: doc: Update the documentation.
9.36: tests: Add a test of the lto recording feature.
9.36: annocheck: Decode the DW_AT_language DWARF attribute, if present.
9.36: annocheck: Do not complain about a missing -D_GLIBCXX_ASSERTIONS if the language is known to not be C++.
Siddhesh Poyarekar [Thu, 15 Oct 2020 16:34:34 +0000 (22:04 +0530)]
Fix typo in -D_FORTIFY_CHECK
It was mistyped as -DFORTIFY_CHECK in some places.
Siddhesh Poyarekar [Thu, 15 Oct 2020 16:36:06 +0000 (22:06 +0530)]
Trim spaces at ends of lines in hardened.c
Nick Clifton [Wed, 14 Oct 2020 16:24:20 +0000 (17:24 +0100)]
clang/llvm: Fix plugin directory selection and add comment about symbol locations
Nick Clifton [Fri, 2 Oct 2020 12:30:33 +0000 (13:30 +0100)]
9.35: gcc-plugin: Add use of SHF_LINK_ORDER section flag for note elimination
Nick Clifton [Mon, 28 Sep 2020 10:42:38 +0000 (11:42 +0100)]
gcc-plugin: Fix test for empty PowerPC functions.
clang-plugin: Add support for 32-bit targets. Add install commands to makefile.
llvm-plugin: Add support for 32-bit targets. Add install commands to makefile.
Nick Clifton [Wed, 16 Sep 2020 07:01:11 +0000 (08:01 +0100)]
9.32: hardened: Add tests for AArch64 BTI and PAC notes and dynamic tags.
Nick Clifton [Thu, 10 Sep 2020 12:54:04 +0000 (13:54 +0100)]
9.31: gcc-plugin: Use 4 byte offset for PPC start symbols.
Nick Clifton [Thu, 10 Sep 2020 10:17:03 +0000 (11:17 +0100)]
9.30: gcc-plugin: Fix detection of compilation in 32-bit mode.
Nick Clifton [Fri, 14 Aug 2020 13:00:29 +0000 (14:00 +0100)]
9.29: gcc plugin: Detect & fail to compile attempts to access the global_options array.
Nick Clifton [Tue, 11 Aug 2020 15:33:33 +0000 (16:33 +0100)]
gcc plugin: Do not complain about missing pre-processor directives when examining an already pre-processed input file
Nick Clifton [Thu, 30 Jul 2020 16:29:48 +0000 (17:29 +0100)]
9.27: gcc-plugin: Use annobin_get_gcc_option to fetch AArch64 specific command line options.
annocheck: Conditionalize uses of EM_AARCH64.
Nick Clifton [Thu, 30 Jul 2020 07:21:38 +0000 (08:21 +0100)]
9.26: annocheck: detect CLANG+GAS built binaries
Nick Clifton [Sun, 26 Jul 2020 09:39:59 +0000 (10:39 +0100)]
Fix pointer size for x86 target
Nick Clifton [Sun, 26 Jul 2020 09:20:21 +0000 (10:20 +0100)]
9.25:
annobin plugin for gcc:
Add target function to return pointer size.
Nick Clifton [Sun, 26 Jul 2020 08:22:28 +0000 (09:22 +0100)]
Temporary suppression of aarch64 check
Nick Clifton [Wed, 22 Jul 2020 14:54:03 +0000 (15:54 +0100)]
9.24:
annocheck: Use argv[0] as program name.
built-by: Compile on RHEL-7 and earlier.
Nick Clifton [Wed, 1 Jul 2020 15:26:46 +0000 (16:26 +0100)]
9.23:
Annocheck - do not skip checks of the short-enum note.
Annocheck - If short-enum notes are not found generaet a SKIP rather than a MAYBE
Annobin(gcc) - Report the generation of the PIC and SHORT ENUM notes.
Nick Clifton [Mon, 15 Jun 2020 16:29:54 +0000 (17:29 +0100)]
use install instead of cp
Nick Clifton [Mon, 15 Jun 2020 16:08:43 +0000 (17:08 +0100)]
remove old makefiles
Nick Clifton [Mon, 15 Jun 2020 15:42:59 +0000 (16:42 +0100)]
9.22: Add configure/build/test support for llvm and clang plugins
Nick Clifton [Wed, 10 Jun 2020 15:09:34 +0000 (16:09 +0100)]
llvm plugin tweaks
Nick Clifton [Wed, 10 Jun 2020 14:52:01 +0000 (15:52 +0100)]
Fix some covscan detected problems.
Add recording of safestack in llvm plugin.
Nick Clifton [Wed, 10 Jun 2020 11:05:29 +0000 (12:05 +0100)]
remove generated files
Nick Clifton [Wed, 10 Jun 2020 11:04:33 +0000 (12:04 +0100)]
llvm plugin: record -D_FORTIFY_SOURCE
Nick Clifton [Thu, 28 May 2020 12:18:03 +0000 (13:18 +0100)]
Add llvm version capture and support for running at -O0
Nick Clifton [Fri, 15 May 2020 16:25:24 +0000 (17:25 +0100)]
more llvm note generation
Nick Clifton [Fri, 15 May 2020 14:54:30 +0000 (15:54 +0100)]
llvm plugin generates its first note
Nick Clifton [Tue, 12 May 2020 13:27:25 +0000 (14:27 +0100)]
llvm plugin update
Nick Clifton [Mon, 11 May 2020 12:38:31 +0000 (13:38 +0100)]
Add base bones of an llvm plugin
Nick Clifton [Thu, 23 Apr 2020 10:06:44 +0000 (11:06 +0100)]
Add '--without-annocheck' option to disable building annocheck
Nick Clifton [Thu, 16 Apr 2020 15:40:02 +0000 (16:40 +0100)]
Fix coverity issue
Nick Clifton [Thu, 16 Apr 2020 11:21:19 +0000 (12:21 +0100)]
Add support for detecting Fortran binaries
Nick Clifton [Wed, 15 Apr 2020 11:45:34 +0000 (12:45 +0100)]
Better C++ coding of the clang plugin, courtesy of Serge
Nick Clifton [Wed, 1 Apr 2020 13:22:18 +0000 (14:22 +0100)]
9.19: gcc-plugin: Search for options by name, if the expected index does not match.
Nick Clifton [Fri, 27 Mar 2020 10:43:08 +0000 (10:43 +0000)]
9.16: Annobin: Fix accessing the -flto and -fsanitize flags.
Nick Clifton [Thu, 12 Mar 2020 16:11:42 +0000 (16:11 +0000)]
9.13: Rename plugin directory to gcc-plugin and improve clang support
Nick Clifton [Wed, 4 Mar 2020 14:31:37 +0000 (14:31 +0000)]
9.12: Annocheck: Do not complain about missing notes in non-gcc/non-clang compiled binaries.
9.12: Annocheck: SKIP the check for the ENDBR instruction in non-gcc/non-clang compiled binaries.
Nick Clifton [Wed, 4 Mar 2020 10:33:37 +0000 (10:33 +0000)]
Much improved built-by functionality
Nick Clifton [Fri, 28 Feb 2020 11:02:51 +0000 (11:02 +0000)]
Fix infinite loop in annocheck
Nick Clifton [Thu, 27 Feb 2020 12:21:02 +0000 (12:21 +0000)]
Fix clang plugin to use hifdden symbols
Nick Clifton [Tue, 25 Feb 2020 15:51:36 +0000 (15:51 +0000)]
Fix building clang plugin with clang v10
Nick Clifton [Mon, 17 Feb 2020 17:33:27 +0000 (17:33 +0000)]
Fix version number printed by annocheck
Nick Clifton [Tue, 11 Feb 2020 15:20:21 +0000 (15:20 +0000)]
9.06:
Annobin: Add verbose printfs to describe the generation of stack_clash notes.
Annocheck: Handle multiple builder IDs in the .comment section.
Erick Ochoa [Fri, 31 Jan 2020 13:33:58 +0000 (13:33 +0000)]
Add --without-libelf configure option.
Document configure options.
Nick Clifton [Fri, 31 Jan 2020 12:11:35 +0000 (12:11 +0000)]
Update debuginfod test
Nick Clifton [Thu, 30 Jan 2020 16:10:49 +0000 (16:10 +0000)]
9.03: annocheck: Add debuginfod support. (Contributed by Aaron Merey <amerey@redhat.com>).
Nick Clifton [Tue, 21 Jan 2020 17:39:21 +0000 (17:39 +0000)]
9.02: Add more checking of clang results to annocheck/hardened
Nick Clifton [Mon, 20 Jan 2020 12:24:21 +0000 (12:24 +0000)]
Fix potential illegal memory access in hardended
Nick Clifton [Mon, 20 Jan 2020 12:14:11 +0000 (12:14 +0000)]
Add includeds of annobin-global.h to arch specific plugin components
Nick Clifton [Mon, 20 Jan 2020 12:03:16 +0000 (12:03 +0000)]
Fix compile time warning messages in gcc plugin from gcc-10
Nick Clifton [Thu, 16 Jan 2020 16:39:33 +0000 (16:39 +0000)]
More clang plugin improvements
Nick Clifton [Wed, 15 Jan 2020 12:59:15 +0000 (12:59 +0000)]
Add another clang plugin note
Nick Clifton [Thu, 12 Dec 2019 21:18:51 +0000 (21:18 +0000)]
9.01: Move version number into global header file.
Add real note generation to clang plugin.
Nick Clifton [Fri, 6 Dec 2019 14:32:33 +0000 (14:32 +0000)]
8.92: Annocheck: Ignore notes with an end address of 0.
Serge Guelton [Mon, 2 Dec 2019 11:45:06 +0000 (11:45 +0000)]
Fix configure tests and add check for rpm libraries.
Nick Clifton [Tue, 26 Nov 2019 13:24:46 +0000 (13:24 +0000)]
Add roptool like check for JCC vulnerability.
Nick Clifton [Thu, 21 Nov 2019 14:39:56 +0000 (14:39 +0000)]
Initial commit of an actually working clang plugin
Nick Clifton [Sat, 16 Nov 2019 17:56:50 +0000 (17:56 +0000)]
8.91: Annocheck: Fix gcc version checks in tool note parser
Nick Clifton [Fri, 15 Nov 2019 15:58:32 +0000 (15:58 +0000)]
8.90: Annocheck: Do not skip positive tests
Nick Clifton [Mon, 4 Nov 2019 11:12:40 +0000 (11:12 +0000)]
8.89: Fix for building plugin on RHEL7
Nick Clifton [Fri, 1 Nov 2019 13:48:54 +0000 (13:48 +0000)]
8.88:
Annobin: Record setting of instrumentation options (if any have been enabled).
Annocheck: Generate a warning if an instrumentation note is detected.
Nick Clifton [Tue, 22 Oct 2019 16:03:04 +0000 (17:03 +0100)]
Replace address checking code with dladdr1().
Nick Clifton [Mon, 21 Oct 2019 15:51:10 +0000 (16:51 +0100)]
8.86: annonbin: Add libabigail-like checks for specific variables.
Nick Clifton [Mon, 21 Oct 2019 13:19:49 +0000 (14:19 +0100)]
Latest libabigail work
Nick Clifton [Wed, 16 Oct 2019 15:25:35 +0000 (16:25 +0100)]
8.85: annobin: Skip global notes for hot and cold sections.
Nick Clifton [Thu, 10 Oct 2019 13:28:36 +0000 (14:28 +0100)]
Tweak warnings check
Nick Clifton [Thu, 10 Oct 2019 13:15:29 +0000 (14:15 +0100)]
Tweak function section test
Nick Clifton [Thu, 10 Oct 2019 13:05:15 +0000 (14:05 +0100)]
Fix function sections test
Nick Clifton [Thu, 10 Oct 2019 10:49:59 +0000 (11:49 +0100)]
8.84:
annobin: Record -Wformat-security.
annocheck: Report lack of -Wall/-Wformat-security.
Nick Clifton [Thu, 3 Oct 2019 12:48:27 +0000 (13:48 +0100)]
8.83: Add recording and reporting of the -mbranch-protection option of the AArch64 targeted gcc.
Nick Clifton [Wed, 25 Sep 2019 12:23:48 +0000 (13:23 +0100)]
8.82:
Annocheck: Add new function annocheck_process_extra_file().
Annocheck: Add new fields to annocheck_data structure (dwarf_fd, dwarf_filename, dwarf_searched).
Annocheck: Record filename and fd of loaded separate debuginfi file.
Hardened: If no notes are found in binary, look for them in the debuginfo file.
Nick Clifton [Mon, 23 Sep 2019 12:19:21 +0000 (13:19 +0100)]
Remove linking plugin with libabigail.
Nick Clifton [Mon, 23 Sep 2019 12:08:29 +0000 (13:08 +0100)]
8.81:
Annocheck: Add detection of .note.go.buildid section.
Annobin: Add preliminary libabigail support.
Nick Clifton [Wed, 21 Aug 2019 13:35:05 +0000 (14:35 +0100)]
8.80: annobin: Record gcc version used to build plugin in the notes.
8.80: annobin: In LTO mode, assume that FORTIFY_SOURCE and GLIBCXX_ASSERTIONS were set.
8.80: annobin: When compiling for LTO, issue warning messages if FORTIFY_SOURCE or GLIBCXX_ASSERTIONS are insufficient.
8.80: annocheck: Add support for new build tool note format.
Nick Clifton [Thu, 8 Aug 2019 14:11:50 +0000 (15:11 +0100)]
8.79: Fix tests so that the tools can be specified on the command line.
Nick Clifton [Tue, 6 Aug 2019 14:35:41 +0000 (15:35 +0100)]
Fix a memory allocation error in the annobin plugin.
Resolves: #
1737306
Nick Clifton [Mon, 24 Jun 2019 12:58:46 +0000 (13:58 +0100)]
8.77:
annobin:
Always record -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS.
annocheck:
FAIL if -D_FORTIFY_SOURCE is missing.
Improve failure message for missing GNU Property note.
Nick Clifton [Tue, 30 Apr 2019 14:35:28 +0000 (15:35 +0100)]
annocheck: Also fail if -D_FORTIFY_SOURCE is present by -D_GLIBCXX_ASSERTIONS is not.
Nick Clifton [Tue, 30 Apr 2019 14:24:04 +0000 (15:24 +0100)]
8.76: Annocheck: Add detection of non-gcc code producers. Report missing -D_FORTIFY_SOURCE if -D_GLIBCXX_ASSERTIONS was detected.
Nick Clifton [Fri, 26 Apr 2019 12:03:31 +0000 (13:03 +0100)]
8.74: annocheck: Add checks of command line options recorded by clang in the DW_AT_producer tag.
Nick Clifton [Wed, 24 Apr 2019 11:17:57 +0000 (12:17 +0100)]
Annocheck: Fix test for GNU_STACK segment being executable. (#
1700924 )
Nick Clifton [Thu, 18 Apr 2019 11:03:46 +0000 (12:03 +0100)]
8.72: Minor debugging improvements.
Nick Clifton [Thu, 28 Mar 2019 12:55:28 +0000 (12:55 +0000)]
clang plugin: added reporting function
Nick Clifton [Thu, 28 Mar 2019 11:53:37 +0000 (11:53 +0000)]
Start work on a plugin for clang
Nick Clifton [Thu, 28 Feb 2019 15:42:41 +0000 (15:42 +0000)]
8.71: annobin: Suppress more calls to free() that are triggering memory check errors
Nick Clifton [Thu, 21 Feb 2019 16:00:38 +0000 (16:00 +0000)]
Improve a few error & warning messages
Nick Clifton [Fri, 1 Feb 2019 15:12:25 +0000 (15:12 +0000)]
Annocheck: Extend section size tool to allow for searching for sections or segments that match specific flags.
This page took 0.055482 seconds and 5 git commands to generate.