[tor-bugs] #21475 [Core Tor/Tor]: Fuzzing on macOS requires afl-clang-fast

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 16 22:20:45 UTC 2017


#21475: Fuzzing on macOS requires afl-clang-fast
--------------------------+----------------------------------
 Reporter:  teor          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  doc fuzz      |  Actual Points:
Parent ID:                |         Points:  0.1
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by teor):

 Replying to [comment:1 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21475#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list