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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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