首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 安全整数运算库

安全整数运算库

资 源 简 介

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. (Note, if you are using a version older than 0.3.1, please upgrade. 0.3.0 (and possibly earlier versions) will fail unnecessarily on negative addition cases.)

文 件 列 表

safe-iop-0.3.1
examples
include
Makefile
README
src

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP