1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2025-10-28 04:34:52 +03:00

Update README.md note about UBSan for GCC >= 13

The new option name is a lot nicer, so encourage its use! I don't know
if the old option will ever be removed.
This commit is contained in:
Christopher Wellons
2023-05-02 18:22:55 -04:00
parent 3824d4d5bb
commit c0bc4707ab

View File

@@ -176,8 +176,8 @@ quite support cross-compilation. A decent alternative would be
Neither Address Sanitizer (ASan) nor Thread Sanitizer (TSan) [has been
ported to Mingw-w64][san] ([also][san2]), but Undefined Behavior Sanitizer
(UBSan) works perfectly under GDB. With both `-fsanitize=undefined` and
`-fsanitize-undefined-trap-on-error`, GDB will [break precisely][break] on
undefined behavior, and it does not require linking with libsanitizer.
`-fsanitize-trap`, GDB will [break precisely][break] on undefined
behavior, and it does not require linking with libsanitizer.
The kit includes a unique [`debugbreak` command][debugbreak]. It causes
all debugee processes to break in the debugger, like using Windows' F12