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

Commit 2e17dc2b authored by Dan Austin's avatar Dan Austin Committed by Android Git Automerger
Browse files

am ba1869ef: Merge "Setting ACELP_2t64_fx to not be integer sanitized due to...

am ba1869ef: Merge "Setting ACELP_2t64_fx to not be integer sanitized due to multiple benign integer overflow conditions."

* commit 'ba1869ef':
  Setting ACELP_2t64_fx to not be integer sanitized due to multiple benign integer overflow conditions.
parents f339beaf ba1869ef
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         */