1
Fork 0
mirror of https://sourceware.org/git/annobin.git synced 2026-06-10 13:59:26 +00:00
No description
  • C 37.3%
  • Shell 33.8%
  • TeX 14%
  • C++ 7.4%
  • Makefile 5.4%
  • Other 2%
Find a file
2026-06-09 12:26:40 +01:00
.vscode 10.84:clang-plugin: Fix for building with Clang-15 2022-09-20 12:39:51 +01:00
annocheck On Debian and Ubuntu the clang and llvm development headers aren't on the standard include path. Add -I$(llvm-config --includedir) to CPPFLAGS to find them. 2026-06-08 09:47:52 +01:00
clang-plugin Tidy the configure.ac file. 2026-06-08 12:28:14 +01:00
config Remove debugging now that ubuntu builds are working 2026-06-09 12:26:40 +01:00
doc Add support for configuring with --with-llvm-plugin=[no|yes|auto]. 2026-06-08 11:47:09 +01:00
gcc-plugin Still trying to fix ubunto riscv testsuite failures 2026-06-09 10:13:06 +01:00
llvm-plugin Tidy the configure.ac file. 2026-06-08 12:28:14 +01:00
scripts strip clause files from release tarball 2026-04-28 09:42:49 +01:00
tests Remove debugging now that ubuntu builds are working 2026-06-09 12:26:40 +01:00
.clang-tidy suppress a spurious warning from clang-tidy 2026-05-28 09:09:42 +01:00
.cppcheck-suppress Add support for running clang-tidy on the C++ files via the "make lint" target. 2026-04-16 16:45:20 +01:00
.gitignore Used Clause to fix 'lint' errors 2025-11-04 13:11:47 +00:00
aclocal.m4 12.99: Annocheck: Autodetect glibc 2.39 maths libraries 2025-08-06 10:39:21 +01:00
annobin-common.cc Remove static buffer use in environment parsing code 2026-05-12 15:42:47 +01:00
annobin-common.h Remove static buffer use in environment parsing code 2026-05-12 15:42:47 +01:00
annobin-global.h.in 13.17: Annocheck: Add exceptions for kernel bootstrap tools 2026-05-21 09:01:49 +01:00
AnnobinLLVMCommon.h 1. Move add_line_to_note() from clang-plugin and llvm-plugin to AnnobinLLVMCommon.h and rename to addLineToNote(). 2026-06-01 12:00:57 +01:00
ARCHITECTURE.md Add an ARCHITECTURE.md file for future maintainers 2026-05-12 15:26:50 +01:00
configure Tidy the configure.ac file. 2026-06-08 12:28:14 +01:00
configure.ac Tidy the configure.ac file. 2026-06-08 12:28:14 +01:00
CONTRIBUTING 13.06: Annocheck: Add more files to the gcc heuristic list. 2026-02-23 12:58:26 +00:00
COPYING3 Initial commit of annobin sources 2017-11-17 09:49:09 +00:00
LICENSE Synchronise with internal repository 2018-01-26 12:05:08 +00:00
Makefile.am Deduplicate code from clang-plugin and llvm-plugin by creating function generateStartEndSymbols in AnnobinLLVMCommon.h. 2026-06-01 11:48:16 +01:00
Makefile.in 1. Move add_line_to_note() from clang-plugin and llvm-plugin to AnnobinLLVMCommon.h and rename to addLineToNote(). 2026-06-01 12:00:57 +01:00
meson.build 13.20: Annocheck: Add support for ZIP filea and TARBALLS. 2026-06-03 14:57:44 +01:00
meson_options.txt 13.06: Annocheck: Add more files to the gcc heuristic list. 2026-02-23 12:58:26 +00:00
README.md Update SECURITY.md 2026-06-03 13:56:43 +01:00
regenerate-configure-and-makefiles.sh annocheck: Fix compile time warnings reported when building with Clang. 2025-07-07 10:31:06 +01:00
SECURITY.md Update SECURITY.md 2026-06-05 10:39:34 +01:00

Annobin - Binary Annotation and Security Checking

These are the sources for the annobin project:

https://sourceware.org/annobin/

The project consists of two main parts:

  1. A security checker program - annocheck - which examines binaries and reports potential security problems.

  2. A set of plugins for GCC, Clang and LLVM that records security information for use by annocheck.

In addition there is a testsuite and documentation too.

Quick Start

Annobin can be built in place, but it is recommended to build in a separate directory tree from the sources.

Building with Autotools

cd <somewhere>
mkdir builddir
cd builddir
<path-to-sources>/configure --quiet
make
make check
sudo make install

Building with Meson

cd <somewhere>
meson setup builddir <path-to-sources>
meson compile -C builddir
meson test -C builddir
sudo meson install -C builddir

Requirements

  • GCC >= 9.0 (with plugin development headers)
  • elfutils and libdw development libraries
  • For Clang plugin: Clang >= 11, LLVM development headers
  • For Meson: Meson >= 0.59, Ninja
  • For Autotools: Autoconf, Automake, Libtool

Documentation

The project includes documentation in the doc/ subdirectory. This compiles to both a PDF format file and a hierarchy of HTML files. The HTML version can be browsed from this address:

https://sourceware.org/annobin/annobin.html/index.html

Code of Conduct

The project does not have its own Code of Conduct, but the guidelines found in the Binutils Code of Conduct should be considered to apply to this project as well:

https://sourceware.org/binutils/code-of-conduct/Code-of-Conduct.html

Security

A description of the project's position on security related bug reports can be found in the SECURITY.md document.