AFLplusplus / AFLplusplus/LibAFL

qemu: Cargo feature to support `virtfs`

オープン
#3,824 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Rust
スター
2.6k
フォーク
481
平均マージ
2日 30分
マージ済み PR(30日)
16

説明

**Is your feature request related to a problem? Please describe.**
I want to fuzz a Linux kernel guest with an injected user-mode executable. I want to inject the executable at runtime, not as part of the kernel build.

**Describe the solution you'd like**
One likely route would be QEMU's `-virtfs` flag. However, this is disabled by LibAFL here:

https://github.com/AFLplusplus/LibAFL/blob/b32557c8ae7e2300657de06382f2761f831c1963/crates/libafl_qemu/libafl_qemu_build/src/build.rs#L210

LibAFL-QEMU already has a Cargo feature for enabling QEMU's `slirp`:

https://github.com/AFLplusplus/LibAFL/blob/b32557c8ae7e2300657de06382f2761f831c1963/crates/libafl_qemu/libafl_qemu_build/Cargo.toml#L28

I would like something similar for `virtfs`. I'm happy to implement if this sounds agreeable.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。