Skip to content

Filtering in fuzz_target #3

@extf33

Description

@extf33

Why did you filter out 0xc, 0xd, 0xb and derive in fuzz_target?

fuzz_target!(|data: &[u8]| {
    if data.contains(&0x0c) || data.contains(&0x0d) || data.contains(&0x0b) /*|| data.contains (&b'&')*/ {
        return;
    }
    if let Ok(t) = std::str::from_utf8(data) {
        if let Some(_) = t.find("derive") {
            return;
        }
        main_fuzz(data.into());
    }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions