rust-fuzz / afl.rs

🐇 Fuzzing Rust code with American Fuzzy Lop

Home Page:https://rust-fuzz.github.io/book/afl.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does it support qemu-mode to do black-box fuzzing?

nicylisa opened this issue · comments

i have a binary which does not support std, so i cannot do instrumentations with afl. but it seems no support for qemu-mode too. any other way can test this kind of program?

Does that mean you do not have the binary's source code?

If so, then I don' think afl.rs will be of much use. In a nutshell, afl.rs just sets the appropriate compiler flags so that the resulting binary can be fuzzed with AFL. But you still need the source code to compile.

Sorry if I have misunderstood.

In such a case you just compile it normally and use AFL++ qemu_mode or write a libafl qemu harness. but maybe it is not a user mode program? then libafl system qemu would be the right choice