Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Silence a legitimate sanitizer warning that's enabled by default in Android NDK 29#1692

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
matthargett wants to merge1 commit intonodejs:main
base:main
Choose a base branch
Loading
fromrebeckerspecialties:sanitizer-fix

Conversation

@matthargett
Copy link

Silence a legitimate vfptr sanitizer warning that is on by default in Android NDK 29's clang. Stripping RTTI from a vfptr is usually a no-no for debugging and field-supportability reasons, but it's intrinsic to how ObjectWrap works right now.

This was found whilst porting BabylonNative (which implements NAPI for add-ons) to Android XR, and was integrated (and tested) there as a local patch:
https://github.com/BabylonJS/JsRuntimeHost/pull/118/files#diff-a9d53b78150c809d9bf63a90260b4f823918bc6e6d9c3e02eb68d855bf9deda1R4499

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is75.00000% with1 line in your changes missing coverage. Please review.
✅ Project coverage is 63.50%. Comparing base (60d439e) to head (9affd1c).
⚠️ Report is 1 commits behind head on main.

Files with missing linesPatch %Lines
napi-inl.h75.00%0 Missing and 1 partial⚠️
Additional details and impacted files
@@            Coverage Diff             @@##             main    #1692      +/-   ##==========================================+ Coverage   63.48%   63.50%   +0.01%==========================================  Files           3        3                Lines        2046     2047       +1       Branches      728      728              ==========================================+ Hits         1299     1300       +1  Misses        162      162                Partials      585      585

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

Status: Need Triage

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@matthargett@codecov-commenter

[8]ページ先頭

©2009-2025 Movatter.jp