bstring
« Back to VersTracker
Description:
Fork of Paul Hsieh's Better String Library
Type: Formula  |  Latest Version: 1.0.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-library string-manipulation security memory-safety development
Install: brew install bstring
About:
bstring is a robust C library that provides a comprehensive suite of safe string handling functions designed to prevent buffer overflows and memory errors. It offers a superior alternative to standard C string functions by enforcing bounds checking and providing extensive manipulation capabilities. This library is ideal for developers writing secure and reliable C applications where memory safety is critical.
Key Features:
  • Bounds-checked string operations
  • Memory allocation management
  • Cross-platform compatibility
  • Comprehensive API for string manipulation
Use Cases:
  • Developing secure C applications
  • Replacing unsafe standard library functions
  • Embedded systems programming
Alternatives:
  • glib – Glib is a much larger general-purpose library, whereas bstring is a focused, lightweight string handling utility.
  • Safe C Library – Offers similar safety features but bstring is known for its specific Better String API design.
License: BSD-3-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 11, 2025 11:25am 0 VERSION_BUMP e704ace6