llvm-project
675e9acb - Clean up asan_malloc_win.cpp and add exports

Commit
1 year ago
Clean up asan_malloc_win.cpp and add exports ALLOCATION_FUNCTION_ATTRIBUTE wasn't used elsewhere, and was just one attribute, so abstracting it through a macro wasn't doing much good now that it's not conditional on runtime type. We're always in the dynamic runtime now so eliminate the preprocessor conditional. The new exported functions are the interface used by the intercepted malloc/free family in the instrumented binary to call the asan versions inside the dll runtime. Co-authored-by: Amy Wishnousky <amyw@microsoft.com>
Author
Charlie Barto
Committer
Charlie Barto
Parents
Loading