On Wed May 14 17:34:22 2025 +0000, Paul Gofman wrote:
Looks like ASAN is integrated into MSVC on Windows: https://learn.microsoft.com/en-us/cpp/sanitizers/asan?view=msvc-170. If maybe it is possible to something to support it like on Windows that would probably be correct way, otherwise I am not sure how it worth it to bring in all that infrastructure into Wine to only be able to build Wine PE side code with ASAN. Improvements to heap debugging (maybe Wine specific with special debug logging flags) seems like a more feasible way to go.
IIUC ASAN support on MSVC only covers application DLL/EXEs, it doesn't cover system DLLs like kernel32 and ntdll. The purpose of this MR is to find bugs in Wine DLLs themselves, where the application might not have been compiled with -fsanitize=address.