]> sourceware.org Git - annobin.git/log
annobin.git
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.

5 years agoAdd in config/test-driver file
Nick Clifton [Thu, 24 Jan 2019 15:40:46 +0000 (15:40 +0000)]
Add in config/test-driver file

5 years ago8.69:
Nick Clifton [Thu, 24 Jan 2019 15:24:35 +0000 (15:24 +0000)]
8.69:
  Annobin: Add support for .text.startup and .text.exit sections.
  Annobin: Put global notes into all global note sections.
  Annobin: Remove spurious period character in note section name.
  Annocheck: Add notes display tool.

5 years ago8.68: Annocheck: Skip tests for -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS if no...
Nick Clifton [Wed, 23 Jan 2019 13:33:55 +0000 (13:33 +0000)]
8.68: Annocheck: Skip tests for -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS if no non-zero length compiled files are seen.

5 years agoVersion 8.67
Nick Clifton [Thu, 17 Jan 2019 10:07:46 +0000 (10:07 +0000)]
Version 8.67
Annobin: Add recording of -fomit-frame-pointer option.
Annocheck: BZ 1666823: Only skip specific tests for specific symbols.

5 years agoFix typo in the prefix for cold sections.
Nick Clifton [Wed, 9 Jan 2019 16:38:06 +0000 (16:38 +0000)]
Fix typo in the prefix for cold sections.

5 years agoAnnocheck: Do not ignore -Og when checking to see if an optimization level has been...
Nick Clifton [Wed, 2 Jan 2019 13:23:18 +0000 (13:23 +0000)]
Annocheck: Do not ignore -Og when checking to see if an optimization level has been set.

5 years ago8.65: Additional: Annobin: Do not create new section for end symbols if we are revers...
Nick Clifton [Tue, 11 Dec 2018 09:52:43 +0000 (09:52 +0000)]
8.65: Additional: Annobin: Do not create new section for end symbols if we are reversing symbol biasing.

5 years ago8.65: Additional: Annobin: Remove unused code.
Nick Clifton [Tue, 11 Dec 2018 09:44:10 +0000 (09:44 +0000)]
8.65: Additional: Annobin: Remove unused code.

5 years ago8.65: Fix handling of multiple cold sections.
Nick Clifton [Tue, 11 Dec 2018 09:33:28 +0000 (09:33 +0000)]
8.65: Fix handling of multiple cold sections.

5 years ago8.64: Skip PPC64 gaps covered by start_bcax symbols.
Nick Clifton [Fri, 30 Nov 2018 15:54:01 +0000 (15:54 +0000)]
8.64: Skip PPC64 gaps covered by start_bcax symbols.

5 years agoFix building on 32-bit systems.
Nick Clifton [Mon, 26 Nov 2018 14:07:09 +0000 (14:07 +0000)]
Fix building on 32-bit systems.

5 years agoannocheck: Add test for an ENDBR instruction at the entry point for x86/x86_64 execut...
Nick Clifton [Mon, 26 Nov 2018 10:56:34 +0000 (10:56 +0000)]
annocheck: Add test for an ENDBR instruction at the entry point for x86/x86_64 executables.

5 years agoSuppres -Wl,-z,now and -Wl,-z,relro checks for non-gcc (ie GO) produced binaries.
Nick Clifton [Tue, 13 Nov 2018 13:02:54 +0000 (13:02 +0000)]
Suppres -Wl,-z,now and -Wl,-z,relro checks for non-gcc (ie GO) produced binaries.

5 years agoUse 8-byte alignment for x86_64 GNU Property notes.
Nick Clifton [Mon, 5 Nov 2018 16:51:59 +0000 (16:51 +0000)]
Use 8-byte alignment for x86_64 GNU Property notes.

5 years agoannocheck: if a gap is found, check for a symbol in the middle of the gap too.
Nick Clifton [Thu, 18 Oct 2018 14:13:32 +0000 (15:13 +0100)]
annocheck: if a gap is found, check for a symbol in the middle of the gap too.

5 years agoannobin: Suppress a call to free() as it is triggering a memory fault.
Nick Clifton [Thu, 18 Oct 2018 12:10:06 +0000 (13:10 +0100)]
annobin: Suppress a call to free() as it is triggering a memory fault.

5 years agoannocheck: Fix detection of ppc64le plt stubs.
Nick Clifton [Thu, 18 Oct 2018 10:50:03 +0000 (11:50 +0100)]
annocheck: Fix detection of ppc64le plt stubs.

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