]> sourceware.org Git - annobin.git/log
annobin.git
3 years ago9.47: gcc plugin: Add support for cl_vars
Nick Clifton [Tue, 1 Dec 2020 12:26:21 +0000 (12:26 +0000)]
9.47: gcc plugin: Add support for cl_vars

3 years agoFix new covscan warnings
Nick Clifton [Mon, 30 Nov 2020 13:21:42 +0000 (13:21 +0000)]
Fix new covscan warnings

3 years agoImprove reporting of build languages
Nick Clifton [Mon, 30 Nov 2020 12:06:39 +0000 (12:06 +0000)]
Improve reporting of build languages

3 years ago9.46: Add --skip-future-fail and --test-future-fail
Nick Clifton [Tue, 24 Nov 2020 10:52:00 +0000 (10:52 +0000)]
9.46: Add --skip-future-fail and --test-future-fail

3 years ago9.45: gcc plugin: Always record global notes for the .text.hot, .text.cold, .text...
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.

3 years ago9.44: Build clang plugin with -lLLVM
Nick Clifton [Tue, 17 Nov 2020 16:38:08 +0000 (16:38 +0000)]
9.44: Build clang plugin with -lLLVM

3 years ago9.43: annocheck: Better handling of missing -D_FORTIFY_SOURCE
Nick Clifton [Mon, 16 Nov 2020 14:29:40 +0000 (14:29 +0000)]
9.43: annocheck: Better handling of missing -D_FORTIFY_SOURCE

3 years ago9.42: Annocheck: Improve reporting of missing LTO option
Nick Clifton [Mon, 16 Nov 2020 11:42:15 +0000 (11:42 +0000)]
9.42: Annocheck: Improve reporting of missing LTO option

3 years ago9.41: annocheck: detect and handle gimple compiled binaries.
Nick Clifton [Tue, 10 Nov 2020 16:50:19 +0000 (16:50 +0000)]
9.41: annocheck: detect and handle gimple compiled binaries.

3 years agoAdd configure option to disable building gcc plugin
Nick Clifton [Mon, 9 Nov 2020 13:56:36 +0000 (13:56 +0000)]
Add configure option to disable building gcc plugin

3 years ago9.38: Annocheck: Fix bug parsing DW_AT_producer
Nick Clifton [Fri, 6 Nov 2020 12:31:59 +0000 (12:31 +0000)]
9.38: Annocheck: Fix bug parsing DW_AT_producer

3 years ago9.37:
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.

3 years ago9.36: plugins: Record if LTO is enabled in bit 16 of the GOW note, and disabled in...
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++.

3 years agoFix typo in -D_FORTIFY_CHECK
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.

3 years agoTrim spaces at ends of lines in hardened.c
Siddhesh Poyarekar [Thu, 15 Oct 2020 16:36:06 +0000 (22:06 +0530)]
Trim spaces at ends of lines in hardened.c

3 years agoclang/llvm: Fix plugin directory selection and add comment about symbol locations
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

3 years ago9.35: gcc-plugin: Add use of SHF_LINK_ORDER section flag for note elimination
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

3 years agogcc-plugin: Fix test for empty PowerPC functions.
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.

3 years ago9.32: hardened: Add tests for AArch64 BTI and PAC notes and dynamic tags.
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.

3 years ago9.31: gcc-plugin: Use 4 byte offset for PPC start symbols.
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.

3 years ago9.30: gcc-plugin: Fix detection of compilation in 32-bit mode.
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.

4 years ago9.29: gcc plugin: Detect & fail to compile attempts to access the global_options...
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.

4 years agogcc plugin: Do not complain about missing pre-processor directives when examining...
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

4 years ago9.27: gcc-plugin: Use annobin_get_gcc_option to fetch AArch64 specific command line...
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.

4 years ago9.26: annocheck: detect CLANG+GAS built binaries
Nick Clifton [Thu, 30 Jul 2020 07:21:38 +0000 (08:21 +0100)]
9.26: annocheck: detect CLANG+GAS built binaries

