18 unstable releases (8 breaking)

new 0.14.0 Nov 13, 2024
0.13.2 Jul 31, 2024
0.13.1 Jun 30, 2024
0.11.2 Dec 21, 2023
0.6.1 Aug 23, 2021

#152 in Emulators

Download history 139/week @ 2024-07-29 8/week @ 2024-08-05 9/week @ 2024-08-12 5/week @ 2024-08-26 24/week @ 2024-09-16 54/week @ 2024-09-23 7/week @ 2024-09-30 5/week @ 2024-10-14 8/week @ 2024-11-04 119/week @ 2024-11-11

128 downloads per month
Used in libafl_sugar

MIT/Apache

4MB
97K SLoC

LibAFL QEMU

LibAFL QEMU is a fuzzing-oriented emulation library that wraps QEMU with a rich API in Rust.

It comes in two variants, usermode to fuzz Linux ELFs userspace binaries and systemmode, to fuzz arbitrary operating systems with QEMU TCG.

Cite

If you use LibAFL QEMU for your academic work, consider citing the follwing paper:

@InProceedings{libaflqemu:bar24,
  title        = {{LibAFL QEMU: A Library for Fuzzing-oriented Emulation}},
  author       = {Romain Malmain and Andrea Fioraldi and Aurélien Francillon},
  year         = {2024},
  series       = {BAR 24},
  month        = {March},
  booktitle    = {Workshop on Binary Analysis Research (colocated with NDSS Symposium)},
  location     = {San Diego (USA)},
  keywords     = {fuzzing, emulation},
}

lib.rs:

Welcome to LibAFL QEMU

Warning: The documentation is built by default for x86_64 in usermode. To access the documentation of other architectures or systemmode, the documentation must be rebuilt with the right features.

Dependencies

~47–76MB
~1.5M SLoC