No description
Find a file
Greenbone Bot 6a6c94a4ba Automatic adjustments after release [skip ci]
* Update to version 22.41.1-dev1
2026-04-14 07:34:55 +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 Build(deps): Bump codecov/codecov-action in the github-actions group 2026-03-31 08:46:26 +02:00
agent_controller Fix: close a leak in agent_controller_parse_scan_agent_config 2026-03-15 09:55:22 +01:00
base apply suggestions 2026-03-23 11:26:54 +01:00
boreas fix leak and close socket 2026-03-23 11:26:54 +01:00
cmake Change: add directive ENABLE_ADDRESS_SANITIZER for tests 2025-12-18 08:03:11 +01:00
container_image_scanner Fix failing test case and code formatting. 2026-04-14 09:10:14 +02:00
cyberark Fix: Add missing slash in CyberArk request URLs 2026-02-06 09:33:09 +01:00
doc misc: Reformat all CMake files with gersemi 2025-04-11 15:59:16 +02:00
gmp test: add unit tests for extended authenticate info flow 2026-03-12 16:14:31 +01:00
http docs: update gvm_http_request_unix parameter comment 2026-03-10 13:45:31 +01:00
http_scanner Fix failing test case and code formatting. 2026-04-14 09:10:14 +02:00
openvasd Change: make the header guards all the same format 2026-01-26 07:49:41 +01:00
osp Change: make the header guards all the same format 2026-01-26 07:49:41 +01:00
security_intelligence test: fix leaks in security intelligence tests 2026-03-27 10:52:40 +01:00
tests misc: Reformat all CMake files with gersemi 2025-04-11 15:59:16 +02:00
util Fix: add const to tmp in parse_port_of_addr 2026-02-20 13:48: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-04-14 07:34:55 +00:00
COPYING misc: Update GPLv2+ license text 2025-06-26 10:46:00 +02:00
INSTALL.md misc: Require CMake >= 3.18 and update copyright year in README 2026-02-03 11:06:17 +01:00
README.md misc: Require CMake >= 3.18 and update copyright year in README 2026-02-03 11:06:17 +01: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-2026 Greenbone AG

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