godot icon indicating copy to clipboard operation
godot copied to clipboard

Windows: Add sanitizers for llvm-mingw, increase stack for ASan

Open alvinhochun opened this issue 1 year ago • 1 comments

ASan and UBSan are supported by llvm-mingw. They can be enabled by passing use_asan=yes use_ubsan=yes to scons.

alvinhochun avatar Jul 27 '24 20:07 alvinhochun

Backtraces do work for i686, I've used it before. The readme is a bit outdated on this.

The sanitizers are indeed not yet working on arm32/aarch64 according to the maintainer (UBSan might work but it's not enabled for aarch64 in the build) so I suppose I can add a check for it. If they ever gets fixed we can remove the check in the future.

alvinhochun avatar Jul 28 '24 09:07 alvinhochun

Thanks!

akien-mga avatar Aug 27 '24 22:08 akien-mga

Due to this PR, the build command no longer works. Is something wrong with sanitization?

  • Issue: https://github.com/godotengine/godot/issues/96336

TokageItLab avatar Aug 30 '24 15:08 TokageItLab