Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cdaed88 authored by Dan Austin's avatar Dan Austin
Browse files

Setting ACELP_2t64_fx to not be integer sanitized due to multiple benign

integer overflow conditions.

Bug: 23752600
Change-Id: I0c2ece5de6ca66086643d7dd45fb3fe44d57b0fc
parent 2e1683c4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,10 @@
* Each pulse can have 32 possible positions.                             *
**************************************************************************/

// There are many integer overflows in this function, as none of them appear to
// lead to memory accesses, and performing the appropriate checks will lead
// to considerably larger code, mark this as ignore.
__attribute__((no_sanitize("integer")))
void ACELP_2t64_fx(
		Word16 dn[],                          /* (i) <12b : correlation between target x[] and H[]      */
		Word16 cn[],                          /* (i) <12b : residual after long term prediction         */