mirror of
https://github.com/darlinghq/darlingserver.git
synced 2024-11-23 12:29:41 +00:00
Darling's userspace kernel server (much like Wine's wineserver)
8c2fc2e364
If we don't tell ASAN about what we're doing with microthreads, it gets majorly confused about what's going on and generates lots of false positives. This is mainly because it poisons the stack, which we re-use when we start a microthread from a new point (e.g. from a continuation or a new call). The solution is simple: just tell ASAN that that memory for the stack is OK when we do this. Informing ASAN about our microthreads (which it calls "fibers") is just a neat bonus to have it recognize our microthread stacks as actual stacks and not just random memory. |
||
---|---|---|
duct-tape | ||
include/darlingserver | ||
internal-include/darlingserver | ||
scripts | ||
src | ||
.gitignore | ||
CMakeLists.txt |