forked from AFLplusplus/LibAFL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
62 lines (52 loc) · 2.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "libafl_qemu"
version.workspace = true
authors = ["Andrea Fioraldi <[email protected]>"]
description = "QEMU user backend library for LibAFL"
documentation = "https://docs.rs/libafl_qemu"
repository = "https://github.com/AFLplusplus/LibAFL/"
readme = "../README.md"
license = "MIT OR Apache-2.0"
keywords = ["fuzzing", "qemu", "instrumentation"]
edition = "2021"
categories = ["development-tools::testing", "emulators", "embedded", "os", "no-std"]
[features]
default = ["fork"]
python = ["pyo3", "pyo3-build-config"]
fork = ["libafl/fork"]
# The following architecture features are mutually exclusive.
x86_64 = ["libafl_qemu_sys/x86_64"] # build qemu for x86_64 (default)
i386 = ["libafl_qemu_sys/i386"] # build qemu for i386
arm = ["libafl_qemu_sys/arm"] # build qemu for arm
aarch64 = ["libafl_qemu_sys/aarch64"] # build qemu for aarch64
mips = ["libafl_qemu_sys/mips"] # build qemu for mips (el, use with the 'be' feature of mips be)
be = ["libafl_qemu_sys/be"]
usermode = ["libafl_qemu_sys/usermode"]
systemmode = ["libafl_qemu_sys/systemmode"]
slirp = [ "systemmode", "libafl_qemu_sys/slirp" ] # build qemu with host libslirp (for user networking)
clippy = [] # special feature for clippy, don't use in normal projects§
[dependencies]
libafl = { path = "../libafl", version = "0.9.0", default-features = false, features = ["std", "derive", "llmp_compression"] }
libafl_targets = { path = "../libafl_targets", version = "0.9.0" }
libafl_qemu_sys = { path = "./libafl_qemu_sys", version = "0.9.0" }
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
hashbrown = { version = "0.13", features = ["serde"] } # A faster hashmap, nostd compatible
num-traits = "0.2"
num_enum = "0.5.7"
goblin = "0.6"
libc = "0.2"
strum = "0.24"
strum_macros = "0.24"
syscall-numbers = "3.0"
meminterval = "0.3"
thread_local = "1.1.4"
capstone = "0.11.0"
#pyo3 = { version = "0.15", features = ["extension-module"], optional = true }
pyo3 = { version = "0.17", features = ["pyproto"], optional = true }
rangemap = "1.0"
log = "0.4.17"
[build-dependencies]
pyo3-build-config = { version = "0.15", optional = true }
[lib]
name = "libafl_qemu"
crate-type = ["cdylib", "rlib"]