AFLplusplus / AFLplusplus/cargo-libafl

What am I doing wrong?

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
60
Forks
10
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.