Commit Graph

  • 16e73c5719 Annocheck: Skip checks for -D_FORTIFY_SOURCE and -D_GLIBCXX_ASSERTIONS if there is no compiler generated code in the binary. Nick Clifton 2019-01-23 13:57:56 +0000
  • e1bf6de1fa
    Rebuilt with annotations enabled Björn Esser 2019-01-21 12:03:49 +0100
  • aac7af99b5
    Disable annotated build Björn Esser 2019-01-21 12:03:16 +0100
  • 1e95c472c2
    Rebuilt for GCC 9 Björn Esser 2019-01-21 11:54:35 +0100
  • c418230648 Annocheck: Only skip specific checks for specific symbols. Annobin: Record the setting of the -fomit-frame-pointer option. Resolves: #1666823 Nick Clifton 2019-01-17 10:18:16 +0000
  • 08a082430f Add new sources Nick Clifton 2019-01-02 14:24:59 +0000
  • 61981bee0e Annocheck: Do not ignore -Og when checking to see if an optimization level has been set. (#1624162) Nick Clifton 2019-01-02 13:54:48 +0000
  • a4538d86c6 Annobin: Fix handling of multiple .text.unlikely sections. Nick Clifton 2018-12-11 09:59:46 +0000
  • 60a01e9fa2 Annocheck: Skip gaps in PPC64 executables covered by start_bcax_ symbols. Nick Clifton 2018-11-30 16:02:59 +0000
  • dbdec1ad35 Annocheck: Disable ENDBR test for shared libraries. (#1652925) Nick Clifton 2018-11-26 15:05:19 +0000
  • 1a9432d76e Annocheck: Add test for ENDBR instruction at entry address of x86/x86_64 executables. (#1652925) Nick Clifton 2018-11-26 14:17:58 +0000
  • d3a48b47e3 Fix building with gcc version 4. Nick Clifton 2018-11-19 12:06:27 +0000
  • eef6b3c65b Skip -Wl,-z,now and -Wl,-z,relro checks for non-gcc produced binaries. Nick Clifton 2018-11-13 13:20:17 +0000
  • 819496e5f7 Ensure GNU Property notes are 8-byte aligned in x86_64 binaries. Resolves: #1645817 Nick Clifton 2018-11-05 17:08:28 +0000
  • 9eeba2575d Skip PPC64 linker stubs created in the middle of text sections (again). (#1630640) Nick Clifton 2018-10-18 15:29:57 +0100
  • b6fefda299 Suppress free of invalid pointer. (#1638371) Nick Clifton 2018-10-18 13:19:51 +0100
  • a7bd5f0b0f Skip PPC64 linker stubs created in the middle of text sections. (#1630640) Nick Clifton 2018-10-18 12:03:24 +0100
  • 0b540ceed9 Add new sources Nick Clifton 2018-10-18 10:40:33 +0100
  • 107f5ddd12 Skip PPC64 linker stubs created in the middle of text sections. Reset the (PPC64) section start symbol to 0 if its section is empty. (#1638251) Nick Clifton 2018-10-16 15:37:17 +0100
  • 31fd1dfa5c Also skip virtual thinks created by G++. (#1630619) Nick Clifton 2018-10-11 16:11:08 +0100
  • a4ffb9c75e Use uppercase for all fail/mayb/pass results. (#1637706) Nick Clifton 2018-10-10 18:14:55 +0100
  • 28d895fe9d Generate notes for unlikely sections. (#1630620) Nick Clifton 2018-10-10 16:50:29 +0100
  • 863cedb167 Fix edge case computing section names for end symbols. (#1637039) Nick Clifton 2018-10-08 17:13:56 +0100
  • 66bc6309ff Skip dynamic checks for binaries without a dynamic segment. (#1636606) Nick Clifton 2018-10-08 10:42:53 +0100
  • 1750e06470 - Delay generating attach_to_group directives until the end of the compilation. (#1636265) - Fix bug introduced in previous delta which would trigger a seg-fault when scanning for gaps. - Annobin: Fix section name selection for startup sections. - Annocheck: Improve gap skipping heuristics. (#1630574) Nick Clifton 2018-10-05 12:22:45 +0100
  • f0f59cd27a Update sources. Nick Clifton 2018-10-03 09:42:30 +0100
  • 5b660fd112 Fix function section support (again). (#1630574) Nick Clifton 2018-10-03 09:37:55 +0100
  • fa19a50b6c Skip compiler option checks for non-GNU producers. (#1633749) Fix function section support (again). (#1630574) Ignore ppc64le notes where start = end + 2. (#1632259) Nick Clifton 2018-10-01 10:01:11 +0100
  • 50a4793ba2 Make annocheck ignore symbols suffixed with ".end". Nick Clifton 2018-09-25 10:17:37 +0100
  • 740bbaa891 Tweak tests. Nick Clifton 2018-09-21 21:34:13 +0100
  • 2cdf84f0b4 Generate notes and groups for .text.hot and .text.unlikely sections. When -ffunction-sections is active, put notes for startup sections into .text.startup.foo rather than .text.foo. Similarly put exit section notes into .text.exit.foo. (#1630574) Change annocheck's maybe result for GNU Property note being missing into a PASS if it is not needed and a FAIL if it is needed. Nick Clifton 2018-09-21 18:43:52 +0100
  • 97b046a1ec Make the --skip-* options skip all messages about the specified test. Nick Clifton 2018-09-19 15:43:54 +0100
  • 98aa3b8d59 Improve error message when an ET_EXEC binary is detected. Nick Clifton 2018-09-18 11:41:21 +0100
  • 00645328fd Skip failures for PIC vs PIE. (#1629698) Nick Clifton 2018-09-17 14:47:45 +0100
  • 62a035e246 Ensure 4 byte alignment of note sub-sections. Resolves: #1629671 Nick Clifton 2018-09-17 11:40:50 +0100
  • 38c6f9ee42 Add timing tool to report on speed of the checks. Add check for conflicting use of the -fshort-enum option. Add check of the GNU Property notes. Skip check for -O2 if compiled with -Og. (#1624162) Nick Clifton 2018-09-12 14:27:41 +0100
  • 3218a502f3 Add test for ET_EXEC binaries. Document --report-unknown option. Nick Clifton 2018-09-03 16:45:27 +0100
  • a241ed8b29 - Fix bug in hardened tool which would skip gcc compiled files if the notes were too small. - Fix bugs in section-size tool. - Fix bug in buillt-by tool. Nick Clifton 2018-08-30 11:59:48 +0100
  • ccb481d55d Generate notes for comdat sections. Nick Clifton 2018-08-29 11:09:02 +0100
  • 59960d354a Add more names to the gap skip list. Nick Clifton 2018-08-23 14:07:31 +0100
  • f8f44e9346 Skip gaps covered by _x86.get_pc_thunk and _savegpr symbols. Merge ranges where one is wholly covered by another. Nick Clifton 2018-08-23 11:33:37 +0100
  • 665e3d6465 Skip gaps at the end of functions. (#1619267) Nick Clifton 2018-08-22 11:50:15 +0100
  • 1fa3a94195 Fix thinko in ppc64 gap detection code. Resolves: #1619267 Nick Clifton 2018-08-21 08:58:31 +0100
  • 4482b57ec2 Skip gaps at the end of the .text section in ppc64 binaries. Nick Clifton 2018-08-20 14:26:52 +0100
  • c396cc5131 Skip checks in stack_chk_local_fail.c Treat gaps as FAIL results rather than MAYBE. Nick Clifton 2018-08-15 09:51:54 +0100
  • 34de7bcad3 Skip checks in __stack_chk_local_fail. Nick Clifton 2018-08-08 13:43:37 +0100
  • 57a69d60c2 Reduce version check to gcc major version number only. Skip compiler option checks if binary not built with gcc. Relates: #1603089 Nick Clifton 2018-08-08 09:30:17 +0100
  • a8c8418bed Fix bug in annobin plugin. Add --section-size=NAME option to annocheck. Nick Clifton 2018-08-07 15:21:37 +0100
  • 2f44ce6b02 rebuild for new gcc Peter Robinson 2018-08-02 14:01:05 +0100
  • 504e1b0577 Correct name of man page for run-on-binaries-in script. Resolves: #1611155 Nick Clifton 2018-08-02 09:51:33 +0100
  • 3a1f2d5071
    Rebuilt for GCC 8.2.1 (RISC-V) David Abdurachmanov 2018-08-02 06:36:17 +0300
  • f7e6bb686b Allow $ORIGN to be at the start of entries in DT_RPATH and DT_RUNPATH. Nick Clifton 2018-07-25 11:25:11 +0100
  • 848d99efa7 Add support for big endian targets. Nick Clifton 2018-07-23 17:40:07 +0100
  • 38eb35a4e9 Count passes and failures on a per-component basis and report gaps. Nick Clifton 2018-07-23 16:23:55 +0100
  • 9dbf46e911 Use our own copy of the targetm.asm_out.function_section() function. (#159861 comment#17) Nick Clifton 2018-07-20 12:57:43 +0100
  • baf40aa7ca Generate grouped note section name all the time. (#159861 comment#16) Nick Clifton 2018-07-20 10:50:18 +0100
  • d3e4501372 Fix section conflict problem. Resolves: #1603071 Nick Clifton 2018-07-19 12:25:41 +0100
  • c4f43f0cbb Fix for building with gcc version 4. Fix symbol placement in functions with local assembler. Nick Clifton 2018-07-18 15:24:48 +0100
  • cc6b631f3a Fix assertions in rnage checking code. Add detection of -U options. Nick Clifton 2018-07-17 18:06:21 +0100
  • c760726387 Handle function sections properly. Handle .text.startup and .text.unlikely sections. Improve gap detection and reporting. Resolves: #1601055 Nick Clifton 2018-07-17 16:04:01 +0100
  • accc579ff3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Fedora Release Engineering 2018-07-12 20:14:26 +0000
  • 5a7b2e9a48 Fix construction of absolute versions of --dwarf-dir and --debug-rpm options. Nick Clifton 2018-07-12 10:08:04 +0100
  • 7b83124311 Unknown reasons Nick Clifton 2018-07-11 09:28:28 +0100
  • 4efcfc999f Fix buffer overrun when very long symbol names are encountered. Nick Clifton 2018-07-11 09:27:49 +0100
  • e8e22cc052
    remove unneeded BuildRequires Igor Gnatenko 2018-07-10 15:58:48 +0200
  • 7aff41d33b
    remove unneeded install-info scriptlets Igor Gnatenko 2018-07-10 15:55:33 +0200
  • cb01155831 Add missing build dependency upon gcc-c++. Nick Clifton 2018-07-10 14:24:32 +0100
  • be50c56ece Do not force the generation of function notes when -ffunction-sections is active. Relates: #1598961 Nick Clifton 2018-07-10 10:12:15 +0100
  • a231425bc2 Skip the .annobin_ prfix when reporting symbols. Resolves: #1599315 Nick Clifton 2018-07-09 17:23:41 +0100
  • 0342042e79 Use the assembler (c++ mangled) version of function names when switching sections. Resolves: #1598579 Nick Clifton 2018-07-09 12:42:06 +0100
  • efaf793911 Do not call function_section. Resolves: #1598961 Nick Clifton 2018-07-09 12:22:24 +0100
  • 326c603396 Ignore cross-section gaps. Resolves: #1598551 Nick Clifton 2018-07-06 12:23:12 +0100
  • ce5f9d54ee Do not skip empty range notes in object files. Nick Clifton 2018-07-05 10:53:33 +0100
  • a1b8a53f98 Create the start symbol at the start of the function and the end symbol at the end. Resolves: #1596823 Nick Clifton 2018-07-02 14:20:53 +0100
  • 7fa87a24cf Fix --debug-rpm when used inside a directory. Nick Clifton 2018-07-02 11:58:23 +0100
  • f4130c1b24 Use a prefix for all annobin generated symbols, and make them hidden. Only generate weak symbol definitions for linkonce sections. Nick Clifton 2018-06-28 13:20:24 +0100
  • ae10117310 Skip some checks for relocatable object files, and dynamic objects. Stop bogus complaints about stackrealignment not being enabled. Nick Clifton 2018-06-27 14:55:35 +0100
  • a55d84f6eb Add -debug-rpm= option to annocheck. Only use a 2 byte offset for the initial symbol on PowerPC. Nick Clifton 2018-06-25 16:38:03 +0100
  • ec37d82581 Use --dwarf-path when looking for build-id based debuginfo files. Nick Clifton 2018-06-22 15:35:18 +0100
  • 4a3f774835 Fix premature closing of dwarf handle. Nick Clifton 2018-06-22 11:15:40 +0100
  • 25bca4e64e Fix scoping bug computing the name of a separate debug info file. Nick Clifton 2018-06-22 10:46:17 +0100
  • 9a6d845b6e Fix file descriptor leak. Nick Clifton 2018-06-19 15:42:03 +0100
  • b8b6c8608e Add command line options to annocheck to disable individual tests. Nick Clifton 2018-06-19 14:49:31 +0100
  • 9657bbe901 Remove C99-isms from annocheck sources. Nick Clifton 2018-06-08 11:36:47 +0100
  • 4656334c92 Add the annocheck program as a sub-package. Nick Clifton 2018-06-06 17:25:49 +0100
  • a47a7d3349 Do not use the SHF_GNU_BUILD_NOTE section flag. Nick Clifton 2018-06-01 15:08:25 +0100
  • db2c4ce56d Remove .sh extension from shell scripts. Nick Clifton 2018-05-31 16:10:11 +0100
  • 78f88fba1a Update to 5.9 annobin sources which includes code to record the -mstackrealign option for i686 binaries. Nick Clifton 2018-05-30 12:08:39 +0100
  • 29f42b47f2 Hide the annobin start of file symbol. Nick Clifton 2018-05-14 17:28:20 +0100
  • 92892c9437 Version bump in order to allow a rebuild with the latest version of gcc. f28 Nick Clifton 2018-05-10 11:22:26 +0100
  • ac8ccbb812 Fix script bug in hardended.sh. (Thanks to: Stefan S?rensen <stefan.sorensen@spectralink.com>) Nick Clifton 2018-05-08 13:46:13 +0100
  • 7a683bbe67 Fix script bug in hardended.sh. (Thanks to: Stefan S?rensen <stefan.sorensen@spectralink.com>) Nick Clifton 2018-05-08 13:29:58 +0100
  • 672036adc1 Import latest changes from rawhide, including hard requirement on the version of gcc used. Nick Clifton 2018-05-04 14:28:25 +0100
  • 967f47d659 Version number bump so that the plugin can be rebuilt with the latest version of GCC. Nick Clifton 2018-05-03 12:56:54 +0100
  • 8ee25de178 Release number bumped in order to allow a rebuild with the latest version of GCC. Nick Clifton 2018-05-03 12:54:01 +0100
  • b14031d3bc Rebuild the plugin with the newly created plugin enabled. Resolves: #1573082 Nick Clifton 2018-04-30 16:47:15 +0100
  • f45ff6be28 Rebuild the plugin with the newly created plugin enabled. Resolves: #1573082 Nick Clifton 2018-04-30 16:33:05 +0100
  • 9d8fe91a43 Skip the isa_flags check in the ABI test because the crt[in].o files are compiled with different flags from the test files. Nick Clifton 2018-04-30 10:30:15 +0100
  • 4f0a7c212f Add manual pages for the annobin and the scripts. Nick Clifton 2018-04-20 16:52:49 +0100
  • 62be14152c Do not record a stack protection setting of -1. Resolves: #1563141 Nick Clifton 2018-04-03 16:18:30 +0100