Watch
1
Fork
You've already forked annobin-mirror
0
mirror of https://sourceware.org/git/annobin.git synced 2026-10-06 17:12:50 +00:00
No description
  • C 37.3%
  • Shell 34%
  • TeX 13.9%
  • C++ 7.3%
  • Makefile 5.4%
  • Other 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-29 08:18:54 +01:00
.vscode 10.84:clang-plugin: Fix for building with Clang-15 2022-09-20 12:39:51 +01:00
annocheck Add another cast for annocheck version display 2026-09-15 14:37:11 +01:00
clang-plugin Clang/LLVM plugins: Do not use the -fsanitize=safe-stack option - it does not work in Clang 23+ 2026-09-29 08:18:54 +01:00
config Remove debugging now that ubuntu builds are working 2026-06-09 12:26:40 +01:00
doc Fix compile time warning with annocheck version code 2026-09-14 13:15:02 +01:00
gcc-plugin Fix compile time warning messages in ppc64 and aarch64 gcc plugins 2026-09-22 12:20:56 +01:00
llvm-plugin Clang/LLVM plugins: Do not use the -fsanitize=safe-stack option - it does not work in Clang 23+ 2026-09-29 08:18:54 +01:00
scripts strip clause files from release tarball 2026-04-28 09:42:49 +01:00
tests Fix compile time warning with annocheck version code 2026-09-14 13:15:02 +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 Ignore .vscode directories 2026-06-12 09:00:05 +01:00
aclocal.m4 Fix compile time warning with annocheck version code 2026-09-14 13:15:02 +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 Fix compile time warning messages in ppc64 and aarch64 gcc plugins 2026-09-22 12:20:56 +01:00
configure.ac Fix compiling the llvm plugin with clang 23+ 2026-09-21 13:37:20 +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 Fix compile time warning with annocheck version code 2026-09-14 13:15:02 +01:00
meson.build Fix compiling the llvm plugin with clang 23+ 2026-09-21 13:37:20 +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.