devel/safe-iop 0.3.2 DragonFly
Safe integer operation library for C
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD1CLAUSE
- Categories
- devel
- Package size
- 11.0 KiB, 43.1 KiB installed
Description
This library provides a collection of (macro-based) functions for performing safe integer operations across platform and architecture with a straightforward API.
It supports two modes of use: header-only and linked dynamic library. The linked, dynamic library supplies a format-string based interface which is in pre-alpha. The header-only mode supplies integer and sign overflow and underflow pre-condition checks using checks derived from the CERT secure coding guide. The checks do not rely on twos complement arithmetic and should not at any point perform an arithmetic operations that may overflow. It also performs basic type agreement checks to ensure that the macros are being used (somewhat) correctly.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/safe-iop | 0.3.2 |
| FreeBSD | devel/safe-iop | 0.3.2 |
| HardenedBSD | devel/safe-iop | 0.3.2 |
| GhostBSD | devel/safe-iop | 0.3.2 |
Install
Binary package:
pkg install safe-iop
From DPorts:
cd /usr/dports/devel/safe-iop && make install clean
Dependencies
No port depends on this one.