Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CodaFi opened this issue Dec 2, 2019 · 2 comments
Open

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

CodaFi opened this issue Dec 2, 2019 · 2 comments
Labels
compiler The Swift compiler itself good first issue Good for newcomers improvement legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project

Comments

@CodaFi
Copy link
Contributor

CodaFi commented Dec 2, 2019

Previous ID SR-11884
Radar rdar://problem/57561703
Original Reporter @CodaFi
Type Improvement
Additional Detail from JIRA
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.

@CodaFi
Copy link
Contributor Author

CodaFi commented Dec 2, 2019

@swift-ci create

@CodaFi
Copy link
Contributor Author

CodaFi commented Dec 2, 2019

George has a first go at this here #15066 The general approach is correct, if stale.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler itself good first issue Good for newcomers improvement legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Projects
None yet
Development

No branches or pull requests

1 participant