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

Enable UndefinedBehaviorSanitizer and rename "asan" build to "sanitized" #2425

Closed
wants to merge 6 commits into from

Conversation

seven1m
Copy link
Member

@seven1m seven1m commented Dec 26, 2024

No description provided.

Allocating a Variable Length Array with zero elements is undefined
behavior.
UndefinedBehaviorSanitizer doesn't like this left shift where the lhs
can be negative. I don't think we care here, as long as the result is a
unique value and matches what CRuby does.
This now enables the UndefinedBehaviorSanitizer as well as the
AddressSanitizer.
@seven1m seven1m marked this pull request as draft December 26, 2024 19:46
@seven1m
Copy link
Member Author

seven1m commented Dec 27, 2024

Hmmm, this is taking way too long. I may just have to run this locally from time to time.

@seven1m seven1m closed this Dec 27, 2024
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.

1 participant