Opened 12 months ago

Last modified 11 months ago

#27419 new enhancement

When building with clang 6, use a more reasonable libFuzzer API

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

Description

Starting with Clang 6, we can build and link with libFuzzer just by adding '-fsanitize=fuzzer-no-link' and '-fsanitize=fuzzer' instead of our current rigmarole with -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-div.

Child Tickets

Change History (2)

comment:1 Changed 12 months ago by nickm

This becomes even simpler if we require clang 6 for using libfuzzer.

comment:2 Changed 11 months ago by nickm

Milestone: Tor: 0.3.5.x-finalTor: unspecified
Note: See TracTickets for help on using tickets.