[Mono]How to Enable AddressSanitizer for Mono on Windows #115143
-
DescriptionI'm trying to enable AddressSanitizer (ASan) for the Mono runtime on Windows platform to help detect memory-related issues. I'm specifically working with .NET 9 and couldn't find clear documentation on how to properly configure and use ASan with Mono in this environment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's not a user task to configure ASAN support. It has to be supported directly in the code base, and adjust code for workarounds in certain places. See the changes in .cpp and .asm in #74623 and #100866. It hasn't been done for Mono (#89132). Mono on desktop is not a recommended environment. Mobile and browser workloads are also moving from Mono to CoreCLR. |
Beta Was this translation helpful? Give feedback.
It's not a user task to configure ASAN support. It has to be supported directly in the code base, and adjust code for workarounds in certain places. See the changes in .cpp and .asm in #74623 and #100866. It hasn't been done for Mono (#89132).
Mono on desktop is not a recommended environment. Mobile and browser workloads are also moving from Mono to CoreCLR.