Am 28.04.25 um 11:55 schrieb Yuxuan Shui:
Hi,
I heard you were talking about ASan :)
Just want to say that I happen to be working on ASan as well. Bernhard did amazing work getting llvm's ASan runtime to work with Wine, however I am doing a different approach. I want to be able to intrument the entirity of Wine, not just PE. This has some challenges, created by e.g. the PE/Unix split, WoW64, etc. I don't think any ASan runtimes can handle this yet, so I am working on a special runtime for Wine. This is a lot of work, but on the flip side, this should make running Wine under ASan much smoother, and rid us of the dependency on compiler-rt.
Ask me anything if this sounds interesting. Hopefully this idea doesn't sound completely crazy to you ^^;
Best, Yuxuan
Hello Yuxuan, this sounds interesting :-)
I wondered if it would be possible to use PE and unix side with ASan enabled, and guessed this might need some changes in synchronising both to access a single Shadow memory, but never tried something into this direction.
Kind regards, Bernhard