QEMU for Rust, and Rust for QEMU!
This repository provides several QEMU-related crates:
- qemu: QEMU binary installer
- qemu-plugin-sys: Low level bindings to the QEMU plugin API
- qemu-plugin: High level bindings to the QEMU plugin API
The crates work together to enable building QEMU utilities in Rust and running QEMU from Rust code in a machine-specified way.
To see what the crate can do, trace the execution (including syscalls, memory accesses, and instructions) of a program like:
cargo run -r --bin tracer -- -a /bin/ls -- -lah