Darling's userspace kernel server (much like Wine's wineserver)
Go to file
Ariel Abreu 8c2fc2e364
Inform ASAN about our microthreading business
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.
2022-03-03 00:04:49 -05:00
duct-tape build: Add variables to turn ASAN and UBSAN on and off 2022-03-02 23:37:07 -05:00
include/darlingserver Implement remote mmap/munmap + various fixes 2022-02-17 19:12:44 -05:00
internal-include/darlingserver Prevent threads from being doubly impersonated 2022-03-02 23:56:00 -05:00
scripts calls: De-duplicate generated internal code a bit 2022-03-02 23:46:32 -05:00
src Inform ASAN about our microthreading business 2022-03-03 00:04:49 -05:00
.gitignore Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
CMakeLists.txt build: Add variables to turn ASAN and UBSAN on and off 2022-03-02 23:37:07 -05:00