4 years agoFix pointer size for x86 target
Nick Clifton [Sun, 26 Jul 2020 09:39:59 +0000 (10:39 +0100)]
Fix pointer size for x86 target

4 years ago9.25:
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.

4 years agoTemporary suppression of aarch64 check
Nick Clifton [Sun, 26 Jul 2020 08:22:28 +0000 (09:22 +0100)]
Temporary suppression of aarch64 check

4 years ago9.24:
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.

4 years ago9.23:
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.

4 years agouse install instead of cp
Nick Clifton [Mon, 15 Jun 2020 16:29:54 +0000 (17:29 +0100)]
use install instead of cp

4 years agoremove old makefiles
Nick Clifton [Mon, 15 Jun 2020 16:08:43 +0000 (17:08 +0100)]
remove old makefiles

4 years ago9.22: Add configure/build/test support for llvm and clang plugins
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

4 years agollvm plugin tweaks
Nick Clifton [Wed, 10 Jun 2020 15:09:34 +0000 (16:09 +0100)]
llvm plugin tweaks

4 years agoFix some covscan detected problems.
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.

4 years agoremove generated files
Nick Clifton [Wed, 10 Jun 2020 11:05:29 +0000 (12:05 +0100)]
remove generated files

4 years agollvm plugin: record -D_FORTIFY_SOURCE
Nick Clifton [Wed, 10 Jun 2020 11:04:33 +0000 (12:04 +0100)]
llvm plugin: record -D_FORTIFY_SOURCE

4 years agoAdd llvm version capture and support for running at -O0
Nick Clifton [Thu, 28 May 2020 12:18:03 +0000 (13:18 +0100)]
Add llvm version capture and support for running at -O0

4 years agomore llvm note generation
Nick Clifton [Fri, 15 May 2020 16:25:24 +0000 (17:25 +0100)]
more llvm note generation

4 years agollvm plugin generates its first note
Nick Clifton [Fri, 15 May 2020 14:54:30 +0000 (15:54 +0100)]
llvm plugin generates its first note

4 years agollvm plugin update
Nick Clifton [Tue, 12 May 2020 13:27:25 +0000 (14:27 +0100)]
llvm plugin update

4 years agoAdd base bones of an llvm plugin
Nick Clifton [Mon, 11 May 2020 12:38:31 +0000 (13:38 +0100)]
Add base bones of an llvm plugin

4 years agoAdd '--without-annocheck' option to disable building annocheck
Nick Clifton [Thu, 23 Apr 2020 10:06:44 +0000 (11:06 +0100)]
Add '--without-annocheck' option to disable building annocheck

4 years agoFix coverity issue
Nick Clifton [Thu, 16 Apr 2020 15:40:02 +0000 (16:40 +0100)]
Fix coverity issue

4 years agoAdd support for detecting Fortran binaries
Nick Clifton [Thu, 16 Apr 2020 11:21:19 +0000 (12:21 +0100)]
Add support for detecting Fortran binaries

4 years agoBetter C++ coding of the clang plugin, courtesy of Serge
Nick Clifton [Wed, 15 Apr 2020 11:45:34 +0000 (12:45 +0100)]
Better C++ coding of the clang plugin, courtesy of Serge

4 years ago9.19: gcc-plugin: Search for options by name, if the expected index does not match.
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.

4 years ago9.16: Annobin: Fix accessing the -flto and -fsanitize flags.
Nick Clifton [Fri, 27 Mar 2020 10:43:08 +0000 (10:43 +0000)]
9.16: Annobin: Fix accessing the -flto and -fsanitize flags.

4 years ago9.13: Rename plugin directory to gcc-plugin and improve clang support
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

4 years ago9.12: Annocheck: Do not complain about missing notes in non-gcc/non-clang compiled...
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.

4 years agoMuch improved built-by functionality
Nick Clifton [Wed, 4 Mar 2020 10:33:37 +0000 (10:33 +0000)]
Much improved built-by functionality

