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

Compare Cell Phone Plans at Wirefly Compare Cell Phone Plans at Wirefly Icon
Compare Cell Phone Plans at Wirefly Icon

You’re probably paying too much for cell phone service. Wirefly compares hundreds of plans to help you save.

You’re probably paying too much for cell phone service. Wirefly compares hundreds of plans to help you save. Enter what you need (minutes, data, texts) into Wirefly’s innovative plan comparison tools and see your savings instantly.

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

Registered

2009-02-14