-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 use-after-return checking in ASAN #89204
base: main
Are you sure you want to change the base?
Conversation
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
We're trying to start using the official ASAN headers in dotnet/runtime#89204 and we're hitting issues about where to include them from. This PR updates them to be placed next to clang like they are in a standard clang installation and not in the rootfs like we were doing
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
…pointer adjustment, not before.
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
… where we need to figure out a good solution.
…umented helper methods.
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-sanitized |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -141,6 +141,20 @@ elseif (CLR_CMAKE_HOST_UNIX) | |||
endif(MSVC) | |||
|
|||
if (CLR_CMAKE_ENABLE_SANITIZERS) | |||
enable_language(C) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary? IOW, are there cases where C not enabled and control reaches this line?
# Conflicts: # eng/native/configurecompiler.cmake # src/coreclr/pal/src/include/pal/palinternal.h
Fixes #89133