weggli

Fast and robust semantic search tool for C and C++ codebases

brewmacoslinux
Try with needOr install directly
Source

About

Fast and robust semantic search tool for C and C++ codebases

Commands

weggli

Examples

Search for function calls with specific patterns$ weggli 'malloc($size)' /path/to/codebase
Find potential buffer overflow vulnerabilities$ weggli 'strcpy($dst, $src)' /path/to/codebase
Search for specific variable assignments with regex$ weggli 'int $var = _; if ($var < 10)' /path/to/codebase