diff options
author | Aayush Soni <aayush.soni@ittiam.com> | 2021-08-16 19:50:02 +0530 |
---|---|---|
committer | Aayush Soni <aayush.soni@ittiam.com> | 2021-08-24 19:57:08 +0530 |
commit | 1fd8a3f4298291fc02cd0fbee101e8eb2195d2a3 (patch) | |
tree | befc4888c9191f8c6cef8d02db6694ba4303b473 | |
parent | 45f6f0c5773e5e1d213d31f3573715a11ff27c2c (diff) | |
download | tremolo-1fd8a3f4298291fc02cd0fbee101e8eb2195d2a3.tar.gz |
Tremolo: Ignore integer overflow in mdct function
Bug: 195061984
Test: POC in bug descriptions
Change-Id: Ic9e961c30531040dbb9ff2a70a68409f895a8286
-rw-r--r-- | Tremolo/mdct.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tremolo/mdct.c b/Tremolo/mdct.c index 1e4f44c..4ea2cf1 100644 --- a/Tremolo/mdct.c +++ b/Tremolo/mdct.c @@ -196,6 +196,8 @@ STIN void mdct_butterfly_32(DATA_TYPE *x){ mdct_butterfly_16(x+16); } +/* Ignoring overflows as the butterfly dct function expects and uses the overflows */ +__attribute__((no_sanitize("signed-integer-overflow"))) /* N/stage point generic N stage butterfly (in place, 2 register) */ STIN void mdct_butterfly_generic(DATA_TYPE *x,int points,int step){ LOOKUP_T *T = sincos_lookup0; |