From: Andrey Kazmin Date: Thu, 3 Jun 2021 10:36:43 +0000 (+0300) Subject: Blacklist ffi_call_int for ASan and HWASan build X-Git-Tag: submit/tizen_base/20210910.123310^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b17a624b112cb4d32bac58bee09d733aacac909b;p=platform%2Fupstream%2Flibffi.git Blacklist ffi_call_int for ASan and HWASan build See: https://github.com/libffi/libffi/issues/255 Change-Id: I8bef01ea5a47919412e131b18c08ccb29249d485 Signed-off-by: Andrey Kazmin --- diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c index 1ebf43c..ad2fa65 100644 --- a/src/aarch64/ffi.c +++ b/src/aarch64/ffi.c @@ -570,6 +570,9 @@ extern void ffi_call_SYSV (struct call_context *context, void *frame, /* Call a function with the provided arguments and capture the return value. */ static void +#if defined(__SANITIZE_ADDRESS__) || defined(__SANITIZE_HWADDRESS__) +__attribute__((__noinline__,__no_sanitize_address__,__no_sanitize_hwaddress__)) +#endif ffi_call_int (ffi_cif *cif, void (*fn)(void), void *orig_rvalue, void **avalue, void *closure) {