weggli
« Back to VersTracker
Description:
Fast and robust semantic search tool for C and C++ codebases
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c cpp static-analysis security developer-tools
Install: brew install weggli
About:
Weggli is a fast, syntax-aware search tool designed for large C and C++ codebases. It uses a custom parser to understand code structure, enabling precise pattern matching without the fragility of regex. This allows developers to quickly find specific code patterns and potential vulnerabilities across millions of lines of code.
Key Features:
  • Fast and robust parsing of C/C++ code
  • Pattern matching using code structure, not just text
  • Simple and intuitive query syntax
  • Designed for searching large codebases
Use Cases:
  • Auditing large C/C++ projects for security vulnerabilities
  • Finding specific code patterns or anti-patterns
  • Refactoring and codebase analysis
Alternatives:
  • grep – Weggli is syntax-aware and more robust for code search, whereas grep is a general-purpose text search tool.
  • semgrep – Weggli is focused on speed and simplicity for C/C++, while semgrep is a more comprehensive, multi-language static analysis tool.
Version History
Detected Version Rev Change Commit