]> sourceware.org Git - annobin.git/log
annobin.git
6 years agoDo not skip empty range notes in object files.
Nick Clifton [Thu, 5 Jul 2018 09:40:11 +0000 (10:40 +0100)]
Do not skip empty range notes in object files.
Refact function note generation to allow for function sections.

6 years agoUse a prefix for all annobin symbols.
Nick Clifton [Thu, 28 Jun 2018 12:04:19 +0000 (13:04 +0100)]
Use a prefix for all annobin symbols.
Hide all annobin symbols.
Only generate weak symbol definitions for linkonce code.

6 years agoAdd --debug-rpm=<file> option to annocheck.
Nick Clifton [Mon, 25 Jun 2018 15:18:45 +0000 (16:18 +0100)]
Add --debug-rpm=<file> option to annocheck.
Skip known glibc startup files when performing some hardening checks.
Look in symbol table in separate debug info files for even better symbol lookup

In annobin plugin make the initial symbol offset target specific, and only a value of 2 for PowerPC.

6 years agoUse --dwarf-dir when searching for build-id based debuginfo giles
Nick Clifton [Fri, 22 Jun 2018 14:31:11 +0000 (15:31 +0100)]
Use --dwarf-dir when searching for build-id based debuginfo giles

6 years agoFix premature closing of dwatf handle
Nick Clifton [Fri, 22 Jun 2018 10:16:32 +0000 (11:16 +0100)]
Fix premature closing of dwatf handle

6 years agoFix scoping bug computing name for debuginfo file
Nick Clifton [Fri, 22 Jun 2018 09:42:51 +0000 (10:42 +0100)]
Fix scoping bug computing name for debuginfo file

6 years agoFix possible file descriptor leak
Nick Clifton [Tue, 19 Jun 2018 14:36:37 +0000 (15:36 +0100)]
Fix possible file descriptor leak

6 years agoUpdate documentation
Nick Clifton [Tue, 19 Jun 2018 13:43:37 +0000 (14:43 +0100)]
Update documentation

6 years agoannocheck: Move test descriptions into the test structure.
Nick Clifton [Tue, 19 Jun 2018 13:20:16 +0000 (14:20 +0100)]
annocheck: Move test descriptions into the test structure.

6 years agoAdd options to annocheck to control individual tests.
Nick Clifton [Mon, 18 Jun 2018 16:24:09 +0000 (17:24 +0100)]
Add options to annocheck to control individual tests.

6 years agoRemove // style comments
Nick Clifton [Fri, 8 Jun 2018 09:52:49 +0000 (10:52 +0100)]
Remove // style comments

6 years agoRemove C99 feature from annocheck sources
Nick Clifton [Fri, 8 Jun 2018 09:43:27 +0000 (10:43 +0100)]
Remove C99 feature from annocheck sources

6 years agoVarious minor bugfixes found whilst attempting to build an rpm
Nick Clifton [Wed, 6 Jun 2018 16:26:31 +0000 (17:26 +0100)]
Various minor bugfixes found whilst attempting to build an rpm

6 years agoVarious minor bugfixes found whilst attempting to build an rpm
Nick Clifton [Wed, 6 Jun 2018 15:03:25 +0000 (16:03 +0100)]
Various minor bugfixes found whilst attempting to build an rpm

6 years agoImport eu-checksec program into annobin.
Nick Clifton [Wed, 6 Jun 2018 11:36:51 +0000 (12:36 +0100)]
Import eu-checksec program into annobin.
Rename to annocheck.
Add documentation.
Update testsuite to use it.
Fix minor bugs exposed by using annocheck.
Fix exit codes for scripts.

6 years agoDo not use SHF_GNU_BUILD_NOTE section flag
Nick Clifton [Fri, 1 Jun 2018 14:05:42 +0000 (15:05 +0100)]
Do not use SHF_GNU_BUILD_NOTE section flag

6 years agoRemove .sh extension from scripts
Nick Clifton [Thu, 31 May 2018 15:01:00 +0000 (16:01 +0100)]
Remove .sh extension from scripts

6 years agoReplace reference to RHEL-8 with reference to Fedora rawhide
Nick Clifton [Thu, 31 May 2018 14:47:38 +0000 (15:47 +0100)]
Replace reference to RHEL-8 with reference to Fedora rawhide

6 years agoSkip stackrealign test in hardening checks as this is not enabled for i686 binaries...
Nick Clifton [Wed, 30 May 2018 11:01:58 +0000 (12:01 +0100)]
Skip stackrealign test in hardening checks as this is not enabled for i686 binaries (yet).

6 years agoAdd recording of the -mstackrealign option for i686 binaries
Nick Clifton [Wed, 30 May 2018 10:48:23 +0000 (11:48 +0100)]
Add recording of the -mstackrealign option for i686 binaries

6 years agoImprove handling of functions with section names. Hide the start of file symbol
Nick Clifton [Mon, 14 May 2018 16:26:33 +0000 (17:26 +0100)]
Improve handling of functions with section names.  Hide the start of file symbol

6 years agoFix bug in hardended.sh script
Nick Clifton [Tue, 8 May 2018 12:19:38 +0000 (13:19 +0100)]
Fix bug in hardended.sh script

6 years agocheck-abi: With --verbose, show all the notes extracted.
Nick Clifton [Mon, 30 Apr 2018 08:58:30 +0000 (09:58 +0100)]
check-abi: With --verbose, show all the notes extracted.
abi-test: Skip the ABI check, since the crt[in].o files are compiled with different settings.

6 years agoAdd manual pages
Nick Clifton [Fri, 20 Apr 2018 14:12:57 +0000 (15:12 +0100)]
Add manual pages

