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

tools/create-openbsd: substitute ubsan_minimal for fuzzer_test #4594

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

blackgnezdo
Copy link
Collaborator

Reliance on -fsanitize-coverage=trace-pc makes clang look for full ubsan libraries. The only one currently available on OpenBSD is ubsan_minimal. We temporarily use it in place of ubsan_standalone. The ubsan_standalone_cxx library seems currently not necessary and so an empty file works in its stead.

This is a temporary measure until I figure out the best course of action for making fsanitize-coverage=trace-pc work out of the box on OpenBSD.

This should help with one of the issues we just discovered having replaced the base OS image we use to run syzkaller on OpenBSD.

Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.8%. Comparing base (7a239ce) to head (751feb0).

Additional details and impacted files

see 3 files with indirect coverage changes

Reliance on -fsanitize-coverage=trace-pc makes clang look for full
ubsan libraries. The only one currently available on OpenBSD is
ubsan_minimal. We temporarily use it in place of ubsan_standalone.
The ubsan_standalone_cxx library seems currently not necessary
and so an empty file works in its stead.

This is a temporary measure until I figure out the best course of
action for making fsanitize-coverage=trace-pc work out of the box
on OpenBSD.

This should help with one of the issues we just discovered having
replaced the base OS image we use to run syzkaller on OpenBSD.
Copy link
Collaborator

@a-nogikh a-nogikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've run it locally and it does solve the problem.

@a-nogikh a-nogikh added this pull request to the merge queue Mar 25, 2024
Merged via the queue into master with commit cc1f7e7 Mar 25, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants