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

chore: Allow Rust ASAN flags to propagate into v8 build #1449

Merged
merged 23 commits into from
Apr 12, 2024

Conversation

mmastrac
Copy link
Contributor

@mmastrac mmastrac commented Apr 10, 2024

Runs ASAN on every build as part of the Mac runs. I wasn't able to get this working for Linux :/

  • Requires fixing +nightly warnings.
  • One ASAN issue found: fast functions w/an overload were accessing the stack after a scope was destroyed.

@mmastrac mmastrac changed the title v8 ASAN [WIP] chore: Allow Rust ASAN flags to propagate into v8 build Apr 10, 2024
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

Discussed offline, we're gonna try this approach and evaluate after some time.

@@ -8690,6 +8690,7 @@ fn icu_date() {
}
}

#[ignore]
Copy link
Member

Choose a reason for hiding this comment

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

Why ignoring this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, this test is actually causing UB in the C code. It reads from undefined bytes. I don't have a great way to detect ASAN right now.

@mmastrac mmastrac merged commit 2ce9b4c into denoland:main Apr 12, 2024
11 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