clambc(1)

clambc1

Bytecode analysis and testing tool

Usage

clambc <file> [function] [param1 ...]

Overview

Bytecode signatures are a platform independent executable plugin format that extend ClamAV's malware detection capabilities. This tool is provided for signature authors and ClamAV developers to test bytecode signatures and bytecode runtime performance. **Caution**: You should NEVER run bytecode signatures from untrusted sources. Doing so may result in arbitrary code execution.

Options

--help -h

Show help.

--version -V

Show version

--debug

Show debug.

--force-interpreter -f

Force using the interpreter instead of the JIT.

--trust-bytecode -t

Trust loaded bytecode (default yes).

--info -i

Print information about bytecode.

--printsrc -p

Print bytecode source.

--printbcir -c

Print IR of bytecode signature.

--input -r

Input file to run the bytecode on.

--trace <level> -T

Set bytecode trace level 0..7 (default 7).

--no-trace-showsource

Don't show source line during tracing.

--statistics=bytecode

Collect and print bytecode execution statistics.

file

File to test.

Credits

Please check the full documentation for credits.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12–13
  8. Arch

--debug since Debian 7 (Wheezy); --force-interpreter since Debian 7 (Wheezy); --input since Debian 7 (Wheezy); --printbcir since Debian 7 (Wheezy); --statistics since Debian 7 (Wheezy); --trust-bytecode since Debian 7 (Wheezy); -T since Debian 7 (Wheezy); -c since Debian 7 (Wheezy); -f since Debian 7 (Wheezy); -r since Debian 7 (Wheezy); -t since Debian 7 (Wheezy).