Cargo Features
[dependencies]
libafl_qemu_sys = { version = "0.14.0", default-features = false, features = ["x86_64", "i386", "arm", "aarch64", "mips", "ppc", "hexagon", "riscv32", "riscv64", "be", "usermode", "systemmode", "python", "slirp", "shared", "clippy", "paranoid_debug"] }
- default = usermode, x86_64
-
These default features are set whenever
libafl_qemu_sys
is added without
somewhere in the dependency tree.default-features = false - x86_64 default
-
The following architecture features are mutually exclusive.
build qemu for x86_64 - i386
-
build qemu for i386
- arm
-
build qemu for arm
- aarch64
-
build qemu for aarch64
- mips
-
build qemu for mips (el, use with the 'be' feature of mips be)
- ppc
-
build qemu for powerpc
- hexagon
-
build qemu for hexagon
- riscv32
-
build qemu for riscv 32bit
- riscv64
-
build qemu for riscv 64bit
- be
- usermode default
- systemmode slirp?
- python = pyo3, pyo3-build-config
- slirp build = systemmode
-
build qemu with host libslirp (for user networking)
Enables slirp of libafl_qemu_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.22.3
- pyo3-build-config build python?
-
Enables pyo3-build-config ^0.22.3