1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/devel/safe-iop/pkg-descr
Eitan Adler d1f32a3e5d Style: tab -> space.
Most contributors copy an existing port when writing their own so reduce the number of bad examples in the tree.
2013-03-28 16:28:59 +00:00

16 lines
801 B
Plaintext

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.
Author: Will Drewry <redpig@dataspill.org>
WWW: http://code.google.com/p/safe-iop/