the.bay.news

[Pitch] @noSanitize attribute for functions

Swift Forums
[Pitch] @noSanitize attribute for functions
In embedded environments, it can be useful to disable sanitizer instrumentation on individual functions. For example, ASAN may generate false positives or crash when accessing MMIO regions. In other cases, it may be desirable to disable instrumentation on particularly hot functions to improve the performance of sanitized builds. I'd like to add a new attribute @noSanitize(<kind>) which can be applied to functions to disable instrumentation for a single sanitizer, similar to clang's __attribute_...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.