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

Commit ba1869ef authored by Dan Austin's avatar Dan Austin Committed by Gerrit Code Review
Browse files

Merge "Setting ACELP_2t64_fx to not be integer sanitized due to multiple...

Merge "Setting ACELP_2t64_fx to not be integer sanitized due to multiple benign integer overflow conditions."
parents 2e1683c4 3cdaed88
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         */