Skip to content

linking with cc failed: exit code: 1 #23

Open
@saarshah

Description

@saarshah

I want to fuzz my project (developed under rust), but when I run this command cargo hfuzz run myProject. it show following error.
error: linking with cc failed: exit code: 1
note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/saarshah/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
.
.
.
.
undefined reference to '__sanitizer_cov_trace_div4'
collect2: error: ld returned 1 exit status
Any help to how to fuzz my project...

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