Machine-oriented reference for the key=value configuration file loaded with -c / --config. For operator workflow and precedence, see Guide · Configuration.

Parser behaviour
  • Format: one key=value per line; whitespace around key/value trimmed.
  • Comments: lines starting with # (after trim) are ignored.
  • Unknown keys: silently ignored (forward-compatible).
  • Booleans: true / 1 = true; anything else for those keys = false.
  • Implementation: Config::from_file in src/common/config.rs.

Load

nexsiz -c config/example.conf
nexsiz -c /path/to/campaign.conf -v

When -c is parsed, the entire Config is replaced from the file. Place -c early if you also pass flags that should apply after the file (flags after -c continue to update fields).

Shipped example

Repository path: config/example.conf.

# Nexsiz example configuration
host=127.0.0.1
port=21
protocol=tcp
model=ftp
timeout_ms=400
max_reuse_messages=24

integrity=default
oracle=default
encryptor=null

workers=4
connection_reuse=true

seed_dir=seeds/ftp
output_dir=output/ftp
verbose=true

# max_execs=100000
# rng_seed=42
# target_cmd=./target_daemon

Keys by group

Target

KeyDefaultNotes
host127.0.0.1IP address
port80u16
protocoltcplowercased: tcp | udp
timeout_ms500Per-operation timeout
max_reuse_messages32Messages before forced reconnect
target_cmdLocal process for monitor / snapshot

Plugins

KeyAliasesValues
modelprotocol_modelModel name or path ending in .json
integrityintegrity_plugindefault | http | ftp | smtp | binary | binary-le | null
oracleoracle_plugindefault | strict | crash | hang | coverage | differential | sanitizer | diffsan | expanded
encryptorencryptor_pluginnull | xor | chacha20 | tls-record | chacha20+tls | xor+tls
enc_keyencryptor_key, keyKey material string
coveragecoverage_providernull | map | software
coverage_shmshm, shm_idFrida SHM identifier

Execution

KeyDefaultNotes
workers#coresWorker thread count
connection_reusetruetrue/1
snapshotfalsetrue/1
snapshot_backendprocessAlias: snapshot_providernull | process | criu
use_libaflfalseAlias: libafl
rpc_sockAliases: rpc, python_rpc

Campaign paths & limits

KeyDefaultNotes
seed_dirseedsCorpus directory
output_diroutputCampaign output root
max_execsStop after N executions
rng_seedDeterministic RNG
verbosefalsetrue/1

Mutator tuning

KeyDefaultNotes
hierarchical_prob0.15Hierarchy-level mutation probability
field_prob0.70Field-level mutation probability
dict_prob0.25Dictionary mutation probability
template_prob0.12Template splice probability (clamped 0–1)
max_mutations8Max mutations per input

NXS

KeyDefaultNotes
nxs / nxs_setEnables NXS and sets expression
nxs_pathColon-separated extra search paths
nxs_eventscrash,hangComma-separated event list
nxs_cooldown30Alias: nxs_cooldown_secs
nxs_max_per_event00 = unlimited
nxs_max_total00 = unlimited