AFLplusplus / AFLplusplus/cargo-libafl

What am I doing wrong?

未关闭
#5 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
60
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。