CSMATCH(1)
β¨ CSMATCH β¨
okay bestie, pull up a chair, because this is the manual page for csmatch (section 1 of the manual, iykyk) π
πΈ NAME πΈ
csmatch β a compiler wrapper that runs the Smatch analyzer in background. yes, in background, she's multitasking, she's the main character π§
π¦ SYNOPSIS π¦
csmatch [--help | --print-path-to-wrap]
π DESCRIPTION π
csmatch is a compiler wrapper that runs Smatch in background. so here's the vibe: you make a symbolic link to csmatch and you name that link whatever your compiler is called (gcc, g++, ...), then you drop it somewhere in your $PATH. that's it, that's the whole trick β¨
The following parameters are given to Smatch by default:
-D_Float128=long double
The following parameters are passed to Smatch from compiler's command line:
-D...-I...-O...-fexceptions-fno-exceptions-include ...-iquote ...-isystem ...-m16-m32-m64-std...
The following file extensions are recognized as C/C++ source files:
cCcccppcxx
If csmatch is installed on system, the following command activates the wrapper:
export PATH="$(csmatch --print-path-to-wrap):$PATH"
not me putting the wrapper's little symlink directory at the front of $PATHβ¦ lowkey that's the whole point though π«Ά
π OPTIONS π
--helpβ Prints basic usage information. she's telling you how to use her, respectfully π--print-path-to-wrapβ Prints path to the directory with symlinks to thecsmatchexecutable. iconic little directory reveal β¨
π EXIT STATUS π
csmatch propagates the exit status returned by the compiler (in case csmatch succeeds to run the compiler). The exit status returned by Smatch does not affect the resulting exit status.
fr fr β Smatch can be having a whole meltdown back there and the exit status will simply not care π
β ENVIRONMENT VARIABLES β
DEBUG_CSMATCHβ If set to a non-empty string,csmatchoutputs the list of parameters given to Smatch to the standard output. she's spilling the tea about what she handed to Smatch πCSMATCH_ADD_OPTSβcsmatchexpects a colon-separated list of Smatch options that should be appended to command line prior to invoking Smatch. The options are appended even if they already appear in the command line and they are always appended at the end of the command line. yes bestie, even if they already appear, and always at the end β no negotiating, no cap π
π BUGS π
Please report bugs and feature requests at https://github.com/csutils/cscppc. be nice, be specific, and give them the receipts π
π AUTHOR π
Written by Kamil Dudka. the legend herself, we stan π«Ά
πΈ COPYING πΈ
Copyright (C) 2013-2022 Red Hat, Inc. Free use of this software is granted under the terms of the GNU General Public License (GPL). See the COPYING file for details.
and that's the whole page, bestie π this was the csmatch manual, dated 06/29/2026, straight from section 1 of the manual β slay, go wrap a compiler, periodt β¨π
π¦ where this page comes from
- epel 10: csmatch 2.2.8-1.el10_3 Β· GPL-3.0-or-later
- epel 9: csmatch 2.2.8-1.el9 Β· GPLv3+
- fedora 43: csmatch 2.2.8-1.fc43 Β· GPL-3.0-or-later
- fedora 44: csmatch 2.2.8-1.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms