Commit 99214837 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Carles Cufi
Browse files

boards: nrf*bsim: Disable ubsan in bst_install



UBSAN reports a bogus error in this function:
"load of address x with insufficient space for an
object of type '<unknown> *'"
as it seems unable to determine the size of
test_installers.
Let's disable this check in this function.

Signed-off-by: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 0263e020
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ static struct bst_test_instance *bst_test_find(struct bst_test_list *tests,
	return NULL;
}

void bst_install_tests(void)
__noubsan void bst_install_tests(void)
{
	int idx = 0;