Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What am I doing wrong? #5

Open
smoelius opened this issue Feb 3, 2023 · 0 comments
Open

What am I doing wrong? #5

smoelius opened this issue Feb 3, 2023 · 0 comments

Comments

@smoelius
Copy link

smoelius commented Feb 3, 2023

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:

pub fn target(n: usize) {
    let vec = Vec::<u8>::with_capacity(n);
    println!("{:p}", &vec);
}

You can see the steps I performed and the resulting repo here.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant