CLAMBC(1)
π CLAMBC(1) β the Clam AntiVirus bestie files π
okay so bestie, welcome to clambc, aka the Bytecode Analysis and Testing Tool from the Clam AntiVirus fam. she's the girl who lets you poke at bytecode signatures and see how they perform. let's get into it π
β¨ SYNOPSIS β¨
clambc <file> [function] [param1 ...]
π¦ DESCRIPTION π¦
so. bytecode signatures are a platform independent executable plugin format that extend ClamAV's malware detection capabilities. that's the whole vibe β little plugins that make ClamAV see more malware. π«Ά
this tool exists for signature authors and ClamAV developers to test bytecode signatures and to test bytecode runtime performance. iykyk.
Caution: You should NEVER run bytecode signatures from untrusted sources. Doing so may result in arbitrary code execution. not me being dramatic, that is literally what the manpage says. do not do it. periodt. π
πΈ OPTIONS πΈ
--help,-hβ Show help. your girl's got your back when you forget stuff π--version,-Vβ Show version. just the numbers, no notes β¨--debugβ Show debug. all the messy details, out loud π--force-interpreter,-fβ Force using the interpreter instead of the JIT. no speedrunning today, we're doing it the long way π--trust-bytecode,-tβ Trust loaded bytecode (default yes). bestie trust is default-on, but you can turn it off if you're feeling suspicious π--info,-iβ Print information about bytecode. gossip about the bytecode, basically π--printsrc,-pβ Print bytecode source. show me the receipts π--printbcir,-cβ Print IR of bytecode signature. the intermediate representation, lowkey the main character π§--input,-rβ Input file to run the bytecode on. gotta feed her something π--trace <level>,-Tβ Set bytecode trace level0..7(default7). yes, 0 through 7, and yes, the default is the max. she's chatty fr fr π₯--no-trace-showsourceβ Don't show source line during tracing. for when the tracing is giving too much π--statistics=bytecodeβ Collect and print bytecode execution statistics. numbers, we love numbers βfileβ File to test. the whole point, honestly π
π CREDITS π
Please check the full documentation for credits. they said it, not me π«Ά
π AUTHOR π
Tomasz Kojm <tkojm@clamav.net>, Kevin Lin <klin@sourcefire.com>
π SEE ALSO π
and that's the whole page, bestie!! this was ClamAV 1.5.4, dated September 2014, and it slayed in the most CLAMBC(1) way possible. go forth and test responsibly (and never ever run untrusted bytecode, i'm begging) π
β¨π
π¦ where this page comes from
- arch rolling: clamav 1.5.4-1 Β· GPL-2.0-only
- nixpkgs unstable: clamav 1.5.4
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: clamav 1.5.4-160000.1.1 Β· GPL-2.0-only
- ubuntu jammy: clamav 1.5.4+dfsg-0ubuntu0.22.04.1 Β· GPL-2.0-only
- ubuntu noble: clamav 1.5.4+dfsg-0ubuntu0.24.04.1 Β· GPL-2.0-only
- ubuntu resolute: clamav 1.5.4+dfsg-0ubuntu0.26.04.1 Β· GPL-2.0-only
- ubuntu stonking: clamav 1.5.4+dfsg-0ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms