The same dynamic-stack-buffer-overflow issues are reported from
armv7l asan runtime. So, port the commit
bdea00c1c77d to arm also.
Change-Id: I3334c64961c69a69f19bc0e527eafcc8efe0293d
Ref: https://github.com/libffi/libffi/issues/255
Ref: https://git.tizen.org/cgit/platform/upstream/libffi/commit/?id=
bdea00c1c77d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
void (*fn) (void), unsigned vfp_used) FFI_HIDDEN;
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 *rvalue,
void **avalue, void *closure)
{