scan-build

Command-line utility to run a static analyzer over a codebase as part of performing a regular build.

TLDR

Build and analyze the project in the current directory

$ scan-build [make]
copy


Run a command and pass all subsequent options to it
$ scan-build [command] [command_arguments]
copy


Display help
$ scan-build
copy

Copied to clipboard