ForbCheck is a powerful security and audit utility for C/C++ projects. It ensures codebase integrity by detecting unauthorized function calls through three specialized analysis modes.
To install or update ForbCheck, run the following command in your terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Mrdolls/forb/refs/heads/main/install.sh)"The default mode. It analyzes symbols extracted directly from your compiled binaries. This is the most reliable way to verify what is actually included in the final executable.
- Instant execution speed.
- Ideal for quick checks after compilation.
- Detects dynamically linked libraries.
This mode scans your source code (.c, .cpp, .h) directly. Essential for surgical audits during the development phase or when binaries are not yet available.
- Pinpoint accuracy (filename and line number).
- Smart stripping of comments and strings to eliminate false positives.
- Recursive scanning across all project directories.
New in v1.16.0. A high-performance Interactive TUI that maps your entire project structure.
- Classification: Automatically separates internal project functions from external system calls.
- Deep Macro Scan: Recursive analysis of
#defineto find hidden calls and Header Guards. - Navigation: Fluid Cyan/Green interface to explore symbols and their call contexts.
Analyze your compiled binary against the authorized function list.
forbScan your .c files directly to find forbidden functions with exact line numbers.
forb -sOpen the interactive dashboard to visualize your project's function and macro mapping.
forb -AFor advanced settings, custom presets, and CI/CD integration, check our detailed guides:
Created by Mrdolls — 2026


