Example Usage
usage: codasm.py [-h] -i INPUT [-oa OUT_ASM] [-ob OUT_BIN] [-oc OUT_C] [-op OUT_P] [--rng RNG] [-vbmin VAL_BYTES_MIN] [-vbmax VAL_BYTES_MAX] [-vbch VAL_BYTES_CHANCE] [-v]
CODASM encoding utility
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Path to the input file to encode as ASM/binary instructions
-oa OUT_ASM, --out-asm OUT_ASM
Path to write the generated ASM instructions to
-ob OUT_BIN, --out-bin OUT_BIN
Path to write the generated binary instructions to
-oc OUT_C, --out-c OUT_C
Path to write the generated CODASM decoder to
-op OUT_P, --out-p OUT_P
Path to write the embedded payload to
--rng RNG Seed for randomization (xor-key, order of payload instructions, order of decoding operations)
-vbmin VAL_BYTES_MIN, --val-bytes-min VAL_BYTES_MIN
Minimum number of bytes to encode into a single method (default 64)
-vbmax VAL_BYTES_MAX, --val-bytes-max VAL_BYTES_MAX
Maximum number of bytes to encode into a single method (default 256)
-vbch VAL_BYTES_