swiftlang/swift

[SR-11884] Link-In ubsan_standalone If libFuzzer is used in Isolation

Open

#54.300 aperta il 2 dic 2019

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Swift (10.719 fork)batch import
compilergood first issueimprovementlegacy driver

Metriche repository

Star
 (69.989 star)
Metriche merge PR
 (Merge medio 8g 17h) (510 PR mergiate in 30 g)

Descrizione

Previous ID SR-11884
Radar rdar://problem/57561703
Original Reporter @CodaFi
Type Improvement
Votes 0
Component/s Compiler
Labels Improvement, Driver, StarterBug
Assignee None
Priority Medium

md5: dbc17fedacd6b7aadfdf4e5529d7bd3d

Issue Description:

libFuzzer can be used apart from the other sanitizers, but it still relies on compiler RT primitives to get its job done. We should detect if the user is just linking libFuzzer standalone and automatically add ubsan_standalone to the link line.

Guida contributor