Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -558,6 +558,8 @@ codec-asan: codec-usan: extends: - .sanitizer-selftest-on-mr tags: - ivas-linux-fast before_script: - CLANG_NUM=3 - SELFTEST_SANITY_TIMEOUT=$TESTCASE_TIMEOUT_STV_SANITIZERS Loading .gitlab/issue_templates/asan_ltv_error.md +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ Link to test pipeline: XXX Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> <!--- copy as needed: -J dly_profile.dat -T head_rot_traj.csv -exof exof_traj.csv --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG2 -m MODE -p /path/to/my/local/ci_linux_ltv_local.json ``` Loading .gitlab/issue_templates/msan_ltv_error.md +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ in the `Makefile` at lines 71 and 72. Note that this may increase runtime heavil Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> <!--- copy as needed: -J dly_profile.dat -T head_rot_traj.csv -exof exof_traj.csv --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m MODE -p /path/to/my/local/ci_linux_ltv_local.json Loading .gitlab/issue_templates/usan_ltv_error.md +4 −2 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ Link to test pipeline: XXX Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> <!--- copy as needed: -J dly_profile.dat -T head_rot_traj.csv -exof exof_traj.csv --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG3 -m MODE -p /path/to/my/local/ci_linux_ltv_local.json --usan_supp_file scripts/ubsan.supp ``` Loading @@ -27,9 +29,9 @@ or directly: ``` make clean make -j CLANG=3 ./IVAS_cod ... UBSAN_OPTIONS=suppressions=scripts/ubsan.supp,report_error_type=1,log_path=usan_log_catchall ./IVAS_cod ... networkSimulator_g192 dly_profile.dat bit bit_err trace_dump 1 ./IVAS_dec ... UBSAN_OPTIONS=suppressions=scripts/ubsan.supp,report_error_type=1,log_path=usan_log_catchall ./IVAS_dec ... ``` <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Loading lib_com/nelp.c +4 −0 Original line number Diff line number Diff line Loading @@ -121,7 +121,11 @@ void generate_nelp_excitation( for ( j = 0; j < len; j++ ) { #ifdef FIX_970_USAN_IN_NELP_SEED tmp[j] = ( ( *seed ) = (int16_t) ( 521 * ( *seed ) + 259 ) ) / PCM16_TO_FLT_FAC; #else tmp[j] = ( ( *seed ) = 521 * ( *seed ) + 259 ) / PCM16_TO_FLT_FAC; #endif tmp1[j] = ABSVAL( tmp[j] ); I[j] = j; } Loading Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -558,6 +558,8 @@ codec-asan: codec-usan: extends: - .sanitizer-selftest-on-mr tags: - ivas-linux-fast before_script: - CLANG_NUM=3 - SELFTEST_SANITY_TIMEOUT=$TESTCASE_TIMEOUT_STV_SANITIZERS Loading
.gitlab/issue_templates/asan_ltv_error.md +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ Link to test pipeline: XXX Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> <!--- copy as needed: -J dly_profile.dat -T head_rot_traj.csv -exof exof_traj.csv --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG2 -m MODE -p /path/to/my/local/ci_linux_ltv_local.json ``` Loading
.gitlab/issue_templates/msan_ltv_error.md +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ in the `Makefile` at lines 71 and 72. Note that this may increase runtime heavil Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> <!--- copy as needed: -J dly_profile.dat -T head_rot_traj.csv -exof exof_traj.csv --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG1 -m MODE -p /path/to/my/local/ci_linux_ltv_local.json Loading
.gitlab/issue_templates/usan_ltv_error.md +4 −2 Original line number Diff line number Diff line Loading @@ -19,6 +19,8 @@ Link to test pipeline: XXX Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> <!--- copy as needed: -J dly_profile.dat -T head_rot_traj.csv -exof exof_traj.csv --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG3 -m MODE -p /path/to/my/local/ci_linux_ltv_local.json --usan_supp_file scripts/ubsan.supp ``` Loading @@ -27,9 +29,9 @@ or directly: ``` make clean make -j CLANG=3 ./IVAS_cod ... UBSAN_OPTIONS=suppressions=scripts/ubsan.supp,report_error_type=1,log_path=usan_log_catchall ./IVAS_cod ... networkSimulator_g192 dly_profile.dat bit bit_err trace_dump 1 ./IVAS_dec ... UBSAN_OPTIONS=suppressions=scripts/ubsan.supp,report_error_type=1,log_path=usan_log_catchall ./IVAS_dec ... ``` <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Loading
lib_com/nelp.c +4 −0 Original line number Diff line number Diff line Loading @@ -121,7 +121,11 @@ void generate_nelp_excitation( for ( j = 0; j < len; j++ ) { #ifdef FIX_970_USAN_IN_NELP_SEED tmp[j] = ( ( *seed ) = (int16_t) ( 521 * ( *seed ) + 259 ) ) / PCM16_TO_FLT_FAC; #else tmp[j] = ( ( *seed ) = 521 * ( *seed ) + 259 ) / PCM16_TO_FLT_FAC; #endif tmp1[j] = ABSVAL( tmp[j] ); I[j] = j; } Loading