BSD Ports

devel/safe-iop 0.3.2 FreeBSD

Safe integer operation library for C

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD1CLAUSE
Categories
devel
Package size
11.7 KiB, 43.0 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

SystemPortVersion
FreeBSDdevel/safe-iop0.3.2
DragonFlydevel/safe-iop0.3.2
HardenedBSDdevel/safe-iop0.3.2
GhostBSDdevel/safe-iop0.3.2

Install

Binary package:

pkg install safe-iop

From the ports tree:

cd /usr/ports/devel/safe-iop/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	safe-iop>0:devel/safe-iop

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.20.3.20.3.20.3.20.3.2
FreeBSD:14:quarterly0.3.20.3.2n/a0.3.20.3.2
FreeBSD:15:latest0.3.20.3.2n/a0.3.20.3.2
FreeBSD:15:quarterly0.3.20.3.2n/an/an/a
FreeBSD:16:latest0.3.20.3.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Files

distinfo 1
FileSizeSHA256
ports1-safe-iop-2b20d77fb9f22b1ec9e2b3d2eb53c532596d3203_GL0.tar.gz12428bfe8453159c04e3aa6ad107407212a671d20693dd9592a1b88a54e6e9fc019f5

Commit history 0

No commits in the history this site was built from.