[PATCH] D54469: Introduce new `disable_init` ASan option that is only supported on platforms where `SANITIZER_SUPPORTS_DISABLED_INIT` is true. Currently this is only supported on Darwin.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 15:20:57 PST 2018
delcypher added a comment.
In https://reviews.llvm.org/D54469#1296835, @krytarowski wrote:
> There is also `start_deactivated` in ASan.
That's a different feature. That allows ASan to be partially initialized and then the rest of the initialization is delayed until later. I believe this exists for Android.
> It would help to show the crash example/log without this patch, in order to get more of the context.
The test case shows how to trigger the crash today (see `not --crash ...` line). The context here is we are looking for a way to make it possible to `dlopen()` the ASan library from a non-asanified process so that specific functions inside it can be called. Today this isn't possible.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D54469
More information about the llvm-commits
mailing list