6 years agoAdd function-verbose option to print messages when function notes are created.
Nick Clifton [Tue, 20 Mar 2018 11:18:42 +0000 (11:18 +0000)]
Add function-verbose option to print messages when function notes are created.
Handle dwarf_version being -1.
Put the end-of-function symbol in the same section as the function itself.
Add function-sections-test.

6 years agoAdd test with -ffunction-sections enabled.
Nick Clifton [Mon, 19 Mar 2018 10:24:55 +0000 (10:24 +0000)]
Add test with -ffunction-sections enabled.
Add "function-verbose" option to display messages when creating function notes.

6 years agoBias file start symbols to avoid them being confused with the start address of the...
Nick Clifton [Thu, 15 Mar 2018 17:11:22 +0000 (17:11 +0000)]
Bias file start symbols to avoid them being confused with the start address of the first function in the file.

6 years agoAdd --ignore-gaps option to the check-abi script.
Nick Clifton [Mon, 12 Mar 2018 12:36:35 +0000 (12:36 +0000)]
Add --ignore-gaps option to the check-abi script.
Use it in the abi-check test.
Tweak hardended test to skip pic and stack checks.

6 years agoMove function_asm_name() into annobin.cc and have it cope with asterisk prefixed...
Nick Clifton [Tue, 6 Mar 2018 11:14:08 +0000 (11:14 +0000)]
Move function_asm_name() into annobin.cc and have it cope with asterisk prefixed assembler names

6 years agoFix typo in makefile
Nick Clifton [Fri, 9 Feb 2018 08:44:15 +0000 (08:44 +0000)]
Fix typo in makefile

6 years agoChange type and size of symbols created by annobin to STT_NOTYPE/size 0. See BZ...
Nick Clifton [Fri, 9 Feb 2018 08:31:37 +0000 (08:31 +0000)]
Change type and size of symbols created by annobin to STT_NOTYPE/size 0.  See BZ 1539664.
Update documentation to describe the global-file-sym option.

6 years agoBug fixing in scripts
Nick Clifton [Fri, 2 Feb 2018 16:41:39 +0000 (16:41 +0000)]
Bug fixing in scripts

6 years agoImprove run-on script and add documentation of scripts
Nick Clifton [Fri, 2 Feb 2018 13:41:29 +0000 (13:41 +0000)]
Improve run-on script and add documentation of scripts

6 years agoAdd a new run-on-binaries-in script
Nick Clifton [Wed, 31 Jan 2018 17:49:25 +0000 (17:49 +0000)]
Add a new run-on-binaries-in script

6 years agoAdd recording of control-flow protection options
Nick Clifton [Wed, 31 Jan 2018 10:51:52 +0000 (10:51 +0000)]
Add recording of control-flow protection options

6 years agoSynchronise with internal repository
Nick Clifton [Fri, 26 Jan 2018 12:05:08 +0000 (12:05 +0000)]
Synchronise with internal repository

6 years agoFix compile time warning about unused variable
Nick Clifton [Thu, 4 Jan 2018 10:01:03 +0000 (10:01 +0000)]
Fix compile time warning about unused variable

6 years agoUpdate PowerPC and AArch64 plugins to use new version of annobin_output_note function.
Nick Clifton [Thu, 4 Jan 2018 08:53:23 +0000 (08:53 +0000)]
Update PowerPC and AArch64 plugins to use new version of annobin_output_note function.
Add checking of operator[] range and -fstack-clash-protection status to hardened.sh script.
Tweak test harness.

6 years agoFix tests to work with enhanced scripts.
Nick Clifton [Wed, 3 Jan 2018 15:24:06 +0000 (15:24 +0000)]
Fix tests to work with enhanced scripts.
Enhance scripts so that they do not complain about not being able to parse notes if the notes are note needed.
Add support for recording _GLIBCXX_ASSERTIONS.
Add support for recording -fstack-clash-protection.

6 years agoUpdate scripts to work with v3 notes
Nick Clifton [Wed, 3 Jan 2018 14:08:04 +0000 (14:08 +0000)]
Update scripts to work with v3 notes

6 years agoVersion 3 of protocol
Nick Clifton [Thu, 21 Dec 2017 17:16:44 +0000 (17:16 +0000)]
Version 3 of protocol

6 years ago Do not generate notes when there is no output file. (#1523875)
Nick Clifton [Mon, 11 Dec 2017 10:34:33 +0000 (10:34 +0000)]
 Do not generate notes when there is no output file.  (#1523875)

6 years agoFix compile time warning introduced by previous delta
Nick Clifton [Fri, 8 Dec 2017 11:32:59 +0000 (11:32 +0000)]
Fix compile time warning introduced by previous delta

6 years agoHandle the case where source input is from a pipe
Nick Clifton [Fri, 8 Dec 2017 11:10:32 +0000 (11:10 +0000)]
Handle the case where source input is from a pipe

6 years agoFix BZ 1519165 - functions with specific assembler names (aarch64 addition)
Florian Weimer [Fri, 1 Dec 2017 14:00:16 +0000 (14:00 +0000)]
Fix BZ 1519165 - functions with specific assembler names (aarch64 addition)

6 years agoFix BZ 1519165 - functions with specific assembler names
Florian Weimer [Fri, 1 Dec 2017 13:50:34 +0000 (13:50 +0000)]
Fix BZ 1519165 - functions with specific assembler names

6 years agoInitial commit of annobin sources
Nick Clifton [Fri, 17 Nov 2017 09:49:09 +0000 (09:49 +0000)]
Initial commit of annobin sources

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