Cargo Features

libafl_qemu_sys has no features set by default.

libafl_qemu_sys = { version = "0.13.0", features = ["x86_64", "i386", "arm", "aarch64", "mips", "ppc", "hexagon", "usermode", "systemmode", "python", "slirp", "shared", "clippy", "paranoid_debug"] }

The following architecture features are mutually exclusive.
build qemu for x86_64 (default)


build qemu for i386


build qemu for arm


build qemu for aarch64


build qemu for mips (el, use with the 'be' feature of mips be)


build qemu for powerpc


build qemu for hexagon

be usermode
systemmode slirp?
python = pyo3, pyo3-build-config
slirp build = systemmode

build qemu with host libslirp (for user networking)

Enables slirp of libafl_qemu_build

shared build

Enables shared of libafl_qemu_build

clippy build

special feature for clippy, don't use in normal projects

Enables clippy of libafl_qemu_build

paranoid_debug build

Will perform as many checks as possible. The target will be greatly slowed down.

Enables paranoid_debug of libafl_qemu_build

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

pyo3 python?

Enables pyo3 ^0.18

pyo3-build-config build python?