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
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud Icon
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud

Get back to your application and leave the database to us. Cloud SQL automatically handles backups, replication, and scaling.

Cloud SQL is a fully managed relational database for MySQL, PostgreSQL, and SQL Server. We handle patching, backups, replication, encryption, and failover—so you can focus on your app. Migrate from on-prem or other clouds with free Database Migration Service. IDC found customers achieved 246% ROI. New customers get $300 in credits plus a 30-day free trial.
Try Cloud SQL 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