diff options
author | Aayush Soni <aayush.soni@ittiam.com> | 2021-08-16 19:50:02 +0530 |
---|---|---|
committer | Ray Essick <essick@google.com> | 2021-09-04 09:14:24 -0700 |
commit | 1188ab780620fb406c966ea4b5e64e5e12e70093 (patch) | |
tree | eb26e11d6ac1929316ca153203f40a791be561f7 /Tremolo | |
parent | 5ec88c0a6b1349b720af554a61df078630475ce0 (diff) | |
download | tremolo-1188ab780620fb406c966ea4b5e64e5e12e70093.tar.gz |
Tremolo: Ignore integer overflow in mdct function
Bug: 195061984
Test: POC in bug descriptions
Change-Id: Ic9e961c30531040dbb9ff2a70a68409f895a8286
Diffstat (limited to 'Tremolo')
-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; |