Skip to content

Provide a way to get marker strings in to a binary without the fuzz! macro #501

Open
@smoelius

Description

@smoelius

From #499 (comment):

... a target binary must contain certain strings for AFL++ to handle it properly:

afl.rs/afl/src/lib.rs

Lines 49 to 52 in 462eff5

// this marker strings needs to be in the produced executable for
// afl-fuzz to detect `persistent mode` and `defered mode`
static PERSIST_MARKER: &str = "##SIG_AFL_PERSISTENT##\0";
static DEFERED_MARKER: &str = "##SIG_AFL_DEFER_FORKSRV##\0";

...

It used to be one could simply add the following to get those strings into their binary:

#[allow(unused_imports)]
use afl::fuzz;

... afl.rs should provide an easy way to get those strings into a binary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions