Opened 3 years ago

Closed 2 years ago

#21475 closed defect (fixed)

Fuzzing on macOS requires afl-clang-fast

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: doc fuzz
Cc: Actual Points:
Parent ID: Points: 0.1
Reviewer: Sponsor:

Description

Fuzzing.md mistakenly says it needs 'afl-clang'.

Child Tickets

Change History (3)

comment:1 Changed 3 years ago by nickm

Milestone: Tor: 0.3.0.x-finalTor: unspecified

I'll take a patch for this if anybody would like to write one? On my fedora box, though, there is an "afl-clang".

comment:2 in reply to:  1 Changed 3 years ago by teor

Replying to nickm:

I'll take a patch for this if anybody would like to write one? On my fedora box, though, there is an "afl-clang".

There is an afl-clang on macOS, but it doesn't work on macOS with the fuzzing code that we have: the forkserver says that the process exited too early. I'm not sure if we can fix this by changing the code, because afl-clang is meant to pause the first time any instrumented code is called, and it's not doing that on my macOS for some reason.

afl-clang-fast works fine.

comment:3 Changed 2 years ago by nickm

Resolution: fixed
Status: newclosed

Looks like we fixed this in f009b13029b57f9 when I added your instructions.

Note: See TracTickets for help on using tickets.