The Safe C Library provides bound checking memory and string functions per ISO/IEC TR24731. These functions are alternative functions to the existing standard C library that promote safer,
more secure programming.

The ISO/IEC Programming languages — C spec, C11, now includes the bounded APIs in Appendix K, "Bounds-checking interfaces".

This latest upload supports building static library, a shared library and a linux kernel module.

Project Activity

See All Activity >

License

MIT License

Follow Safe C Library

Safe C Library Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
1
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • It's comparable to the Windows versions for when you want to have a portable solution. In a lot of cases it appears to do even more and better checks than what Windows does internally. Only Linux safe C lib for strings available AFAIK. Note Windows uses standard errno, mainly EINVAL and ERANGE, while this lib uses custom/additional ones. Easy enough to fix if you want them to be the same. I only wish it had a "vsnprintf_s" (as a base "sprintf_s", "snprintf_s", etc.) already built in. Micro$oft's internal custom version not only has argument and buffer size validation, it also validates the format. Note understood this is meant to be ISO/IEC TR24731 compliant, the Windows versions are a bit different..
  • This is by far... THE BEST SOFTWARE I HAVE EVER USED!!!!! I love using it so much! It incredibly drastically improves my experience with c programming. Please keep up with the awesome updates to this awesome library, ill be checking daily.
  • download -1
Read more reviews >

Additional Project Details

Intended Audience

Developers

Programming Language

C

Related Categories

C Security Software, C Algorithms, C Scientific Engineering

Registered

2009-02-14