Blacklist ffi_call_int for ASan and HWASan build 35/263835/1 accepted/tizen_6.5_base accepted/tizen_6.5_base_tool tizen_6.5_base tizen_base_3.3 accepted/tizen/6.5/base/20230714.002531 accepted/tizen/6.5/base/tool/20211027.120636 accepted/tizen/base/tool/20210913.002651 submit/tizen_6.5_base/20211026.180901 submit/tizen_6.5_base/20211027.183101 submit/tizen_6.5_base/20211027.200801 submit/tizen_base/20210910.123310 tizen_6.5.m2_release
authorAndrey Kazmin <a.kazmin@partner.samsung.com>
Thu, 3 Jun 2021 10:36:43 +0000 (13:36 +0300)
committerAndrey Kazmin <a.kazmin@partner.samsung.com>
Fri, 10 Sep 2021 11:38:24 +0000 (14:38 +0300)
See:
https://github.com/libffi/libffi/issues/255

Change-Id: I8bef01ea5a47919412e131b18c08ccb29249d485
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
src/aarch64/ffi.c

index 1ebf43c..ad2fa65 100644 (file)
@@ -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)
 {