4 years agoFix infinite loop in annocheck
Nick Clifton [Fri, 28 Feb 2020 11:02:51 +0000 (11:02 +0000)]
Fix infinite loop in annocheck

4 years agoFix clang plugin to use hifdden symbols
Nick Clifton [Thu, 27 Feb 2020 12:21:02 +0000 (12:21 +0000)]
Fix clang plugin to use hifdden symbols

4 years agoFix building clang plugin with clang v10
Nick Clifton [Tue, 25 Feb 2020 15:51:36 +0000 (15:51 +0000)]
Fix building clang plugin with clang v10

4 years agoFix version number printed by annocheck
Nick Clifton [Mon, 17 Feb 2020 17:33:27 +0000 (17:33 +0000)]
Fix version number printed by annocheck

4 years ago9.06:
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.

4 years agoAdd --without-libelf configure option.
Erick Ochoa [Fri, 31 Jan 2020 13:33:58 +0000 (13:33 +0000)]
Add --without-libelf configure option.
Document configure options.

4 years agoUpdate debuginfod test
Nick Clifton [Fri, 31 Jan 2020 12:11:35 +0000 (12:11 +0000)]
Update debuginfod test

4 years ago9.03: annocheck: Add debuginfod support. (Contributed by Aaron Merey <amerey@redhat...
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>).

4 years ago9.02: Add more checking of clang results to annocheck/hardened
Nick Clifton [Tue, 21 Jan 2020 17:39:21 +0000 (17:39 +0000)]
9.02: Add more checking of clang results to annocheck/hardened

4 years agoFix potential illegal memory access in hardended
Nick Clifton [Mon, 20 Jan 2020 12:24:21 +0000 (12:24 +0000)]
Fix potential illegal memory access in hardended

4 years agoAdd includeds of annobin-global.h to arch specific plugin components
Nick Clifton [Mon, 20 Jan 2020 12:14:11 +0000 (12:14 +0000)]
Add includeds of annobin-global.h to arch specific plugin components

4 years agoFix compile time warning messages in gcc plugin from gcc-10
Nick Clifton [Mon, 20 Jan 2020 12:03:16 +0000 (12:03 +0000)]
Fix compile time warning messages in gcc plugin from gcc-10

4 years agoMore clang plugin improvements
Nick Clifton [Thu, 16 Jan 2020 16:39:33 +0000 (16:39 +0000)]
More clang plugin improvements

4 years agoAdd another clang plugin note
Nick Clifton [Wed, 15 Jan 2020 12:59:15 +0000 (12:59 +0000)]
Add another clang plugin note

4 years ago9.01: Move version number into global header file.
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.

4 years ago8.92: Annocheck: Ignore notes with an end address of 0.
Nick Clifton [Fri, 6 Dec 2019 14:32:33 +0000 (14:32 +0000)]
8.92: Annocheck: Ignore notes with an end address of 0.

4 years agoFix configure tests and add check for rpm libraries.
Serge Guelton [Mon, 2 Dec 2019 11:45:06 +0000 (11:45 +0000)]
Fix configure tests and add check for rpm libraries.

4 years agoAdd roptool like check for JCC vulnerability.
Nick Clifton [Tue, 26 Nov 2019 13:24:46 +0000 (13:24 +0000)]
Add roptool like check for JCC vulnerability.

4 years agoInitial commit of an actually working clang plugin
Nick Clifton [Thu, 21 Nov 2019 14:39:56 +0000 (14:39 +0000)]
Initial commit of an actually working clang plugin

4 years ago8.91: Annocheck: Fix gcc version checks in tool note parser
Nick Clifton [Sat, 16 Nov 2019 17:56:50 +0000 (17:56 +0000)]
8.91: Annocheck: Fix gcc version checks in tool note parser

4 years ago8.90: Annocheck: Do not skip positive tests
Nick Clifton [Fri, 15 Nov 2019 15:58:32 +0000 (15:58 +0000)]
8.90: Annocheck: Do not skip positive tests

