On Fri Oct 24 21:02:20 2025 +0000, Bernhard Übelacker wrote:
Hello, thanks for the info. I carried these patches of yours in an older version already in my tree, but ASan init needed also ".CRT$XIB", [see here](https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_win...), so I *changed* the XCA to XIA in my old branches. I rebased now to your latest versions and [*added* XIA](https://gitlab.winehq.org/bernhardu/wine/-/commit/893fcc8abf36a4b5b128154fb1...), and you are right, now the OOB for globals works, added the test and [partial results here](https://gitlab.winehq.org/bernhardu/wine/-/commit/5fd8e95ad4dab71a93d5f7c3fd...). Grepping over the llvm code shows these uses, but I don't know how they fit into the picture:
.CRT$XCAB .CRT$XCU .CRT$XIB .CRT$XID .CRT$XLAB .CRT$XLY .CRT$XTW .CRT$XTX .CRT$XTY
thanks, i'll look into how XI? is used and add it as well.
XL? is used for thread locals IIUC so we can leave that aside for now since wine don't use those.
XT? is for destructors.