Handle optimization test in rpminspect's annocheck inspection

Ignore check_stack_overrun function in optimization test in rpminspect
check.
This function is purposely not being optimized, to preserve a
stack variable creation.

--

Resolves: #2012938
This commit is contained in:
Zuzana Miklankova 2022-06-14 15:07:17 +02:00
parent 227dbf53a5
commit 5c5c2f53d1
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0
1 changed files with 8 additions and 0 deletions

View File

@ -48,3 +48,11 @@ badfuncs:
- rresvport
ignore:
- /usr/bin/resolveip
---
# ignore check_stack_overrun function in optimization check, based on BZ2012938
# this function is purposely not being optimized, to preserve a stack variable
# creation
annocheck:
extra_opts:
- hardened: --skip-optimization=_Z19check_stack_overrunP3THDlPh