4 years ago8.89: Fix for building plugin on RHEL7
Nick Clifton [Mon, 4 Nov 2019 11:12:40 +0000 (11:12 +0000)]
8.89: Fix for building plugin on RHEL7

4 years ago8.88:
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.

4 years agoReplace address checking code with dladdr1().
Nick Clifton [Tue, 22 Oct 2019 16:03:04 +0000 (17:03 +0100)]
Replace address checking code with dladdr1().

4 years ago8.86: annonbin: Add libabigail-like checks for specific variables.
Nick Clifton [Mon, 21 Oct 2019 15:51:10 +0000 (16:51 +0100)]
8.86: annonbin: Add libabigail-like checks for specific variables.

4 years agoLatest libabigail work
Nick Clifton [Mon, 21 Oct 2019 13:19:49 +0000 (14:19 +0100)]
Latest libabigail work

4 years ago8.85: annobin: Skip global notes for hot and cold sections.
Nick Clifton [Wed, 16 Oct 2019 15:25:35 +0000 (16:25 +0100)]
8.85: annobin: Skip global notes for hot and cold sections.

4 years agoTweak warnings check
Nick Clifton [Thu, 10 Oct 2019 13:28:36 +0000 (14:28 +0100)]
Tweak warnings check

4 years agoTweak function section test
Nick Clifton [Thu, 10 Oct 2019 13:15:29 +0000 (14:15 +0100)]
Tweak function section test

4 years agoFix function sections test
Nick Clifton [Thu, 10 Oct 2019 13:05:15 +0000 (14:05 +0100)]
Fix function sections test

4 years ago8.84:
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.

4 years ago8.83: Add recording and reporting of the -mbranch-protection option of the AArch64...
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.

4 years ago8.82:
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.

4 years agoRemove linking plugin with libabigail.
Nick Clifton [Mon, 23 Sep 2019 12:19:21 +0000 (13:19 +0100)]
Remove linking plugin with libabigail.

4 years ago8.81:
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.

5 years ago8.80: annobin: Record gcc version used to build plugin in the notes.
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.

5 years ago8.79: Fix tests so that the tools can be specified on the command line.
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.

5 years agoFix a memory allocation error in the annobin plugin.
Nick Clifton [Tue, 6 Aug 2019 14:35:41 +0000 (15:35 +0100)]
Fix a memory allocation error in the annobin plugin.
Resolves: #1737306

5 years ago8.77:
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.

5 years agoannocheck: Also fail if -D_FORTIFY_SOURCE is present by -D_GLIBCXX_ASSERTIONS is...
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.

5 years ago8.76: Annocheck: Add detection of non-gcc code producers. Report missing -D_FORTIFY_...
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.

5 years ago8.74: annocheck: Add checks of command line options recorded by clang in the DW_AT_pr...
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.

5 years agoAnnocheck: Fix test for GNU_STACK segment being executable. (#1700924)
Nick Clifton [Wed, 24 Apr 2019 11:17:57 +0000 (12:17 +0100)]
Annocheck: Fix test for GNU_STACK segment being executable.  (#1700924)

5 years ago8.72: Minor debugging improvements.
Nick Clifton [Thu, 18 Apr 2019 11:03:46 +0000 (12:03 +0100)]
8.72: Minor debugging improvements.

5 years agoclang plugin: added reporting function
Nick Clifton [Thu, 28 Mar 2019 12:55:28 +0000 (12:55 +0000)]
clang plugin: added reporting function

5 years agoStart work on a plugin for clang
Nick Clifton [Thu, 28 Mar 2019 11:53:37 +0000 (11:53 +0000)]
Start work on a plugin for clang

5 years ago8.71: annobin: Suppress more calls to free() that are triggering memory check errors
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

5 years agoImprove a few error & warning messages
Nick Clifton [Thu, 21 Feb 2019 16:00:38 +0000 (16:00 +0000)]
Improve a few error & warning messages

5 years agoAnnocheck: Extend section size tool to allow for searching for sections or segments...
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.