AFLplusplus / AFLplusplus/cargo-libafl

What am I doing wrong?

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
60
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

My understanding is that `cargo-libafl` is supposed to behave like `cargo-fuzz`, but I am having trouble getting it to do so.

I am trying to fuzz this function using `carg-libafl`:
```rust
pub fn target(n: usize) {
let vec = Vec::::with_capacity(n);
println!("{:p}", &vec);
}
```
You can see the steps I performed and the resulting repo [here](https://github.com/smoelius/a).

When I run `cargo +nightly libafl run fuzz_target_1`, I see the status screen, but it appears to hang (executions never gets above 1). Also, moving the mouse around causes junk characters to be written to the terminal.

When I perform analogous steps using `cargo-fuzz`, it finds a crash right away.

Any idea what I might be doing wrong?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.