diff --git a/scripts/basop_create_ignorelist_for_ubsan.py b/scripts/basop_create_ignorelist_for_ubsan.py index d34efff36347955a2f2e2c9a453eea7427cd746d..6410661a5d2c3545d7bb55863776feffa5d46ca0 100644 --- a/scripts/basop_create_ignorelist_for_ubsan.py +++ b/scripts/basop_create_ignorelist_for_ubsan.py @@ -9,6 +9,12 @@ basop_files = here.glob("lib_*/basop*.[ch]") ignorefiles = sorted(set(non_ivas_files) - set(basop_files)) +# add files here that should not be ignored +# NOTE: this is meant to be used in BASOP main where everything has the _fx suffix in the filenames +remove_files = ["lib_dec/jbm_pcmdsp_apa_fx.c"] +for file in remove_files: + ignorefiles.remove(pathlib.Path(file)) + ignorefunctions = ["L_add_o", "L_add_co", "L_sub_o", "shl_o", "L_deposit_h"] with open("ubsan_ignorelist.txt", "w") as f: