Commit Graph

81 Commits

Author SHA1 Message Date
Nick Clifton
680b19bfd9 Annocheck: Add more code to handle another glibc function built without LTO.
Resolves: #2175768
2023-03-08 17:56:28 +00:00
Nick Clifton
acf1543d34 GCC Plugin: Do not run if other plugins are active.
Resolves: #2175768
2023-03-06 14:12:53 +00:00
Nick Clifton
3330a09cad Annocheck: Fix handling of empty files.
Resolves: #2159292
2023-01-09 15:21:22 +00:00
Nick Clifton
49ab51e026 Annocheck: Add crti.o and crtn.o to the list of known glibc special files.
Resolves: #2158740
2023-01-09 08:21:42 +00:00
Nick Clifton
27010e8570 Annocheck: Do not assume that object files contain no code simply because they do not have an executable segment.
Resolves: #2158182
2023-01-05 08:51:24 +00:00
Nick Clifton
5b7f51675f AnnochechL Add more special glibc filenames.
Resolves: #2158100
2023-01-04 12:03:56 +00:00
Nick Clifton
7fb3019552 Improve handling of tool versions.
Resolves: #2151308
2022-12-21 16:30:48 +00:00
Nick Clifton
9c3644fbb7 Annocheck: Add test for binaries built br cross compilers.
Resolves: #2144533
2022-12-16 09:08:23 +00:00
Nick Clifton
1eba60d353 Annocheck: Improve heuristic used to detect binaries without code.
Resolves: #2144533
2022-12-15 11:20:14 +00:00
Nick Clifton
fa38621aaf Rebase to 10.94.
Resolves: #2151308
2022-12-07 11:05:42 +00:00
Nick Clifton
a34ab4622e Annocheck: Fix handling of command line options that take arguments + Do not complain about unenabled -mbranch-protection option in AArch64 binaries. + Rebuild for NVR coliision issue.
Resolves: #2061050
2022-05-17 12:55:14 +01:00
Nick Clifton
669831567f llvm-plugin: Rebuild against LLVM 14.
Resolves: #2061050
2022-05-16 15:11:32 +01:00
Nick Clifton
7e0f517e3e Annocheck: Add another special case for glibc rpms.
Resolves: #2083070
2022-05-09 14:35:38 +01:00
Nick Clifton
d34059935f Annocheck: Add more glibc exceptions + check PT_TLS segments.
Resolves:  #2081131
2022-05-06 14:09:21 +01:00
Nick Clifton
35ca7e10e2 gcc-plugin: Do not issue warning messages for autoconf generated source files.
Resolves: #2009958
2022-03-14 12:04:50 +00:00
Nick Clifton
a3dab7e4dc Rebuild to work with LLVM14.
Resolves: #2061050
2022-03-07 13:00:20 +00:00
Nick Clifton
f79bb7e490 Annocheck: Accept static GO binaries.
Resolves: #2053606
2022-02-14 11:53:10 +00:00
Nick Clifton
787a1fd58d gcc-plugin: Fix libtool so that extraneous runpaths are not added to the plugin.
Resolves: #2047356
2022-01-28 11:12:51 +00:00
Nick Clifton
3a657980a0 Annocheck: Skip some tests for BPF binaries.
Resolves: #2044897
2022-01-25 16:41:12 +00:00
Nick Clifton
31b3d6c25f Annocheck: Skip property note test for GO binaries. - Annocheck: Add another glibc static library symbol.
Resolves: #2043047
Resolves: #2043000
2022-01-24 12:18:37 +00:00
Nick Clifton
36698c661b GCC Plugin: Do not fail if a section cannot be attached to a group.
Resolves: #2039297
2022-01-17 14:32:11 +00:00
Nick Clifton
e652201f7e GCC Plugin: Only default to link-once when using gcc-12 or later.
Resolves: #2039297
2022-01-13 17:00:55 +00:00
Nick Clifton
89046a2398 Spec file: Add requirement on cpio for annocheck.
Resolves: #2039747
2022-01-13 13:31:59 +00:00
Nick Clifton
050fa562c7 Annocheck: Add even more glibc function names.
Resolves: #2037333
2022-01-07 14:53:56 +00:00
Nick Clifton
2b53e719ea Annocheck: Extend list of known glibc functions.
Resolves: #2037333
2022-01-06 11:45:32 +00:00
Nick Clifton
7aed84cdef Annocheck: Ignore more glibc special binaries.
Resolves: #2037220
2022-01-05 13:14:45 +00:00
Nick Clifton
73c58bd3e9 Annocheck: Do not complaining about missing stack clash notes if the compilation used LTO.
Resolves: #2034946
2022-01-04 14:07:19 +00:00
Nick Clifton
937dcd29c6 Annocheck: Add /usr/lib/ld-linux-aarch64.so.1 to the list of known glibc binaries.
Resolves: #2033255
2021-12-20 13:35:27 +00:00
Nick Clifton
2d008d72c6 Annocheck: Do not complaining about missing -mstackrealign notes in LTO mode.
Resolves: #2030298
2021-12-14 10:59:52 +00:00
Nick Clifton
80434affa9 Tests: Fix gaps and stat tests to use newly built annobin plugin.
Resolves: #2028063
2021-12-13 12:38:02 +00:00
Nick Clifton
223438b42f NVR bump to allow rebuilding against new GCC.
Resolves: #2028063
2021-12-06 14:40:13 +00:00
Nick Clifton
27535490e6 Annocheck: Ignore gaps in binaries at least partial built by golang.
Resolves: #2028583
2021-12-06 12:19:53 +00:00
Nick Clifton
1044b3478d Annocheck: Allow spaces in golang symbols.
Resolves: #2028583
2021-12-03 14:21:31 +00:00
Nick Clifton
68e3505d1d rebuild for new gcc.
Resolves: #2028063
2021-12-01 15:45:10 +00:00
Nick Clifton
1d58afd81c Annocheck: Change MAYB result to SKIP for DT_RPATH.
Resolves: #2026300
2021-11-25 10:10:22 +00:00
Nick Clifton
44e4bb15a4 gcc-plugin: Another attempt at fixing ppc64le section grouping.
Resolves: #2012797
2021-11-18 10:43:37 +00:00
Nick Clifton
e3a7bc1a46 Annocheck: Add exception for /usr/sbin/ldconfig.
Resolves: #2022973
2021-11-16 17:06:28 +00:00
Nick Clifton
aee70758bf Annocheck: Add a test for unicode characters in identifiers.
Resolves: #2009287
2021-11-08 14:34:10 +00:00
Nick Clifton
3e27929665 gcc-plugin: Default to link-order grouping for PPC64LE.
Resolves: #2016458
2021-10-27 11:04:39 +01:00
Nick Clifton
764656492f gcc-plugin: Attach the .text section to the .text.group.
Resolves: #2016458
2021-10-26 13:44:31 +01:00
Nick Clifton
c30496e9c7 Better reporting of problems in object files.
Resolves: #2013708
2021-10-19 12:53:07 +01:00
Nick Clifton
28490b94dc Fix -mstackrealign test for non-GCC compiled files.
Resolves: #2013658
2021-10-18 13:21:05 +01:00
Nick Clifton
0caf34b0fd Annocheck: Add tests based upon recent bug fixes.
Resolves: #2012803
2021-10-13 12:15:35 +01:00
Nick Clifton
e13c31c791 Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found.
Resolves: #2011438
2021-10-08 16:23:34 +01:00
Nick Clifton
80010e3623 plugins: Add more required build options.
Resolves: #2011163
2021-10-06 13:57:26 +01:00
Nick Clifton
c3dd1ea165 Annocheck: Fix cf-prot test to fail if the CET notes are missing.
Resolves: #1981410
2021-10-05 14:50:02 +01:00
Nick Clifton
5f105fbea6 Annocheck: Add more cases of glibc startup functions.
Resolves: #1981410
2021-10-04 15:53:56 +01:00
Nick Clifton
a988fbe4c9 Add new sources.
Resolves: #1995224
2021-09-16 16:01:30 +01:00
Nick Clifton
40172408af Annocheck: Add linker generated function for ppc64le exceptions.
Resolves: #1981410
2021-08-18 11:29:38 +01:00
Nick Clifton
6a4766a535 Annocheck: Add linker generated function for s390x exceptions.
Resolves: #1981410
2021-08-17 15:29:15 +01:00