abnfgen
« Back to VersTracker
Description:
Quickly generate random documents that match an ABFN grammar
Type: Formula  |  Latest Version: 0.21@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing abnf fuzzing cli development
Install: brew install abnfgen
About:
abnfgen is a command-line utility that generates random text strings based on a given Augmented Backus-Naur Form (ABNF) grammar definition. It is designed for robustness testing of parsers, protocol implementations, and text processing tools by creating valid and edge-case inputs. This helps developers identify parsing errors and boundary conditions in their software.
Key Features:
  • Generates random documents from ABNF grammar specifications
  • Supports recursive and complex grammar structures
  • Useful for fuzzing and stress-testing parsers
  • Lightweight and fast command-line interface
Use Cases:
  • Fuzzing network protocol parsers for security vulnerabilities
  • Generating test data for custom file format readers
  • Validating the robustness of ABNF-compliant text processors
Alternatives:
  • yacc/bison – Generators for LALR parsers, whereas abnfgen focuses on generating input data rather than parsing logic.
  • Python 'hypothesis' library – A property-based testing framework that can generate data, but abnfgen is specialized for ABNF grammars specifically.
License: LicenseRef-Homebrew-cannot-represent
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 9:12am 0 VERSION_BUMP 6101f04d