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

Enable use-after-return checking in ASAN #89204

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

jkoritzinsky
Copy link
Member

Fixes #89133

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

jkoritzinsky added a commit to jkoritzinsky/dotnet-buildtools-prereqs-docker that referenced this pull request Jul 27, 2023
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
@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-sanitized

Copy link

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)
Copy link
Member

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?

@jkoritzinsky jkoritzinsky removed the request for review from davidwrighton September 3, 2024 23:27
# Conflicts:
#	eng/native/configurecompiler.cmake
#	src/coreclr/pal/src/include/pal/palinternal.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Use-After-Return detection in AddressSanitizer
2 participants