No description
Find a file
Greenbone Bot ad9edcdf2e Automatic adjustments after release [skip ci]
* Update to version 22.35.4-dev1
2026-01-21 09:16:28 +00:00
.devcontainer Fix: Install 'libcgreen1-dev' for devcontainer 2025-11-17 09:24:26 +01:00
.docker Change: Rename OPENVASD build flag to ENABLE_OPENVASD 2025-11-27 16:00:19 +01:00
.github Update dependencies 2026-01-16 09:49:43 +01:00
agent_controller Add: Parse agent_update_available and updater_update_available 2026-01-21 10:12:47 +01:00
base Docs: make space after @return consistent 2025-12-25 12:16:37 +01:00
boreas Docs: improve spacing in boreas 2025-12-25 12:16:37 +01:00
cmake Change: add directive ENABLE_ADDRESS_SANITIZER for tests 2025-12-18 08:03:11 +01:00
container_image_scanner Change: Support excluded images in OCI image targets 2026-01-14 12:42:48 +01:00
cyberark Change: Escape query parameters when retrieving credentials. 2025-11-21 10:49:20 +01:00
doc misc: Reformat all CMake files with gersemi 2025-04-11 15:59:16 +02:00
gmp Improve names of GMP tests 2025-10-23 12:48:55 +02:00
http Fix formatting issues 2025-11-05 11:05:13 +01:00
http_scanner Change: Include excluded hosts in progress calculation 2026-01-21 08:04:08 +01:00
openvasd Docs: make space after @return consistent 2025-12-25 12:16:37 +01:00
osp Docs: make space after @return consistent 2025-12-25 12:16:37 +01:00
tests misc: Reformat all CMake files with gersemi 2025-04-11 15:59:16 +02:00
util Docs: clean up some comment closing 2025-12-25 12:16:37 +01:00
.clang-format Add clang-format minimum version 2019-05-27 13:31:40 +02:00
.codecov.yml Disable CodeCov Bot commenting. 2019-01-31 11:51:59 +01:00
.dockerignore CI: Implement a new release 2023-04-18 15:46:22 +02:00
.gcovr.cfg Fix: Ignore tests themselves for coverage 2025-11-17 12:13:45 +01:00
.gersemirc ci: Add workflow for checking the CMake file format 2025-04-11 15:59:16 +02:00
.gitignore Ignore vscode settings from git 2025-01-20 14:54:27 +01:00
.mergify.yml Use correct labels for mergify.yaml ... 2021-10-15 17:27:05 +02:00
cliff.toml misc: Improve Release Changelog Generation 2025-03-14 08:55:50 +01:00
CMakeLists.txt Automatic adjustments after release [skip ci] 2026-01-21 09:16:28 +00:00
COPYING misc: Update GPLv2+ license text 2025-06-26 10:46:00 +02:00
INSTALL.md Note libxcrypt dependency in install instructions 2026-01-20 09:10:02 +01:00
README.md Update README 2025-05-27 08:38:10 +02:00
VERSION.in Starting module "gvm-libs". 2016-12-04 09:42:22 +00:00

Greenbone Logo

gvm-libs

GitHub releases Build and test C codecov

This is the libraries module for the Greenbone Community Edition.

It is used for the Greenbone Enterprise appliances and provides various functionalities to support the integrated service daemons.

Releases

All release files are signed with the Greenbone Community Feed integrity key. This gpg key can be downloaded at https://www.greenbone.net/GBCommunitySigningKey.asc and the fingerprint is 8AE4 BE42 9B60 A59B 311C 2E73 9823 FAA6 0ED1 E580.

Installation

This module can be configured, built and installed with following commands:

cmake .
make install

For detailed installation requirements and instructions, please see the file INSTALL.md.

If you are not familiar or comfortable building from source code, we recommend that you use the Greenbone Security Manager TRIAL (GSM TRIAL), a prepared virtual machine with a readily available setup. Information regarding the virtual machine is available at https://www.greenbone.net/en/testnow.

Usage

The gvm-libs module consists of the following libraries:

  • base: All basic modules which require only the glib library as a dependency.

  • util: All modules that require more than the glib library as dependency.

  • gmp: API support for the Greenbone Management Protocol (GMP).

  • osp: API support for the Open Scanner Protocol (OSP).

For more information on using the functionality provided by the gvm-libs module please refer to the source code documentation.

Support

For any question on the usage of gvm-libs please use the Greenbone Community Portal. If you found a problem with the software, please create an issue on GitHub. If you are a Greenbone customer you may alternatively or additionally forward your issue to the Greenbone Support Portal.

Maintainer

This project is maintained by Greenbone AG.

Contributing

Your contributions are highly appreciated. Please create a pull request on GitHub. Bigger changes need to be discussed with the development team via the issues section at github first.

Before creating a pull request, it is recommended to check the formatting for source code and cmake files.

Code style and formatting

All C source and header files are formatted using clang-format. To install clang-format on a Debian based system the following command can be used:

sudo apt install clang-format

To format all C source and header files run the command:

make format

This reformats the new code to ensure that it follows the code style and formatting guidelines.

CMake formatting

All CMake files are formatted using gersemi. To install gersemi on a Debian based system the following commands can be used:

sudo apt install pipx
pipx install gersemi

To format all CMake files run the command:

gersemi -i cmake .

Static code analysis with the Clang Static Analyzer

If you want to use the Clang Static Analyzer to do a static code analysis, you can do so by prefixing the configuration and build commands with scan-build:

scan-build cmake ..
scan-build make

The tool will provide a hint on how to launch a web browser with the results.

It is recommended to do this analysis in a separate, empty build directory and to empty the build directory before scan-build call.

License

Copyright (C) 2009-2025 Greenbone AG

Licensed under the GNU General Public License v2.0 or later.