Skip to content

Black box fuzzing with TSAN #224

Open
@zhenyudg

Description

@zhenyudg

Requested Behavior

Support for black box fuzzing with TSAN.

An impediment to fuzzing with TSAN is that coverage instrumentation for coverage-guided fuzzing is not thread safe (see google/oss-fuzz#5272 (comment)). We can circumvent the problem of racy coverage instrumentation by abandoning coverage instrumentation altogether.

I was able to set up black box fuzzing with TSAN and honggfuzz. Unfortunately, since I use toolchain features rather than rules_fuzzing's configuration transitions to instrument my fuzz tests, I can't trivially upstream my code change directly here. But it might be worth implementing support for tsan-* configurations.

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