Skip to content

Conversation

@CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Oct 29, 2025

  • up Android to ndk28c
  • add sanitizer builds to macOS and Linux
  • up AndroidExtensions commit id
  • fix uint16_t / char16_ casting
  • up macOS13 (soon deprecated) to macOS14
  • use clang for sanitizer on Linux ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80578 )
  • disable vptr check for ObjectWrap<T>::ObjectWrap (false positive)

@CedricGuillemet CedricGuillemet marked this pull request as ready for review November 4, 2025 10:11
@CedricGuillemet CedricGuillemet changed the title Address sanitizer Address sanitizer/ndk28c Nov 4, 2025
Copy link

@matthargett matthargett left a comment

Choose a reason for hiding this comment

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

Some minor questions, thanks for peeling this out of the other PR!

Copy link

@matthargett matthargett left a comment

Choose a reason for hiding this comment

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

one minor question, otherwise looks beautiful! (I'd approve, but I don't have that permission on this repo)

# Check for Clang since vptr and fdsan are Clang-specific
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
list(APPEND SANITIZERS "vptr")
# FDSan only works on Android builds with Clang

Choose a reason for hiding this comment

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

are we sure it doesn't work with linux (and macOS) as well? is it an issue with clang version in default Ubuntu 24.x and Xcode pre-26? if that's the actual case, can this check be specific about the clang version instead of the OS/platform?

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.

3 participants